10/10/03
CHAPTER 5 PJL - 13
5. JOB SEPARATION COMMANDS
5.1. Introduction
This section explains two PJL command, JOB and EOJ. These commands are used to determine the
boundaries of a job. When these commands are used with status readback, the printer also can send status
information at the beginning and end of each job.
5.2. JOB Command
The JOB Command sends information at the start of a PJL job to the printer and aligns the job with the page
status information. It also specifies which pages of a job are to be printed.
Note:
JOB and EOJ command are always used in pairs. You must not use one without the other.
Syntax
@PJL JOB [NAME = "job name"][START = first page] [END = last page]
[PASSWORD = "password"][<CR>]<LF>
• NAME = "job name"
This option NAME describes the print job as a job name. Printable characters (ASCII 33-255) and spaces or
horizontal tab characters can be used for the job name. It can contain 80 characters max. and must be
enclosed in double quotes. If the NAME option is set, the job name is included in the unsolicited job.
• START = first page
This option START is used to provide a non-printing mode. You can specify from which page printing is to
start. If the START option is not set, the printer starts printing at the beginning of the job.
first page = 1 to 2,147,483,647 Default value = 1
• END = last page
The END option indicates the page number of the last page to be printed. If the END option is not set, the
printer prints to the end of the job. If the end of job is encountered before the START page, no pages are
printed. If the end of job is encountered before the END page, printing terminates.
last page = 1 to 2,147,483,647 Default value = prints entire job
• PASSWORD = password ( HL-1660e/2060/2400C/2400Ce/3400CN/1650/1670N/1850/1870N/5040/5050/
5070N/2600CN/3450CN only )
When the password is set by the DEFAULT command, modifying the NVRAM by using the DEFAULT or
INITIALIZE commands is locked with the password. Sending the correct password with this command can
unlock this until the EOJ command is executed.
password = 0 to 65,535 Default value = 0
When the printer receives the JOB command, the UEL command is not recognized as a job boundary until
an EOJ command is received.
• If the UEL command is placed between the PJL JOB and EOJ commands, it is handled as a printer
language reset. In this case, UEL resets the printer environment to the PJL Current environment, not to the
User Default Environment.
• If your application supports status readback capabilities, you can monitor the job status by the USTATUS
command with the JOB option.
• If job status is available and a JOB command is received, the printer returns a job status message.
Note:
Resetting the page count according to unsolicited page status information does not affect the current page.