Toshiba B-EP Series Interface Specification page 40

External equipment interface specification
Hide thumbs Also See for B-EP Series:
Table of Contents

Advertisement

* Multiple packet format for including the Data Print Command in several packets
(Host → Printer)
Length is designated in 1 byte:
STX
Printer ID
Length
02H
xxH
xxH
Length is designated in 2 bytes:
STX
Printer ID
02H
xxH
xxH
00H
• Printer ID ......... 2-byte hex data (in order from High to Low)
• Length ............. Hex data indicating the number of bytes of command data
• 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)
Mode
Flag
xxH
Y
xxH
Range of the length
Length
Mode
xxH
xxH
Y
Range of CRC calculation
• 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.
3-9
Command & Data
Flag
Command & Data
xxH
Range of the length
Block No. (0 to 7F)
Final block flag
CHAPTER 3 INTERFACE
B-EP Series
CRC
xxH
xxH
CRC
xxH xxH
0: Final
1: Not final

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents