Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Winfax as the default printer
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00565116
Message ID:
00565295
Views:
17
>Sergey
>
>You might be interested to know that the following code will change the Windows default printer.
>
>oWSH = CREATEOBJECT("WSCRIPT.Network")
>? SET("PRINTER",2)
>oWSH.SetDefaultPrinter(GETPRINTER())
>? SET("PRINTER",2)
>
>Colin Northway

Yes I mentioned it in the Message #565178. I'm glad it worked for you. Unfortunatelly it wouldn't affect applcations already in the memory.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform