beautypg.com

Timed variable – Brother HL-2170W User Manual

Page 283

background image

CHAPTER 5 PJL - 79

@PJL USTATUS JOB
END
NAME = "JOB 88554"
PAGES=5

7.6.3.

PAGE variable

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.

%-12345X@PJL
@PJL USTATUS PAGE = ON
@PJL JOB
@PJL ENTER LANGUAGE = PCL
E . . . Four-page PCL Job . . . E
%-12345X@PJL
@PJL EOJ
%-12345X

The printer may send back the answer for the above command.

@PJL USTATUS PAGE
1

@PJL USTATUS PAGE
2

@PJL USTATUS PAGE
3

@PJL USTATUS PAGE
4

7.6.4.

TIMED variable

The @PJL USTATUS TIMED = XXX command enables the printer to send printer status information to
the application at the specified time period.

This time interval can be set to 0 and from 5 to 300 seconds. If set to 0, this function is turned off. If set to
any value between 5 and 300, the printer automatically sends to the application "CODE = XXXXX" (a
status code number), "DISPLAY = XXXXXXXXXX" (the message currently displayed on the printer's
control panel), and "ON LINE = XXXXXXX" ( printer's on-line/off-line status) at the specified time
interval.

Example

The application sends the following commands to the printer.

%-12345X@PJL
@PJL USTATUS TIMED = 30
%-12345X

The printer may send back the answer for the above command.

@PJL USTATUS TIMED
CODE=10001
DISPLAY="00 READY 001P LT"
ONLINE=TRUE