![background image](http://html.mh-extra.com/html/hp/4600-color-laserjet-laser-printer/4600-color-laserjet-laser-printer_technical-reference-manual_163672203.webp)
The other primary use for printer status readback is to
allow applications to monitor the state of the printer. In
particular, applications can inform the user when the
printer requires intervention (e.g. fill paper trays). If the
application enables unsolicited PJL device status, the
printer will inform the application whenever the printer’s
status changes. Since the printer informs the application
using unsolicited status, even when the printer is
processing a print job from a different I/O interface, the
application gets timely printer status information. If
printer status readback is unavailable, the application will
not be able to provide the user with current printer state
information.
Another use for printer status readback is to determine
what volatile resources (e.g. soft fonts) are available in the
printer right before a print job is sent to the printer. If an
application optimizes the printer job using printer status
readback (i.e. does not send soft fonts if the printer already
has the font), then if printer status readback is unavailable,
the application should assume worst case (i.e. the font is
not in the printer) when generating print jobs.
In summary, the application should be designed to take
advantage of printer status readback, if available, but still
function if it is unavailable.
Determining If Printer
Status Readback is
Available
If the application sends a PJL ECHO command (preceded
by the Universal Exit Language command, of course) to the
printer and receives the expected response, then the
application can assume bi-directional communication with
the printer is available and supported solicited status
queries will be answered in a timely fashion.
However, under some conditions the application will send, or
attempt to send, a PJL ECHO command and not receive a
timely response because of one of two reasons: the printer
may not be accepting data (due to the printer processing a
print job from a different I/O interface or the printer being
off-line), or the printing system does not support printer
status readback to the application. If the application does
Programming Tips 10-23
Содержание 4600 - Color LaserJet Laser Printer
Страница 18: ...1 6 Introduction to PJL ...
Страница 36: ...3 8 Using PJL ...
Страница 46: ...4 10 Kernel Commands ...
Страница 66: ...Figure 6 1 How Environments Affect the Print Job 6 4 Environment Commands ...
Страница 108: ...6 46 Environment Commands ...
Страница 180: ...9 18 PJL File System Commands ...
Страница 212: ...10 32 Programming Tips ...
Страница 262: ...B 6 PJL Command Summary ...
Страница 302: ...Glossary 10 ...