Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Default Printer
Message
From
12/04/2002 12:45:32
 
 
To
12/04/2002 12:28:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00644392
Message ID:
00644404
Views:
14
Steven,

Using WSH:
oNet=CreateObject("WScript.Network")
oNet.SetDefaultPrinter("yourPrinterName")
>Is there a way to change the windows default printer from foxpro code. I know how to change the printer for foxpro but I am using OLSE automation to run another app and print. I need to control the printer.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform