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
Job Separation Commands 5-5
Содержание 4600 - Color LaserJet Laser Printer
Страница 18: ...1 6 Introduction to PJL ...
Страница 36: ...3 8 Using PJL ...
Страница 46: ...4 10 Kernel Commands ...
Страница 66: ...Figure 6 1 How Environments Affect the Print Job 6 4 Environment Commands ...
Страница 108: ...6 46 Environment Commands ...
Страница 180: ...9 18 PJL File System Commands ...
Страница 212: ...10 32 Programming Tips ...
Страница 262: ...B 6 PJL Command Summary ...
Страница 302: ...Glossary 10 ...