8.5. Status Response Syntax; 8.5.1. Set status readback location type; 8.5.2. Set status readback location unit- Page 129

Brother HL-1870N Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 2 PCL - 109 

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 

currently selected location 

2 - 

all 

locations 

all internal entities 

Detailed Information for Brother HL-1870N Command Reference Guide for Software Developers

Lists of information found in Brother HL-1870N Command Reference Guide for Software Developers - Page 129

  • 8.5.
  • 8.5.
  • 1. Set status readback location type ESC*s#T (27)(42)(115)#(84) &lt;1Bh&gt;&lt;2Ah&gt;&lt;73h&gt;#&lt;54h&gt; This command determines the status location type according to the value of #.
  • 8.5.
  • 2. Set status readback location unit ESC*s#U (27)(42)(115)#(85) &lt;1Bh&gt;&lt;2Ah&gt;&lt;73h&gt;#&lt;55h&gt; ï‚Ÿ The status location unit is selected by the value of #.

Related Documents for Brother HL-1870N Command Reference Guide for Software Developers