CHAPTER 6 LABEL MODE (INTERFACE COMMANDS)
B-EP
Series
6-38
6.5.7
BARCODE FORMAT COMMAND
(CODE128)
[ESC]
XB
Function
Sets the format to indicate the position on the label, at which the barcode is to be
printed and how it is to be printed.
Format
[ESC] XBaa; bbbb, cccc, d, e, ff, g, hhhh, iii, j, kkk, l, m [LF] [NUL]
Term
aa:
Barcode
No.
00 to 99
(The same No. must not be used in one form for the bit map font field, the
outline font field, and the barcode field.)
bbbb: Print origin of X-coordinate of barcode
Fixed at 4 digits (in 0.1 mm units)
cccc: Print origin of Y-coordinate of barcode
Fixed at 4 digits (in 0.1 mm units)
d:
Type of barcode
9: CODE128
e:
Type of check digit
3 (Fixed value): Check digit auto attachment
ff:
1-module
width
02 to 03 (in units of dots)
g:
Rotational angle of barcode
0: 0°
1: 90°
2: 180°
3: 270°
hhhh: Height of barcode
0001 to 0350 (in 0.1 mm units)
iii:
Length of guard bar
000 (Fixed value)
j:
Selection to print numerals under bars
0: Non-print
1: Print
kkk:
Data
length
00 to 100 (Both odd and even numbers)
NOTES:
1. A two-digit value (00 to 99) is also available.
2. When “00” or “000” is designated, the length is equivalent to
the data sent by the Data Print Command.
JIS8 code: Data which is delimited by [LF]
Packed BCD code: Data which is delimited by “F”
l:
Data
code
1: JIS8 code
2: Packed BCD code (only for IrDA: TEC Protocol)
m:
Fixed data No.
0 (Fixed value)