Inquire Command ; Syntax ; Response Syntax - Page 243

Brother 1660e User Manual

2014 Dodge Charger SRT Owner Manual
background image

2001/10/02 

CHAPTER 5 PJL - 39 

7.2. 

Inquire Command 

The 

INQUIRE

 command is used in order to get the information of the current value of a specified variable in 

the PJL DEFAULT setting. (PJL environment).   It is possible to get the information for variables the value of 
which PJL cannot change (Read-only). 

This 

INQUIRE

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

multiple variables, send multiple 

INQUIRE

 commands or the 

PJL

 

INFO VARIABLES

 command which 

responds with all the variables in the PJL Default settings (PJL Default Environment).    

Syntax  

@PJL INQUIRE [LPARM : 

personality

variable

 [<CR>]<LF> 

 

Response Syntax  

@PJL INQUIRE [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 INQUIRE [LPARM : personality] variable <CR><LF> 

"?" <CR><LF> 

<FF> 

 

• 

LPARM : 

personality

  

This optional parameter must be used when requesting the information of printer language-specific variables, 
such as the font number in the PJL DEFAULT setting. 

• 

variable

  : variable  

This is a parameter which specifies which variable you would like to get the information about among the PJL 
Default settings (PJL Current Environment).  The variables which can be used in this command are listed in 
Appendix A.  You can also check by sending the @PJL INFO VARIABLES command to the printer. 

• 

value

  

This is the value of the  parameter  requested by the variable parameter. 

 

Examples   

Example 1 : 

This example requests the current print environment settings for RET, PAPER, and ORIENTATION : 

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

@PJL COMMENT ***Requesting*** <CR><LF> 

@PJL COMMENT about PJL Default Settings** <CR><LF> 

@PJL ECHO 19:15:00 02-20-1993 <CR><LF> 

@PJL INQUIRE RET <CR><LF> 

@PJL INQUIRE PAPER <CR><LF> 

@PJL INQUIRE ORIENTATION <CR><LF> 

<ESC>%-12345X 

The printer may return, for examp le, the following response against the above 

INQUIRE

 commands :  

@PJL ECHO 19:15:00 02-20-1993 <CR><LF> 

<FF> 

@PJL INQUIRE RET<CR><LF> 

LIGHT<CR><LF> 

<FF> 

@PJL INQUIRE PAPER<CR><LF> 

LETTER<CR><LF> 

<FF> 

@PJL INQUIRE ORIENTATION<CR><LF> 

PORTRAIT<CR><LF> 

<FF> 

Detailed Information for Brother 1660e User Manual

Lists of information found in Brother 1660e User Manual - Page 243

  • 7.2.
  • LPARM : personality This optional parameter must be used when requesting the information of printer language-specific variables, such as the font number in the PJL DEFAULT setting.
  • variable : variable This is a parameter which specifies which variable you would like to get the information about among the PJL Default settings (PJL Current Environment).
  • value This is the value of the parameter requested by the variable parameter.

FAQ (Frequently Asked Questions) for Brother 1660e User Manual - Page 243

  • Syntax @PJL INQUIRE [LPARM : personality ] variable [&lt;CR&gt;]&lt;LF&gt; Response Syntax @PJL INQUIRE [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 INQUIRE [LPARM : personality] variable &lt;CR&gt;&lt;LF&gt; "?

Related Documents for Brother 1660e User Manual