7.5.1. ID category; 7.5.2. CONFIG category; Example - Page 276

Brother HL-5240 Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

CHAPTER 5 PJL - 67 

 

7.5.1.

 ID 

category

 

The application can use 

@PJL INFO ID

 command to find out the printer model name. As the features of the 

printer may be changed by future revisions, the application should check them by using the 

@PJL INFO 

CONFIG

 command.  

Example  

The application sends the following command to the printer : 

<ESC>%-12345X@PJL <CR><LF> 
@PJL INFO ID <CR><LF> 
<ESC>%-12345X 

The printer sends back the answer for the above 

INFO

 command if the printer name is HL-1660e: 

@PJL INFO ID<CR><LF> 
"Brother HL-1660e"<CR><LF> 
<FF> 

 

 

7.5.2.

 

CONFIG category 

The application can use

 @PJL INFO CONFIG

 command to have the printer return a list of printer 

configuration information. The list consists of the information on paper sources, paper sizes, languages, 

USTATUS

 (unsolicited status) commands, font sources, RAM size, number of lines and characters on the 

LCD supported by the printer, with the format of the number of available types and/or the description of 
each type.  The printer sends back a list of multiple information for one 

@PJL INFO CONFIG 

command. 

Syntax: 

@PJL INFO CONFIG <CR><LF>   
 

 

Response Syntax: 

@PJL INFO CONFIG <CR><LF> 
feature[=value][value feature information] <CR><LF> 
[<HT>returned option[ attribute] <CR><LF>] 
... 
... 
... 
... 
feature[=value][value feature information] <CR><LF> 
[<HT>returned option[ attribute] <CR><LF>] 
<FF> 

 

Detailed Information for Brother HL-5240 Command Reference Guide for Software Developers

Lists of information found in Brother HL-5240 Command Reference Guide for Software Developers - Page 276

  • 7.5.
  • 1. ID category The application can use @PJL INFO ID command to find out the printer model name.
  • 7.5.
  • 2. CONFIG category The application can use @PJL INFO CONFIG command to have the printer return a list of printer configuration information.

Related Documents for Brother HL-5240 Command Reference Guide for Software Developers