CHAPTER 6 LABEL MODE (INTERFACE COMMANDS)
B-EP
Series
6-37
6.5.6
BARCODE FORMAT COMMAND
(EAN128, UCC/EAN128)
[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, kk, 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
N: EAN128
n: UCC/EAN128
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
kk:
Data
length
00 to 32; only even numbers (for EAN128)
00 or 19 (for UCC/EAN128)
NOTE:
When “00” 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)