Industrial Automation
Industrial Automation | Europe

myKnowledge

Main > Product Type > Software > Visualisation
Minimize Text   Default    Enlarge Text
 

Print
E-mail

How Do I Change The Default Printer From Within CX-Supervisor?


 

You can change the default printer using VBScript:

Add the following VBScript to your project when you want to change the printer:

Set WSHNetwork = CreateObject("WScript.Network")
WSHNetwork.SetDefaultPrinter "Canon iR2020 PCL5e"

In this case the Canon printer is the printer we want to change to....

This printer name can be copied from the rename box in the Printers and Faxes list within windows:

Note that this will change the Windows default printer so will affect all applications on this machine.

 




Comments (View All Comments / Add Comment)

Related Articles
No related articles found.
Created 2009-10-07
Modified 2009-10-07
Views 3733

 

You are not logged in.