After Job Failure - HP Color LaserJet 5500 Technical Reference Manual

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

Advertisement

After Job Failure

Once the spooler senses that the job failed (in this case, due
to a power failure), the job can be recovered by resending it
using the JOB command with the START option. Set the
page number in the START option to the number of the last
page printed plus 1. For instance, in the previous example,
if a power failure occurred after page 25 completely printed,
you set the START option to start printing on page 26 (see
below). In this case, the printer processes the first 25 pages
in non-printing mode, and then prints from page 26
through the end of the job.
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Recovering Crashed Job <CR><LF>
@PJL USTATUS JOB = ON <CR><LF>
@PJL USTATUS PAGE = ON <CR><LF>
@PJL JOB NAME = "2nd Try" START = 26 <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E ...Same 100-page PCL job ...<ESC>E
~<ESC>%-12345X@PJL <CR><LF>
@PJL EOJ NAME = "End of Recovery" <CR><LF>
<ESC>%-12345X
In the job above, the first unsolicited page status message
is sent after page 26 lands in the output tray. For a HP
LaserJet 4 printer, the response appears as shown below.
Other PJL printers may respond differently.
@PJL USTATUS PAGE<CR><LF>
26<CR><LF>
<FF>
Additional page status messages are sent after each
succeeding page lands in the output tray. After the
remaining 75 pages of the job are completely printed, the
host receives unsolicited page and job status as follows:
Status Readback Commands 7-45

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents