Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting name of currently selected printer
Message
From
05/08/1999 14:30:54
 
 
To
05/08/1999 09:24:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00250097
Message ID:
00250302
Views:
21
>i am using vfp 5, nu such thing as
>set('printer',3) gives error
>

Can't help you there - the best you can do AFAIK is to grab the name of the Default Windows printer using SET('PRINTER',2) when you start the application, save it somewhere, and then update the value whenever you change the default printer setting in your application, which is what I did prior to VFP6.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform