C O N F I D E N T I A L
Paper roll
Customize commands
GS ( C
Ver. 10.01
p. 557
■
When communication with the printer uses XON/XOFF control with serial interface, the XOFF code may
interrupt the “Header to NUL” data string.
■
The transmission information for each function can be identified to other transmission data according to
specific data of the transmission data block. When the header transmitted by the printer is [hex = 37H/
decimal =55], treat NUL [hex = 00H/decimal =0] as a data group and identify it according to the
combination of the header and the identifier.
[Notes for ESC/POS Handshaking Protocol]
■
Use ESC/POS Handshaking Protocol below for Functions 2 and 5:
(*1)
Response code
(*2)
Processing according to response (unsent data exists, identified by send data set “Identification
status”)
■
Processing the codes except for ACK, NAK, and CAN performs the same processing as
CAN
.
Step Host process
Printer process
1
Send
GS ( C
<
Function 2
>.
Start processing of Function 2. (Read specified record back to host.)
2
Receive data from printer.
Send data in memory.
3
Send response code.
(*1)
Continue processing
(*2) (*3)
according to response.
ASCII
Hex
Decimal
Request
ACK
06
6
Send next data.
NAK
15
21
Resend previously sent data.
CAN
18
24
Cancel send process.
Response code
Process
ACK
Start send processing for next data.
NAK
Resend previously sent data.
CAN
End processing for this command.
Summary of Contents for TM-L90 series
Page 658: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 658 Page 1 Katakana ...
Page 662: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 662 Page 5 PC865 Nordic ...
Page 663: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 663 Page 6 Hiragana ...
Page 666: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 666 Page 16 WPC1252 ...
Page 668: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 668 Page 18 PC852 Latin2 ...
Page 669: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 669 Page 19 PC858 Euro ...