Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Get the Default Printer?
Message
 
 
To
23/01/2007 11:27:57
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01188173
Message ID:
01188176
Views:
15
This message has been marked as the solution to the initial question of the thread.
>I set the printer using the following command...
>SET PRINTER TO NAME GETPRINTER()
>
>...and after I would like to get the reverse.
>Is it possible to get the default printer name using a native VFP command or Windows API ?
* Windows
? SET("PRINTER",2)
* VFP
? SET("PRINTER",3)
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform