Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer List
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00153133
Message ID:
00153458
Vues:
17
>How can I get the printer information from win3.1 "With OUT getting it from the API call GetProfileString". This application will be on Win 3.1, Win 95 and Win NT. On Win3.1 and 95 I can get the printers from the win.ini, but it would be nice if there was another dll that would return it to me with out having to check if NT or not. I don't even know where the printer info is stored in NT. Most likely the registry.
>
Hi Charles,

The ini file is probably your best bet. The only alternative that I can think of is to use GetPrinter() to retrieve information about a specific port or connection into a PRINTER_INFO_1 structure. But for that you'd have to be running VFP under Win95 or above, not FPW.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform