Job Variables - Brother HL-1050 Technical Reference Manual

Laser printer
Hide thumbs Also See for HL-1050:
Table of Contents

Advertisement

2/19/04
35000 - 25999
40000 - 40999
41000 - 41999
Example
Example 1 :
The application sends the following command to the printer :
<ESC>%-12345X@PJL <CR><LF>
@PJL USTATUS DEVICE = VERBOSE <CR><LF>
<ESC>%-12345X
The printer may send back the answer for the above command :
@PJL USTATUS DEVICE<CR><LF>
CODE=40021<CR><LF>
DISPLAY='12 COVER OPEN
ONLINE=FALSE<CR><LF>
<FF>
Example 2 :
When the following wrong PJL command is sent :
<ESC>%-12345X@PJL <CR><LF>
@PJL USTATUS DEVICE = VERBOSE <CR><LF>
@PJL ECO wrong sample 3-6-1993 23:12:00 <CR><LF>
<ESC>%-12345X
The printer may send back the answer for the above command :
@PJL USTATUS DEVICE<CR><LF>
CODE=20002<CR><LF>
<FF>

7.6.2. 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 . . . ]
Errors which may cause incorrect printing results, such as loss of some print data
on a page. The operator's intervention may be required.
Errors such as paper empty, cover open or paper jams which suspend printing
until the operator takes the corresponding corrective action.
Errors in the paper source such as running out of paper in the current paper tray
and none available from any other paper sources.
<ESC>%-12345X@PJL <CR> <LF>
@PJL ENTER LANGUAGE = PCL <CR> <LF>
<ESC>E . . . PCL Job . . . <ESC>E <ESC>%-12345X
CHAPTER 5 PJL - 54
'<CR><LF>

Advertisement

Table of Contents
loading

Table of Contents