![background image](http://html.mh-extra.com/html/hp/4600-color-laserjet-laser-printer/4600-color-laserjet-laser-printer_technical-reference-manual_163672146.webp)
Note
HP LaserJet 4000 series, 5Si, and 5SiMx printers, and the
5SiMx Mopier support job cancellation. For information
about unsolicited job status during job cancellation, see the
“Job Cancellation” section in Chapter 5.
Example: Using
Unsolicited Job
Status
This example turns on unsolicited job status so that the
spooler can be notified when the job starts and completely
finishes. A job name is included so that the spooler can
match the status information with the correct job. (The
indented lines indicate a job sent to the spooler from
another application.)
<ESC>%-12345X@PJL <CR><LF>
@PJL USTATUS JOB = ON <CR><LF>
@PJL JOB NAME = "JOB 14993" <CR><LF>
<ESC>%-12345X@PJL <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E . . . PCL Job . . . <ESC>E
~
<ESC>%-12345X
~
<ESC>%-12345X@PJL <CR><LF>
@PJL EOJ NAME = "JOB 14993" <CR><LF>
<ESC>%-12345X
A sample unsolicited HP LaserJet 4 printer response for
this example is as shown here. For other printers, the
response may be different.
@PJL USTATUS JOB<CR><LF>
START<CR><LF>
NAME="JOB 14993"<CR><LF>
(from the JOB command)
<FF>
[ . . time period while job is printing . . .]
@PJL USTATUS JOB<CR><LF>
END<CR><LF>
NAME="JOB 14993"<CR><LF>
(from the EOJ command)
PAGES=3<CR><LF>
<FF>
7-38 Status Readback Commands
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 ...