78
ESC+BG CODE128 (128A, 128B, 128C)
Persistence of
the command
When printer is powered off
Set parameter will not be retained
Becomes invalid after execution
Becomes invalid after the job
[Function]
Specifies CODE128 (128A, 128B, 128C) barcode.
[Format]
<BG>aabbbn~n
●Parameter
a Narrow bar width = Valid range : 01 to 12 dots
b Barcode height = Valid range : 001 to 999 dots
n Print data = Barcode data (see code table on the next page)
[Coding Example] Narrow bar width: 02, Barcode height: 120, Print data: ABCD123456 (START CODE A)
<A>
<V>100<H>200
<BG>02120>GABCD123456
<Q>2
<Z>
[Notes]
1. Add valid start code respectively for Type(A,B,C).
(1)START CODE A = [>G]
(2)START CODE B = [>H]
(3)START CODE C = [>I]
2. C/D will be automatically added.
3. To use CODE128 (128A, 128B, 128C) START CODE C, length of the print data (number of digits) shall be even.
4. In case data length(number of digits) is only an odd number for START CODE C, you may first select START CODE A or B, and
add one digit, then switch to code set character C to make the total data length even. (Example below)
e.g.1) 15 digits [123456789012345] : <B>1<C>23456789012345
e.g.2) 9 numeric/6 alphanumeric 123456789ABC123 : <C>12345678<B>9ABC123
5. If data length is an odd number for START CODE C, “0”will be automatically added to the end of the data.
6. If START CODE is omitted, the data will be printed with START CODE B.
CODE128 (128A, 128B, 128C)