CHAPTER 2 PCL - 108
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
Summary of Contents for HL-4140CN
Page 4: ......
Page 15: ...CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 137: ...CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 155: ...CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 208: ...CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 285: ...CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 313: ...CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 334: ...CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 346: ...CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 373: ...CHAPTER 10 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Page 383: ...APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 490: ...APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...