Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do i get the name of the default printer
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00724411
Message ID:
00725221
Views:
29
Keep in mind that the "Windows" default printer may not be the same as the "VFP" default printer. When VFP is first started .. the VFP default is set to the Windows default. But commands, such as SYS(1037) or picking a printer from the File menu can change the VFP default to something different.


SET('PRINTER',2) is the Windows default
SET('PRINTER',3) is the VFP default

Cathy

>Hi
>How do I get the name of the default printer set in windows (aprinter only gives me the names of all printer no indidication of the currently selected one)
>
>I looked in sys(...) but could not see anything usefule ther either
>
>
>Thanks
>
>Peter
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Reply
Map
View

Click here to load this message in the networking platform