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

5-8 Job Separation Commands EN
EOJ Command
The EOJ command informs the printer that the job has completed.
Use this command whenever you use the JOB command.
Note The JOB and EOJ commands are always used in pairs. Do not use
one without the other.
Syntax:
@PJL EOJ [NAME = "job name"] [<CR>]<LF>
Parameters:
NAME = "job name" — Using the EOJ command, you can
name your print job. The job name variable is a string and must
be enclosed in double quotes as shown in the command
syntax. The job name string need not be the same name used
in the JOB command. If the NAME option is included, the
unsolicited end-of-job status includes the job name
(if unsolicited job status is enabled).
Comments:
The EOJ command marks the end of the job started with the previous
JOB command. The EOJ command:
Resets the PJL Current Environment variables to their default
(NVRAM) values, as if the printer powered down and then
powered up again.
Resets the page number associated with unsolicited
page status.
Parameter Functional Range Default
NAME = "job name" Roman-8 characters 33
thru 255, <SP>, <HT>
N/A