Dinquire Command - Brother HL-1050 Technical Reference Manual

Laser printer
Hide thumbs Also See for HL-1050:
Table of Contents

Advertisement

8/2/2010
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.
CHAPTER 5 PJL- 58

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents