221
[ESC+BL] ~ [ESC+d] UPC-A Barcode (Specifying HRl)
ESC BL
~
d ParameterHexadecimal code
<1B>
16
<42>
16
<4C>
16
~ character
type
abbcccn...n ~ <d>n...n
Initial value Nil
When the power is OFF The set parameter is not maintained.
Valid range within items The set parameter becomes invalid.
Valid range and term of
command
Valid range between items The set parameter becomes invalid.
[Function]
Set the height of character barcode of the first digit and the last digit to the same height of the guard
bar.
[Format]
<BL>abbcccn...n ~ <d>n...n
• Parameter
a [Barcode type] = H
:
UPC-A (Fixed ‘H’)
b [Narrow bar] = Valid Range
:
01 to 36 dots
c [Height of barcode] = Valid range
:
001 to 999 dots
n [Print data] = Data
:
Fixed 11 digit
d [Font type]
OA
OB
XU
XS
XM
XB
XL
U
S
M
WB
WL
n [Print data] = HRI data
:
fixed 12 digits
[Coding Example]
Barcode type: UPC-A, Narrow bar width: 02. Barcode height: 120, Print data: 01234567890, Font
type: XS, HRI data: 01234567890
<A>
<V>100<H>100<BL>H0212001234567890
<XS>01234567890
<Q>2
<Z>