Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking LPT1 printer online
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00308803
Message ID:
00312713
Views:
52
>Andrus,
>
>I have been looking at some stuff, and its possible the EnumPrinter API call will give you a status on the printer, if you ask for a PRINT_INFO_2 struct.
>
>I have gotten side tracked, and I am also getting up to speed with Christof's struct class in order to access this API call, so I haven't verified this yet.
>
>Its documented in the MSDN lib if you are interested.
>
>HTH,

Bill,

You can get the same structure info from the GetPrinter() API call. Unfortunately, it's been my experience that the status member of the structure is only valid during the course of printing something.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform