201
[ESC+BG] Code 128 Barcode
ESC BG ParameterHexadecimal code
<1B>
16
<42>
16
<47>
16
aabbbn...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]
Specifying CODE128 barcode.
[Format]
<BG>aabbbn...n
• Parameter
a [Narrow bar] = Valid Range : 01 to 36 dots
b [Height of Barcode] = Valid Range : 001 to 999 dots
n [Print data] = Barcode data (Refer to the CODE128 – Code Table)
[Coding Example]
Narrow bar width: 02, Barcode height: 120, Print data: ABCD123456 (Start character A)
<A>
<V>100<H>200<BG>02120>GABCD123456
<Q>2
<Z>
[Supplementary Explanation]
• Specify [START CODE] at the head of print data.
◦ START CODE A = [>G]
◦ START CODE B = [>H]
◦ START CODE C = [>I]
• C/D is an auto-generation.
• About "START CODE";
◦ When using "START CODE C", specify print data in even-numbered digit.
◦ When "START CODE C" is set to print data in odd-number digit, specify "START CODE A"
or "B" to change the first one character of print data. And then specify the rest of data with
"Code Set Character C" to change it to even-numbered digit.
e.g.1) 15 digits [123456789012345] : <B>1<C>23456789012345
e.g.2) 9 digits / Alphanumeric 6 digits [123456789ABC123] : <C>12345678<B>9ABC123
◦ When odd digits are specified with START CODE C, the behavior changes depending on
printer settings.