Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect if a printer is offline or online
Message
From
24/07/2002 09:41:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00681960
Message ID:
00682005
Views:
25
Meseems this is the same as PrintStatus() - Windows will always report that the printer is on-line (if the printing queue is enabled).

Hilmar.

>Hi,
>
>Have you tried SYS(13)? It returns the status of the current printer.
>
>HTH,
>Arriyel
>
>>Any one who knows a function to detect if a printer is online of offline?
>>The printstatus() function of foxpro always returns online even if the printer is not connected or offline.
>>
>>I need a function to detect if the printer is offline because in one of my transaction module i want to require the user to make the printer online before proceeding to transaction.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform