HP PCL/PJL reference - Printer Job Language Technical Reference Manual

EN Status Readback Commands 7-19
Example: Using the INFO CONFIG Command
This example requests the current configuration information. The
printer, a HP LaserJet 4 printer in this case, responds with a list of
features. For example, the returned information shows there is an
envelope tray and three input trays: INTRAY1 MP, the multi-purpose
tray, INTRAY2 PC, the paper cassette tray, and INTRAY3 LC, the
optional lower cassette tray. Other configuration information also is
listed, including the total amount of installed memory available and
the number of display lines and characters.
Parameter Format Description
feature alphanumeric value (any
combination of letters [ASCII
65-90 or 97-122] and/or
digits [ASCII 48-57],
beginning with a letter)
Name of a printer feature, such as
DUPLEX or FONT CARTRIDGE
SLOTS.
value numeric value Indicates a feature value, such as
MEMORY=500000, or how many
and what type of options follow,
such as [2 ENUMERATED].
feature information one or more alphanumeric
values, separated by spaces
Indicates what type of information
follows, such as RANGE, TABLE
ENUMERATED, or READONLY.
returned option alphanumeric or numeric
value, or string
An option of a feature listed in
the returned data, such as TIMED,
describing a type of USTATUS.
attribute alphanumeric or numeric
value, or string
Adds more information about a
particular returned option, such as
INTRAY1 MP, indicating that tray 1
is a multipurpose (MP) tray.