Eoj command – Brother HL-2170W User Manual

Page 218

Advertising
background image

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

Advertising