Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default Windows Printer
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00395364
Message ID:
00395402
Views:
15
I've just double-checked and printername is in format "\\server\printer".

>It's part of Windows Scripting Host. Example:
>
>
>oWNet=CreateObject("WScript.Network")
>oWNet.SetDefaultPrinter("printername")
>
>
>I've not tried it yet so don't know what you have to use as the printer name.
>
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform