7.3. DINQUIRE Command; Syntax: ; Response Syntax: - Page 272

Brother HL-1670N Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

CHAPTER 5 PJL - 63 

Example 2 : 

This example requests the PCL-specific settings. 

<ESC>%-12345X@PJL <CR><LF> 
@PJL COMMENT ***Inquiring PCL settings*** <CR><LF> 
@PJL ECHO 19:20:05 02-20-1993 <CR><LF> 
@PJL INQUIRE LPARM:PCL FONTSOURCE<CR><LF> 
@PJL INQUIRE LPARM:PCL FONTNUMBER<CR><LF> 
<ESC>%-12345X 

 

The printer may return the following response for the above 

INQUIRE

 commands : 

@PJL ECHO 19:20:05 02-20-1993 <CR><LF> 
<FF> 
@PJL INQUIRE LPARM:PCL FONTSOURCE <CR><LF> 
I<CR><LF> 
<FF> 
@PJL INQUIRE LPARM:PCL FONTNUMBER <CR><LF> 
13<CR><LF> 
<FF> 
 

7.3.

 

DINQUIRE Command 

The 

DINQUIRE

 command is used to get the information of the default value of a specific variable in the 

PJL Environment. (User Default Settings).   It is also possible to get the value for variables which PJL 
cannot change (Read-only).   

The returned value of User Default Settings is identical to the Control Panel Setting. 

This 

DINQUIRE

 command can request only one variable at a time.  If you would like to get information 

from more variables, send multiple 

DINQUIRE

 commands.    

Syntax: 

@PJL DINQUIRE [LPARM : 

personality

variable

 [<CR>]<LF> 

 

Response Syntax: 

@PJL DINQUIRE [LPARM : personality] variable <CR><LF> 
value <CR><LF> 
<FF> 

If the variable is not supported by the printer, it returns the response in the following syntax : 

@PJL DINQUIRE [LPARM : 

personality

variable

 <CR><LF> 

"?" <CR><LF> 
<FF> 

ï‚Ÿ

 

LPARM

 : 

personality

  

This optional parameter must be used when requesting information about printer language-specific variables 
such as the font number in the User Default setting. 

ï‚Ÿ

 

variable  
Variable is a parameter which specifies what you would like to get the information about among the User 
Default settings (User Default Environment).  The valid variables are listed in the following tables. 

ï‚Ÿ

 

value 
Value is the returned value for the requested variable.  See the following tables to learn about values for 
specific variables. 

 

Detailed Information for Brother HL-1670N Command Reference Guide for Software Developers

Lists of information found in Brother HL-1670N Command Reference Guide for Software Developers - Page 272

  • 7.3.

FAQ (Frequently Asked Questions) for Brother HL-1670N Command Reference Guide for Software Developers - Page 272

  • Syntax: @PJL DINQUIRE [LPARM : personality ] variable [&lt;CR&gt;]&lt;LF&gt; Response Syntax: @PJL DINQUIRE [LPARM : personality] variable &lt;CR&gt;&lt;LF&gt; value &lt;CR&gt;&lt;LF&gt; &lt;FF&gt; If the variable is not supported by the printer, it returns the response in the following syntax : @PJL DINQUIRE [LPARM : personality ] variable &lt;CR&gt;&lt;LF&gt; "?

Related Documents for Brother HL-1670N Command Reference Guide for Software Developers