
Telpar, Inc. MTP Series Receipt Thermal Printer User Manual
2011 Telpar, Inc. (Rev.20110809)
Page 26
4.2.2.7
Bar Code 128 definitions
Code128 Character set: 103 data chars, three different start characters, and a unique stop character.
CodeA consists of the ASCII characters 00hex thru 5Fhex, FNC1 thru FNC4, Shift, CodeB, and CodeC.
CodeB consists of the ASCII characters 00hex thru 7Fhex, FNC1 thru FNC4, Shift, CodeA, and CodeC.
CodeC consists of 2 digit numeral characters 00dec thru 99dec, FNC1, CodeA, and CodeB.
The 103 different bar code patterns have different meanings depending on whether CodeA, CodeB, or
CodeC was specified when the data was received. The data string must start with {A or {B or {C to specify CodeA,
CodeB, or CodeC. A checksum is calculated and printed by the printer.
Value used
to calculate
checksum
CodeA
CodeB
CodeC
Value used
to calculate
checksum
CodeA
CodeB
Code
C
0
(sp)
(sp)
00
54
V
V
54
1
!
!
01
55
W
W
55
2
"
"
02
56
X
X
56
3
#
#
03
57
Y
Y
57
4
$
$
04
58
Z
Z
58
5
%
%
05
59
[
[
59
6
&
&
6
60
\
\
60
7
'
'
07
61
]
]
61
8
(
(
08
62
^
^
62
9
)
)
09
63
_
_
63
10
*
*
10
64
00hex
`
64
11
+
+
11
65
01hex
a
65
12
,
,
12
66
02hex
b
66
13
-
-
13
67
03hex
c
67
14
.
.
14
68
04hex
d
68
15
/
/
15
69
05hex
e
69
16
0
0
16
70
06hex
f
70
17
1
1
17
71
07hrx
g
71
18
2
2
18
72
08hex
h
72
19
3
3
19
73
09hex
i
73
20
4
4
20
74
0Ahex
j
74
21
5
5
21
75
0Bhex
k
75
22
6
6
22
76
0Chex
l
76
23
7
7
23
77
0Dhex
m
77
24
8
8
24
78
0Ehex
n
78
25
9
9
25
79
0Fhex
o
79
26
:
:
26
80
10hex
p
80
27
;
;
27
81
11hex
q
81
28
<
<
28
82
12hex
r
82
29
=
=
29
83
13hex
s
83
30
>
>
30
84
14hex
t
84
31
?
?
31
85
15hex
u
85