Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Get the Default Printer?
Message
 
 
À
23/01/2007 11:27:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01188173
Message ID:
01188176
Vues:
16
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform