Status response syntax, Set status readback location type, Set status readback location unit – Brother HL-2170W User Manual
Page 124
CHAPTER 2 PCL - 105
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
INFO TITLE
KEYWORDn=DATAn
KEYWORDn=DATAn
.
.
.
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
ECHO ValueField
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
- HL-1670N HL-6050D HL 5250DN HL-5070N HL-2460 HL-6050DN HL-2150N HL 2700CN HL-2130 HL-S7000DN HL-3040CN HL 1650 HL-6050 HL-5240 HL-5240L HL-1470N HL 3070CW HL 5170DN HL-3450CN HL-3140CW HL 5470DW HL-5140 HL-5440D HL-7050 HL-2240 HL-5040 HL-4070CDW HL-1870N HL-1110 HL-1850 HL 4150CDN HL-8050N HL 5450DN HL 5370DW HL-5050 HL-2140 HL 1270N HL-2600CN HL-6180DW HL-5350DN HL-4050CDN HL-2070N HL-3260N HL-5150D HL-5280DW HL-3170CDW HL-4570CDW HL-3150CDW HL 4040CN HL-4140CN HL 2240D HL 2270DW HL-1250 HL-7050N HL 5340D HL-2250DN HL-1450 HL-L9200CDWT HL-1112 HL-5270DN HL-5450DNT HL-L8250CDN HL 4570CDWT HL-5380DN HL-6180DWT HL-L8350CDW HL-4040CDN HL-L8350CDWT HL-2230 HL-5470DWT HL 2220 HL-1110E HL-1112E