CHAPTER 5 PJL - 14
Example
<ESC>%-12345X@PJL<CR><LF>
@PJL JOB NAME = "KKK data from spooler" <CR><LF>
<ESC>%-12345X@PJL<CR><LF>
@PJL COMMENT Postscript Job <CR><LF>
@PJL JOB NAME = "YYY data from spooler 2" <CR><LF>
@PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF>
%!PS.......PS
JOB........^D
<ESC>%-12345X@PJL<CR><LF>
@PJL EOJ NAME = "End of YYY data" <CR><LF>
<ESC>%-12345X@PJL <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E.........PCL JOB........<ESC>E
<ESC>%-12345X@PJL <CR><LF>
@PJL EOJ NAME = "End of KKK" <CR><LF>
<ESC>%-12345X@PJL <CR><LF>
5.3.
EOJ Command
The
EOJ
command indicates to the printer that the job is completed. You must use this command whenever
you use the JOB command.
Note:
JOB and EOJ command always are used in pairs. You must not use one without the other.
Syntax
@PJL EOJ [
NAME = "job name"
] [<CR>]<LF>
ï‚Ÿ
NAME = "
job name
"
The
EOJ
command can name the print job. The job name is a string and must be enclosed in double quotes
in the command syntax. The job name need not be same as the "job name" of the
JOB
command. If the
NAME option is described, the unsolicited end-of-job status includes the job name. Job names can use
printable characters (ASCII 33-255) and spaces or horizontal tab characters up to a maximum of 80
characters.
ï‚Ÿ
The
EOJ
command indicates the end of a job.
ï‚Ÿ
Resets the PJL Current Environment variables to the default values.
ï‚Ÿ
Terminates the non-printing mode.
ï‚Ÿ
When the
EOJ
command is received, the printer returns unsolicited job status information.
ï‚Ÿ
The
EOJ
command resets the page number associated with unsolicited page status.
Example
<ESC>%-12345X@PJL<CR><LF>
@PJL JOB NAME = "KKK data from spooler" <CR><LF>
<ESC>%-12345X@PJL<CR><LF>
@PJL COMMENT Postscript Job <CR><LF>
@PJL JOB NAME = "YYY data from spooler 2" <CR><LF>
@PJL ENTER LANGUAGE = POSTSCRIPT <CR><LF>
%!PS.......PS
JOB........^D
<ESC>%-12345X@PJL<CR><LF>
@PJL EOJ NAME = "End of YYY data" <CR><LF>
<ESC>%-12345X@PJL<CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E.........PCL JOB........<ESC>E
<ESC>%-12345X@PJL<CR><LF>
@PJL EOJ NAME = "End of KKK" <CR><LF>
<ESC>%-12345X