50
8.3.6. Barcode Commands
Selects
printing
position of
HRI character
Command: GS H n
<< Code >>
0x1D , 0x48 , n (0≤n≤3 , 48≤n≤51 , initial value n=0)
<< Function >>
Selects the print position of HRI characters when printing
a barcode.
<< Details >>
HRI refers to Human Readable Interpretation.
The HRI character font for barcode printing is fixed as
FONT A (12x24).
Sets
barcode
height
Command: GS h n
<< Code >>
0x1D , 0x68 , n (1≤n≤255 , initial value n=162)
<< Function >>
Sets barcode height to n dots.
Sets width
of barcode
Command: GS w n
<< Code >>
0 x 1D , 0 x 77 , n ( 2≤n≤6 , initial value n=3)
<< Function >>
Specifies barcode width.
Module width of 2-level-barcode
n multi-level-barcode Thin bar Thick bar
(dots) width (dots) width (dots)
2 2 2 5
3 3 3 9
4 4 4 11
5 5 5 14
6 6 6 18