Job Variables; Page Variables - Brother HL-Series Technical Reference Manual

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96

JOB Variables

The @PJL USTATUS JOB = ON command allows the printer to send the job processing status. This
is sent to the application whenever a JOB and EOJ command is issued so that the application knows
when a job starts and ends.
Example :
The application sends the following commands to the printer.
<ESC>%-12345X@PJL <CR><LF>
@PJL USTATUS JOB = ON <CR> <LF>
@PJL JOB NAME = "JOB 88554" <CR> <LF>
<ESC>%-12345X@PJL <CR><LF>
@PJL EOJ NAME = "JOB 88554" <CR> <LF>
<ESC>%-12345X
The printer may send back the answer for the above command.
@PJL USTATUS JOB<CR><LF>
START<CR><LF>
NAME="JOB 88554"<CR><LF>
<FF>
[ . . time period while job is printing . . . ]
@PJL USTATUS JOB<CR><LF>
END<CR><LF>
NAME = "JOB 88554"<CR><LF>
PAGES=5<CR><LF>
<FF>

PAGE Variables

The @PJL USTATUS PAGE = ON command allows the printer to send the information about the
print completion of a particular page. Using this command, you can monitor the job process on a page-
by-page basis.
Example :
The application sends the following commands to the printer.
<ESC>%-12345X@PJL <CR><LF>
@PJL USTATUS PAGE = ON <CR> <LF>
@PJL JOB <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E . . . Four-page PCL Job . . . <ESC>E
<ESC>%-12345X@PJL <CR><LF>
@PJL EOJ <CR><LF>
<ESC>%-12345X
The printer may send back the answer for the above command.
@PJL USTATUS PAGE<CR><LF>
1<CR><LF>
<FF>
@PJL USTATUS PAGE<CR><LF>
2<CR><LF>
<FF>
@PJL USTATUS PAGE<CR><LF>
3<CR><LF>
<FF>
@PJL USTATUS PAGE<CR><LF>
4<CR><LF>
<FF>
<ESC>%-12345X@PJL <CR> <LF>
@PJL ENTER LANGUAGE = PCL <CR> <LF>
<ESC>E . . . PCL Job . . . <ESC>E <ESC>%-12345X
Chapter 3 "PJL" - 49

Advertisement

Table of Contents
loading

Table of Contents