Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding name of active printer in VFP5.0
Message
De
30/08/1999 08:15:57
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00259088
Message ID:
00259096
Vues:
20
>Set("Printer",2) gives me the name of the installed standard printer in Windows. What I am looking for in VFP 5.0 is a way to find the name of the active printer. I want to show the user the name of the active printer in my standard 'print out'-dialog. In VB it can be done like this:
>
>Dim PrinterNAme as String
>PrinterName = Application.ActivePrinter
>
>Petter Andersen

Pls advs. What do u mean by active printer ???

Additionally u can look at these functions :-
Getprinter(), Aprinter(), prtinfo()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform