CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS)
B-EP
Series
5-161
5.7.4 TWO-DIMENSIONAL
CODE
DATA COMMAND (MaxiCode) [ESC] RB
Function
Provides data for the two-dimensional code.
Format
For mode 2 or 3:
[ESC] RBaa; bbbbbbbbbcccdddeeeee --- eeeee [LF] [NUL]
For mode 4 or 6:
[ESC] RBaa; fffffffffggggg --- ggggg [LF] [NUL]
Term
aa:
Two-dimensional code number
“Modes 2 and 3”
bbbbbbbbb:
Postal code Fixed at 9 digits
•
Mode
2:
b
1
b
2
b
3
b
4
b
5
:
Zip code
Fixed at 5 digits (Numerics)
b
6
b
7
b
8
b
9
:
Zip code extension Fixed at 4 digits (Numerics)
•
Mode
3:
b
1
b
2
b
3
b
4
b
5
b
6
:
Zip code
Fixed at 6 digits (Character “A” of code set)
b
7
b
8
b
9
:
Vacant
Fixed at 3 digits (20H)
ccc:
Class of service
Fixed at 3 digits (Numerics)
ddd:
Country code
Fixed at 3 digits (Numerics)
eee --- eee: Message data strings
84 digits
“Modes 4 and 6”
fffffffff:
Primary message data strings
9 digits
ggg --- ggg: Secondary message data strings 84 digits