Toshiba GC10-QM 用户手册

下载
页码 247
 
- 177 - 
9. STATUS RESPONSE 
9.1  SERIAL INTERFACE 
9.1.1 FUNCTIONS 
There are the following two kinds of status response functions. 
(1)  Status transmission function at the end of normal transmission and occurrence of an error 
(auto status transmission) 
 
If the option for “status response” has been selected, the printer sends status to the host 
computer when the printer performs a feed or completes an issue normally (For batch/cut 
mode: after the designated number of labels are printed, For strip mode: after one label is 
printed).  In the online mode, the head up/down status is sent to the host computer. 
 
When each error occurs, the status is sent to the host computer. 
 
The remaining count in the status response indicates the remaining count of the batch 
currently being printed.  No remaining count of the batch waiting to be printed is transmitted. 
(2)  Status transmission function by status request (Status Request Command) 
 
Upon request to send status by the Status Request Command, the printer sends the latest 
status indicating its current state to the host computer, regardless of the option for “status 
response/no status response” .  The remaining count indicates the remaining count of the 
batch currently being printed.  No remaining count of the batch waiting to be printed is 
transmitted.  This command is not stored in the receive buffer and executed immediately 
when it is received. 
 
•  Strip status  
 
  The strip status (05H) returned by the Status Request Command depends on the system 
mode setting. 
 
   
When the strip status of the system mode is set to “1”: 
 
     
If the Status Request Command is sent when a label is on the strip shaft (for 
example, while idling, after feeding a label, after printing all labels), the printer 
returns (00H). 
 
   
When the strip status of the system mode is set to “2”: 
 
     
If the Status Request Command is sent when a label is on the strip shaft (for 
example, while idling, after feeding a label, after printing all labels), the printer 
returns (05H). 
 
  If the Status Request Command is sent while a label is being printed or issued, the strip 
status (05H) is returned for both settings. 
9.1.2 
STATUS FORMAT 
SOH STX 
Status 
Remaining 
count 
ETX EOT  CR  LF 
01H  02H 3XH 3XH 3XH 3XH 3XH 3XH 3XH 03H  04H 0DH 0AH 
 
Remaining count 
•  0000 ~ 9999 
(Fixed as 0000 in save mode) 
 
Type of status 
 
•  “1” (31H) (Status Request Command) 
 
•  “2” (32H) (Auto status transmission) 
 
Detail status