8.3. OPMSG Command; 8.4. STMSG Command; Syntax - Page 288

Brother HL-4040CDN Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

CHAPTER 5 PJL - 79 

The following is an example of how to restore the display to the normal ready message. 

<ESC>%-12345X@PJL <CR><LF> 
@PJL COMMENT Normal READY message <CR><LF> 
@PJL RDYMSG DISPLAY = "" <CR><LF> 
@PJL EOJ NAME = "End of Tom's Job" <CR><LF> 
<ESC>%-12345X 

 

8.3.

 

OPMSG Command 

With the 

OPMSG

 command, you can display any message you like  on the printer switch panel LCD.  The 

printer will go off-line and stop printing until the operator presses the ON LINE key or resets the printer 
(Press SHIFT key and RESET key, then press SET key.) 

Syntax  

@PJL OPMSG DISPLAY = "

message

" [<CR>]<LF> 

 

Parameters  

Parameter Functional 

Range 

Default 

DISPLAY = "

message

ASCII 33 and ASCII 

35 through 255, <

SP

>, 

<

HT

N/A 

DISPLAY = "

message

You can use any combination of characters available on the printer except for the quotation marks (ASCII 
34) up to 16 characters in total including spaces or horizontal tab.  Characters must be enclosed in double 
quotes. 

 

Example  

The following example shows how to display "LOAD C5 ENVELOPE" on the printer switch panel. 

<ESC>%-12345X@PJL <CR><LF> 
@PJL JOB NAME = "JOB C5 envelope" <CR><LF> 
@PJL OPMSG DISPLAY = "LOAD C5 ENVELOPE" <CR><LF> 
@PJL <CR><LF> 
@PJL ENTER LANGUAGE = PCL <CR><LF> 
<ESC>E This is C5 Envelope<ESC>E 

 

8.4.

 

STMSG Command 

With the 

STMSG

 command, you can display any message you like on the printer switch panel LCD.  The 

printer will go off-line and stop printing until the operator presses the ON LINE key or resets the printer 
(Press SHIFT key and RESET key, then press SET key.)  When the printer is put back to on-line by the 
operator, the printer returns a status message giving the name of the key. 

Syntax  

@PJL STMSG DISPLAY = "

message

" [<CR>]<LF> 

 

Return Syntax  

@PJL STMSG DISPLAY = "message" <CR><LF> 
key <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 288

  • 8.3.
  • 8.4.

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