Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DEFAULT PRINTER
Message
De
30/08/2000 18:09:10
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00411077
Message ID:
00411081
Vues:
11
>Does anybody know a function that return me the name of the default printer?
>I just had to read the win.ini file ultil find the line:
>device= in order to know the name of the default printer. But i want know if anybody have use a function obtain this.
>

The SET('PRINTER') function can return the Windows default and the current VFP default depending on the second argument specified to SET(). The supported arguments are version-specific, check your on-line docs.
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