2001/10/02
CHAPTER 2 "PCL" - 100
8.5. Status Response Syntax
All of the status responses begin with "PCL", Carriage Return control code and a Line Feed control code. The
response is ended by a Carriage Return and a Line Feed control code. At the end of the transaction, status
responses are ended by a Form Feed Control code. The fundamental syntax for the status response is as shown
below.
PCL<CR> <LF>
INFO TITLE<CR><LF>
KEYWORDn=DATAn<CR><LF>
KEYWORDn=DATAn<CR><LF>
.
.
.
<FF>
TITLE, KEYWORDn, and DATAn are strings which differ according to the status readback command being
operated. One or more keyword lines related to the status readback response accompany every status readback
response. The Echo command response differs from this and is as shown below.
PCL<CR><LF>
ECHO ValueField<CR><LF>
<FF>
ValueField is the decimal number which comes from the Echo command value field.
For future printers, keywords might be added. Applications in which the status readback is used should be made
to disregard lines with keywords they do not understand.
8.5.1. Set status readback location type
ESC*s#T (27)(42)(115)#(84) <1Bh><2Ah><73h>#<54h>
This command determines the status location type according to the value of #.
The location type is used in association with the location unit in order to specify an entity location for a status
request.
• #=0 specifies an invalid location. When the printer receives an Inquire Entity Command, an error response is
generated. This is the default value. When you execute a printer reset, this value is reset to 0.
• # = 1 specifies the currently selected location.
• # = 2 specifies all locations.
• # = 3 specifies the printer's internal location.
• # = 4 specifies the downloaded entity.
• # = 5 specifies the user-installed card/cartridge
The location type setting is retained by the printer. When the printer does not send the set status readback
location type command in order to change the setting for an entity request, then the printer uses the currently
available location type setting.
8.5.2. Set status readback location unit
ESC*s#U (27)(42)(115)#(85) <1Bh><2Ah><73h>#<55h>
• The status location unit is selected by the value of #.
• The printer uses the location unit in association with the location type in order to specify an entity location
for a status request.
Type Unit
0 - invalid location
1 - currently selected location
2 - all locations
3 0 all internal entities