- 68 -
In the case of Data Matrix (Two-dimensional code)
Format [ESC] XBaa; bbbb, cccc, d, ee, ff, gg, h (, Ciiijjj) (, Jkkllmmmnnn) (= ooo ------ooo)
[LF] [NUL]
[ESC] XBaa; bbbb, cccc, d, ee, ff, gg, h (, Ciiijjj) (, Jkkllmmmnnn)
(= pp
1
, pp
2
, pp
3
, ------, pp
20
) [LF] [NUL]
Term aa: Bar code number
00 to 31
bbbb: Print origin of X-coordinate of the bar code
Fixed as 4 digits (in 0.1 mm units)
cccc: Print origin of Y-coordinate of the bar code
4 or 5 digits (in 0.1 mm units)
d: Type of bar code
Q: Data Matrix (Two-dimensional code)
ee: ECC type
00 to 14: If value “00” to “14” is designated, barcode command is ignored.
20: ECC200
ff: 1-cell width
00 to 99 (in dots)
gg: Format ID
No function (ignore)
h: Rotational angle of bar code
0: 0°
1: 90°
2: 180°
3: 270°
Ciiijjj: No. of cells
(Omissible. If omitted, it is automatically set.)
iii: No. of cells in X direction 000 to 144
jjj: No. of cells in Y direction 000 to 144
* Cell setting varies according to the ECC type.
ECC200
No. of cells to be
designated
Even numbers only
Min./Max. No. of cells 10 × 10 to 144 × 144
Rectangular code 18 × 8
32 × 8
26 × 12
36 × 12
36 × 16
48 × 16
• When this parameter is omitted, the number of cells is automatically
set. Also, when any data other than the above values is designated
for the number of cells in X and Y directions, the number of cells is
automatically set.