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>
Summary of Contents for HL-1250
Page 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 59: ...2001 10 02 CHAPTER 2 PCL 39 ...
Page 76: ...2001 10 02 CHAPTER 2 PCL 56 ...
Page 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...
Page 109: ...2001 10 02 CHAPTER 2 PCL 89 ...
Page 123: ...2001 10 02 CHAPTER 2 PCL 103 ...
Page 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...
Page 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...
Page 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 248: ...2001 10 02 CHAPTER 5 PJL 44 ...
Page 263: ...2001 10 02 CHAPTER 5 PJL 59 ...
Page 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...
Page 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...
Page 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...
Page 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...
Page 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...