24
26) Barcode print
:<< GS k n Dn NUL>>
Code
: [ 1D] h + [ 6B ] h + n + Dn + [ 00 ] h
* [00
≤
n
≤
07] h
Description : Selects barcode symbology and prints barcode.
Next print start position is the head of a line.
Following is the barcode symbology
n(hex)
barcode symbology
00
UPC-A
01
UPC-E
02
JAN-13
(EAN-13)
03
JAN-8
(EAN-8)
04
CODE39
05
ITF
06
CODABAR
(NW-7)
07
CODE128
*When the number of printing characters is fixed, make sure the that number of
characters should correspond to that of being printed.
*If horizontal data exceed one line, the exceeded data cannot be printed.
27) Barcode width size select
:<< GS w n >>
Code
: [1D] h + [77] h + n
* [02
≤
n
≤
04] h
Description : Selects width of barcode
The default value of n is [03] h.
28) Barcode height select
:<< GS h n >>
Code
: [1D] h + [68] h + n
* [01
≤
n
≤
FF] h
Description : Assigns barcode height by dots.
Explanation : “n” shows the vertical dot number
*The default value of n is [A2] h, or 162 dots.
*Assign “n” value so that it matches to the barcode reader
specification for readable area.
29) Select of HRI character print position :<< GS H n >>
Code
: [1D] h + [48] h + n
* [00
≤
n
≤
03] h
Description : selects HRI character print position in printing barcode.
n has the following meaning.
n(hex)
print position
00
no
printing
01
above
barcode
02
below
barcode
03
above & below barcode
HRI characters are printed in the characters selected by [HRI
character style select].
Default value of n is [00] h.