Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set window default printer ?
Message
From
03/06/2009 03:41:09
 
 
To
03/06/2009 03:26:36
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01403342
Message ID:
01403346
Views:
48
>Hi,
>
>My computer have three printer queues, I want to set the windows default printer in my application.
>I mean not using SET PRINTER TO command.
>I need set the default printer check sign in Start->Printer and Fax.
>
>Please advise.
>
>Derek Yim
wsh = CreateObject('WScript.Network')
=m.wsh.SetDefaultPrinter(m.PrinterNew)
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform