Inquire Command - Brother HL-Series Technical Reference Manual

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96

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 of
variables the value of which PJL can not 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 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.
Chapter 3 "PJL" - 34

Advertisement

Table of Contents
loading

Table of Contents