Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetDefaultPrinter
Message
De
21/05/2002 15:44:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00659495
Message ID:
00659561
Vues:
29
Hi!

I was looking at a non VFP solution. Preferablly using Windows Scripting Host but thanks anyway.

Sarosh

>>Hi!
>>
>>Is there a way to findout the current Default Printer using a Windows API Call or using the Windows Scripting Host. (Not through VFP) in Win98/NT/2000
>>
>>The Windows Scripting Host gives me a list of printers but does not tell me which Printer from that list is the Default Printer.
>>
>>Sarosh
>
>You can get it using SET() function.
? SET("PRINTER", 2)  && Default Windows Printer
>? SET("PRINTER", 3)  && Default VFP Printer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform