7.6.3. PAGE variable; 7.6.4. TIMED variable; Example - Page 285

Brother HL-4040CDN Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

CHAPTER 5 PJL - 76 

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> 

 

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. 

<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> 

 

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. 

<ESC>%-12345X@PJL <CR><LF> 
@PJL USTATUS TIMED = 30 <CR><LF> 
<ESC>%-12345X 

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

@PJL USTATUS TIMED<CR><LF> 
CODE=10001<CR><LF> 
DISPLAY="00 READY 001P LT"<CR><LF> 
ONLINE=TRUE<CR><LF> 
<FF> 

Detailed Information for Brother HL-4040CDN Command Reference Guide for Software Developers

Lists of information found in Brother HL-4040CDN Command Reference Guide for Software Developers - Page 285

  • 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.
  • 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.

Related Documents for Brother HL-4040CDN Command Reference Guide for Software Developers