Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting status of printer from LPT
Message
From
23/12/2002 13:52:57
 
 
To
22/12/2002 21:48:30
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00735105
Message ID:
00735462
Views:
4
>Hi,
>
>Thank, yes, both function always return .T.
>Plus, no Window API to help.
>
>I am sure the OPOS control will help.
>Hope someone will help me on this issue
>
>>The PrintStatus() and Sys(13) functions are useless in VFP because they always return .T./"Ready" and there's no Windows API that could help.
>>
>>>Hi Virusim,
>>>
>>>You might take a look at Sys(13). This may apply to the default printer or currently selected printer. In a network with many shared printers, it may be necessary to build an array of printer, select each one, and then return a sys(13) to determine status. There may be a Windows API that would be a better solution.
>>>
>>>LelandJ

Hi,
you might want to take a look for WinIO at www.internal.com (C++ source included) I have no idea how it is working for printer since currently I don't have one. But it works when I tested to reset my keyboard. I also have my own program (not finish yet) to check printer status. If you want to test it I'll send it to you.
Herman
Previous
Reply
Map
View

Click here to load this message in the networking platform