![background image](http://html.mh-extra.com/html/hp/4600-color-laserjet-laser-printer/4600-color-laserjet-laser-printer_technical-reference-manual_163672193.webp)
Jobs That Monitor Job Progress and Confirm Job
Completion
This example enables the spooler to receive notification as
each page is finished printing, and when the entire job has
finished. The USTATUS JOB = ON command enables
unsolicited job status and the USTATUS PAGE = ON
command enables page status.
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Monitoring Job Progress <CR><LF>
@PJL COMMENT and Completion <CR><LF>
@PJL ECHO 12:07:54.5 07-26-92 <CR><LF>
[. application discards printer status
readback data received before ECHO response .]
@PJL USTATUS JOB = ON <CR><LF>
@PJL USTATUS PAGE = ON <CR><LF>
@PJL JOB NAME = "Monitoring Job" <CR><LF>
<ESC>%-12345X@PJL <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E... PCL print data ...<ESC>E
~
<ESC>%-12345X
~
<ESC>%-12345X@PJL <CR><LF>
@PJL EOJ NAME = "End of Monitor Job" <CR><LF>
@PJL USTATUS JOB = OFF <CR><LF>
@PJL USTATUS PAGE = OFF <CR><LF>
<ESC>%-12345X
When the printer processes the JOB command, the
following unsolicited job status message is sent:
@PJL USTATUS JOB
START
NAME="Monitoring Job"
<FF>
Programming Tips 10-13
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 ...