Printer status.

Posted: 04-07-2005, 01:40 PM
Dear All,

I would like to retrieve the status of printers under Windows XP so
that it be possible to know *before* printing whether a printer is
operational.

I had a look at the Microsoft article "How To Get the Status of a
Printer and a Print Job" Q160129 but it is not what I require as the
actual status of the printer is refreshed only during the despool of
print jobs (i.e. after printing).

Thus, I figured out that I had to deal with high level printer
languages such as PCL or PJL to find a solution at this issue.

I would like to know:

- How to use PJL to retrieve printer status? Can someone provide me
with sample code? (I did not manage to send/receive PJL data under
Windows XP using VC++)

- What about printers that do not support PJL? To what extend can I
use PCL to find a printer status? Do I have to use low-level
functions? (e.g. retrieving the IEEE 1284 device-id string and get the
status from it?)

What am I missing? Please help! I am stuck for days on this issue...

Thanking you in advance,

Guillaume.
Reply With Quote

Responses to "Printer status."

 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Status Bar S Murder Windows Vista File Management 3 02-03-2007 05:29 AM
Network printer status stays "offline" in Win XP Sharon Windows XP Device Drivers 1 11-18-2003 09:20 PM
Status Bar Lorraine W Windows XP Help & Support 2 10-31-2003 05:55 AM
STATUS BAR! Junaid Ahmed KHAN Customize Windows XP 2 08-14-2003 08:14 AM
XP Fax status Sue Windows XP Printers / Scanners / Fax 2 08-07-2003 09:46 PM