HP PCL/PJL reference - Printer Job Language Technical Reference Manual

EN Job Separation Commands 5-13
Job Cancellation
HP LaserJet 2100 series, 4000 series, 4500 series, 5000 series,
8000 series, 8100 series, 8500 series, 5, 5M, 5Si, 5SiMx printers and
the LaserJet 5Si Mopier support job cancellation using the printer
control panel. When a PJL print job is started using the PJL JOB
command as described in this chapter, the following PJL information
can be obtained from the printer:
Start of job notification
End of job notification
Job cancellation unsolicited status
Each of these pieces of information is described below.
Start of Job Notification
If unsolicited job status is enabled when the printer begins processing
the PJL job, the printer responds to the PJL JOB command with an
@PJL USTATUS JOB START response. If job ID reporting is enabled
by sending @PJL SET JOBID=ON, the printer response includes a
job ID number that is associated with the job name supplied in the
JOB command.
For example, if the printer receives the following command:
@PJL JOB NAME = "job name"
If unsolicited job status and job ID reporting are enabled, the printer
would generate an ID number (such as 346) and respond with:
@PJL USTATUS JOB<CR><LF>
START<CR><LF>
NAME="job name"<CR><LF>
ID=346<CR><LF>
<FF>
The printer-generated ID number can range in value from 0 to 32767.
Job ID numbers are unique until they roll over to zero or until the
printer power is cycled (at which time the ID defaults to 0).