Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetDefaultPrinter
Message
 
 
To
21/05/2002 13:37:15
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00659495
Message ID:
00659497
Views:
20
>Hi!
>
>Is there a way to findout the current Default Printer using a Windows API Call or using the Windows Scripting Host. (Not through VFP) in Win98/NT/2000
>
>The Windows Scripting Host gives me a list of printers but does not tell me which Printer from that list is the Default Printer.
>
>Sarosh

You can get it using SET() function.
? SET("PRINTER", 2)  && Default Windows Printer
? SET("PRINTER", 3)  && Default VFP Printer
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform