CHAPTER 3 INTERFACE
B-EP
Series
3-8
i
Command packet in the LABEL mode (Host
→
Printer)
Length is designated in 1 byte:
STX Printer
ID
Length
Command
CRC
02H xxH xxH xxH
xxH xxH
Length is designated in 2 bytes:
STX Printer
ID
Length
Command
CRC
02H xxH xxH 00H xxH 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
•
CRC
................
2-byte hex data (in order from Low to High)
* Between the start and the termination of storing the form, a packet including several commands
can be sent. However, the command data should not be included in two packets. For other
commands, one packet should include only one command.
* For all commands except the Graphic Data Store Command, data included in several packets
should not be sent. The Data Print Command can also send data included in several packets
if it is sent using the format on the next page.
Range of the length
Range of the length
Range of CRC calculation