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
Summary of Contents for 4600 - Color LaserJet Laser Printer
Page 18: ...1 6 Introduction to PJL ...
Page 36: ...3 8 Using PJL ...
Page 46: ...4 10 Kernel Commands ...
Page 66: ...Figure 6 1 How Environments Affect the Print Job 6 4 Environment Commands ...
Page 108: ...6 46 Environment Commands ...
Page 180: ...9 18 PJL File System Commands ...
Page 212: ...10 32 Programming Tips ...
Page 262: ...B 6 PJL Command Summary ...
Page 302: ...Glossary 10 ...