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

A-58 Product-Specific Feature Support EN
Collating Multiple Copies
Multiple “mopies” of a job can be printed by sending the @PJL SET
QTY command, followed by one copy of the job. This saves network
traffic because only one copy must be sent to the printer. The printer
stores the job on the internal disk drive and then prints the desired
number of collated copies without additional downloading.
In order to print multiple copies of the job this way, it is important that
the print job not include the printer language's number of copies
command in the data stream (such as the PCL command
?&l#X).
These commands produce uncollated copies.
When printing multiple copies of a job, use the @PJL SET QTY as
early as possible in the job. If the printer does not detect that a job is
to be mopied by the end of the formatting of the second page (to allow
for one banner page), the job will not be mopied.
The following example would print 5 collated, stapled copies of a print
job.
<ESC>%-12345X@PJL <CR><LF>
@PJL JOB NAME = "Job #12345" <CR><LF>
@PJL COMMENT *** Set Mopies to 5 *** <CR><LF>
@PJL SET QTY = 5 <CR><LF>
@PJL COMMENT ** Send to stapler bin **<CR><LF>
@PJL SET FINISH = STAPLE
<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 = "Job #12345" <CR><LF>
<ESC>%-12345X