CHAPTER 3 INTERFACE
B-EP
Series
3-9
* Multiple packet format for including the Data Print Command in several packets
(Host
→
Printer)
Length is designated in 1 byte:
STX
Printer ID
Length Mode
Flag
Command & Data
CRC
02H
xxH
xxH
xxH Y xxH
xxH
xxH
Length is designated in 2 bytes:
STX
Printer ID
Length
Mode
Flag
Command & Data
CRC
02H xxH xxH 00H xxH xxH
Y xxH
xxH
xxH
• Printer ID ......... 2-byte hex data (in order from High to Low)
• Length ............. Hex data indicating the number of bytes of command data
• When the length is designated in 1 byte: 1 byte
01H to FFH
• When the length is designated in 2 bytes: 3 bytes
The first 1 byte is fixed at 00H.
Designate the length using the remaining 2 bytes.
(in order from Low to High): 0001 H to 0FFFH
NOTE:
Up to 4 KB per one packet can be sent. However, total data
amount from the first block to the final block must be 60 KB or
less.
• Mode ............... Fixed at “Y”
•
Flag
.................
Flag
indicating the block No. or the final block flag for the receipt issue
(1 byte)
•
CRC
................
2-byte hex data (in order from Low to High)
Range of the length
Range of the length
Range of CRC calculation
Block No. (0 to 7F)
Final block flag 0: Final
1: Not final