HP Color LaserJet 5500 Technical Reference Manual page 208

Printer job language - technical reference manual
Hide thumbs Also See for Color LaserJet 5500:
Table of Contents

Advertisement

Handling Unexpected
Printer Responses
10-28 Programming Tips
The application should always send a PJL ECHO command
to resynchronize with the printer status readback responses
(i.e. get rid of any old responses). However, if the printer's
response data buffer is full and the printer is discarding all
future responses, then the host will receive a PJL
unsolicited "printer to host data buffer overflow" message,
but not the PJL ECHO response. Applications must be
designed to handle situations where the printer's response
data buffer overflows and the printer does not provide the
expected response, but instead provides a PJL unsolicited
"printer to host data buffer overflow" message. The
application should resend all unanswered queries whenever
the application receives a PJL unsolicited "printer to host
data buffer overflow" message.
Printer sharing devices, like the external printer sharing
box or the MIO card inserted into the printer as shown in
Figure 10-1, do not have sufficient information to allow the
printer sharing device to properly route printer status
readback responses to the host computer (the one running
the application that queried the printer). In particular,
unsolicited PJL status is difficult for the printer sharing
device to properly route since the unsolicited status
response may be received by the printer sharing box hours
after sending the data from the host computer to the
printer that enabled unsolicited status.
Manufacturers of printer sharing devices can choose from
the following options to solve this printer-to-host data
routing problem.
1. A printer sharing device that is a uni-directional device
and does not support printer-to-host data transfer. Appli-
cations need to be designed to work with uni-directional
printer sharing devices.
2. A printer sharing device that examines the data received
from the printer and only forwards solicited responses to
the host computer.
A printer sharing device can track which of its I/O inter-
faces is currently sending data to the printer, and thus

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents