HP PCL/PJL reference - Printer Job Language Technical Reference Manual
7-10 Status Readback Commands EN
DINQUIRE Command
The DINQUIRE command is used to obtain the default value of a
specified PJL environment variable. Use the DINQUIRE command to
find the User Default Environment setting for any environment
variable, including read-only variables.
Syntax:
@PJL DINQUIRE [LPARM : personality |
~IPARM : port] variable [<CR>]<LF>
Response Syntax:
@PJL DINQUIRE [LPARM:personality |
~IPARM:port] variable <CR><LF>
value<CR><LF>
<FF>
• LPARM : personality — This optional parameter is used to
inquire about printer language-specific environment variables.
For example, you can use this option to request the default
PCL pitch setting.
PCL is a valid personality. Other personalities, such as
POSTSCRIPT, can be added as hardware options. Use the
@PJL INFO CONFIG command to request the personalities
installed in a particular printer.
• IPARM : port — This optional parameter is used to set
port-specific variables. The HP LaserJet 4PJ is the only printer
which supports port-specific variables.
The IPARM : port option must be used when setting
port-specific variables. Valid values for port for the HP
LaserJet 4PJ printer are SERIAL and PARALLEL.
• variable — This parameter specifies the environment variable
about which you are inquiring. For example, the DINQUIRE
DENSITY command requests the default toner density setting.
See Appendix A for a list of valid variables for each printer. If
you require a more detailed description of a particular variable,
see the “Environment Variables” section in Chapter 6.