CHAPTER 6 LABEL MODE (INTERFACE COMMANDS)
B-EP
Series
6-43
Examples of using commands in PDF417
~
Form storage
[ESC] ID; 01
H
23
H
[LF] [NUL]
: ID setting
[ESC] XO; 01, 1 [LF] [NUL]
: Declaration of the start of form storage
[ESC] D0360, 0480, 0330 [LF] [NUL]
: Label size setting
[ESC] XB00; 0000, 0000, P, 00, 02, 06, 0, 0010, 00, 1, 0 [LF] [NUL]
: Format of two-dimensional code No. 00
[ESC] XP [LF] [NUL]
: Declaration of the termination of form storage
~
Drawing and issue (for IrDA: TEC Protocol)
Command packet in the case that 300-byte issue data is designated in PDF417
(Since the data length is 250 bytes or more, the data is sent by using the command packet in the
RECEIPT mode.)
[Example]
[STX]
01
H
23
H
de
H
Y 80
H
X 01
H
00
H
03
H
ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
No. of labels to be issued: 3
Transmissive sensor designated,
No status response made
Form
No.:
1
Flag
(Middle
block)
Mode (Fixed at “Y”: Indicates the RECEIPT mode.)
Packet length (de
H
= 222 bytes)
Printer ID (0123
H
)
ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 [CRC] [CRC]
[STX] 01
H
23
H
57
H
Y 01
H
ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
ABCDEFGHIJKL [CRC] [CRC]
Flag
(Middle
block)
Packet length (57
H
= 87 bytes)