Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer List
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00153133
Message ID:
00153458
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform