Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting name of currently selected printer
Message
De
05/08/1999 14:30:54
 
 
À
05/08/1999 09:24:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00250097
Message ID:
00250302
Vues:
22
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform