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

EN Job Management 10-7
Example: Job Management HP LaserJet 8500
The following PJL example demonstrates job management for the HP
LaserJet 8500 printer. It creates a secure Proof and Print job that
prints one copy and then is held until the user selects it for printing via
the control panel.
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT **Give job a name** <CR><LF>
@PJL SET JOBNAME = "Job_876543" <CR><LF>
@PJL COMMENT **Specify a user name**<CR><LF>
@PJL SET USERNAME = "Mary_Smith" <CR><LF>
@PJL COMMENT **Set Quantity to Print**<CR><LF>
@PJL SET QTY = 15 <CR><LF>
@PJL COMMENT Specify Proof & Print Job<CR><LF>
@PJL SET HOLD = JOB<CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC E> . . . PCL print job . . . <ESC E>
~<ESC>%-12345X