HP PCL/PJL reference - Printer Job Language Technical Reference Manual
EN Job Separation Commands 5-5
JOB commands can be nested. For example, a spooling application 
can send a PJL job that uses the JOB command to another spooler 
that encapsulates the spooled job with another JOB/EOJ command 
pair. When this is done, note that the job name from the outer JOB 
command is cleared or overwritten by the inner command.
Example: Using the JOB Command to Print 
Selected Pages
You can use the JOB command with the START and END options to 
print selected pages of a job. The entire job must be sent to the 
printer and formatted, but the printer does not begin printing until the 
page indicated in the START option.
Note If there is a need to print more than one copy of each page, send the 
job multiple times using the START and END options to print collated 
copies. Using the SET command or a printer language “number of 
copies” command to print multiple copies of selected pages causes 
unexpected results, because the printer counts physical pages, not 
multi-copy collated pages.
In this example, the JOB command:
• Informs the printer of the beginning of a print job.
• Names the print job “Jim's Job.”
• Instructs the printer to begin printing on page three of the job. 
(Since the END option is missing, the job prints from page 
three through the end of the job.)
Note that the name option for the JOB and EOJ commands need not 
be the same. You may use different names for each.
<ESC>%-12345X@PJL <CR><LF>
@PJL JOB NAME = "Jim's Job" START = 3 <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E . . . . PCL Job . . . . <ESC>E
~<ESC>%-12345X@PJL <CR><LF>
@PJL EOJ NAME = "End of Jim's Job" <CR><LF>
<ESC>%-12345X










