Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can VFP change the default printer programmatically?
Message
 
 
To
28/09/1998 07:11:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00141357
Message ID:
00141439
Views:
20
Typically, it is not a good idea for applications to change the default printer - as specified by the Windows OS. If you need to redirect printing in your application - I suggest using the Set Printer command. This way, requirements in your VFP application do not affect other applications.

If you do need a global change - I would suggest using the Windows Scripting Host. A great article on how to use this new library can be found in MSDN Online. Go to http://msdn.microsoft.com/developer/ for details.


>How can VFP change the default printer programmatically?
>
>Thanks a lot.
Previous
Reply
Map
View

Click here to load this message in the networking platform