Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sys(1037) and prtinfo()
Message
De
23/11/1999 06:27:41
 
 
À
23/11/1999 06:19:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00294265
Message ID:
00294267
Vues:
29
>Hi,
>After displayng the sys(1037) Page setup dialog I would expect that PRTINFO() function will return the settings selected by the user in the Page Setup dialog, not the one's defined in Control Panel. However, this is not the case. How can I retrieve the settings made by the user in the Page Setup dialog (sys(1037))?

The easiest way would be to use the second (optional) parameter of PRTINFO() to specify the printer name that you want to access. Under VFP6, you could use the SET('PRINTER',3) to retrieve the name of the currently-selected default printer for VFP.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform