![background image](http://html.mh-extra.com/html/hp/4600-color-laserjet-laser-printer/4600-color-laserjet-laser-printer_technical-reference-manual_163672114.webp)
If the printer does not support the variable, the response is:
@PJL INQUIRE [LPARM:
personality | IPARM:port]
~
variable <CR><LF>
"?"<CR><LF>
<FF>
If a printer language-specific variable is not available
because that printer language is not installed or is invalid,
or if a port-specific variable is not available because that
port is not supported, the command will return an
appropriate error code if USTATUS DEVICE=VERBOSE is
enabled.
Note
The LPARM : personality option must be used when
requesting printer language-specific information.
The IPARM : port option must be used when requesting
port-specific information.
Example: Using
INQUIRE to Request
Feature Settings
This example requests the current print environment
settings for RET, PAGEPROTECT, RESOLUTION,
PERSONALITY, and TIMEOUT. The printer response for
this example is listed below.
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT ***Inquiring About <CR><LF>
@PJL COMMENT Environment Settings*** <CR><LF>
@PJL ECHO 02:18:23.9 05-30-92 <CR><LF>
@PJL INQUIRE RET <CR><LF>
@PJL INQUIRE PAGEPROTECT <CR><LF>
@PJL INQUIRE RESOLUTION <CR><LF>
@PJL INQUIRE PERSONALITY <CR><LF>
@PJL INQUIRE TIMEOUT <CR><LF>
<ESC>%-12345X
For the HP LaserJet 4 printer, a sample printer response
for this example is as follows. Other PJL printers may
respond differently.
7-6 Status Readback Commands
Summary of Contents for 4600 - Color LaserJet Laser Printer
Page 18: ...1 6 Introduction to PJL ...
Page 36: ...3 8 Using PJL ...
Page 46: ...4 10 Kernel Commands ...
Page 66: ...Figure 6 1 How Environments Affect the Print Job 6 4 Environment Commands ...
Page 108: ...6 46 Environment Commands ...
Page 180: ...9 18 PJL File System Commands ...
Page 212: ...10 32 Programming Tips ...
Page 262: ...B 6 PJL Command Summary ...
Page 302: ...Glossary 10 ...