CHAPTER 6 LABEL MODE (INTERFACE COMMANDS)
B-EP
Series
6-36
6.5.5
BARCODE FORMAT COMMAND
(JAN8/EAN8, JAN13/EAN13)
[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
0: JAN/8EAN8
5: JAN13/EAN13
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 to 050 (in 0.1 mm units)
j:
Selection to print numerals under bars
0: Non-print
1: Print
kk:
Data
length
07: JAN8/EAN8
12: JAN13/EAN13
00:
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)