80
FNC2
{2
7Bh, 32h
123, 50
FNC3
{3
7Bh, 33h
123, 51
FNC4
{4
7Bh, 34h
123, 52
“{“
{{
7Bh, 7Bh
123, 123
In addition, the starting character of CODE A, CODE B, or CODE C must be
added at the beginning to distinguish the CODE 128 type.
CODE128
classification
Starting
character
Example of printing barcode data
“ABCD”
CODE A
g
“gABCD"
CODE B
h
“hABCD"
CODE C
i
“iABCD"
GS+‟w‟+n
Function
Sets the horizontal size of the barcode.
Code
ASCII
GS
w
n
Hex
1D
77h
n
Decimal 29
119
n
Range
1≤n≤4
Initial value
n=2
Description
Sets the horizontal size of the barcode.
n
Multi-level barcode
Module width
2-level barcode
Narrow element
Wide element
1
0.25mm
0.125mm
0.375mm
2
0.375mm
0.25mm
0.625mm
3
0.5mm
0.375mm
1mm
4
0.625mm
0.5mm
1.25mm
* Multi-level barcode: UPC-E, EAN13, EAN8
* 2-level barcode: CODE39, ITF, CODABAR
www.compodis.com