Programmer’s Guide
TH200
103
Appendix J
Code 128 bar code
K.1 Description of the CODE128 Bar Code
In CODE128 bar code system, it is possible to represent 128 ASCII characters and 2-digit numerals
using one bar code character that is defined by combining one of the 103 bar code characters and 3
code sets. Each code set is used for representing the following characters:
Code set A: ASCII characters 00H to 5FH
Code set B: ASCII characters 20H to 7FH
Code set C: 2-digit numeral characters using one character (100 numerals from 00 to 99) The
following special characters are also available in CODE128:
SHIFT characters
In code set A, the character just after SHIFT is processed as a character for code set B. In code
set B, the character just after SHIFT is processed as a character for code set A. SHIFT
characters cannot be used in code set C.
Code set selection character (CODE A, CODE B, CODE C).
This character switches the following code set to code set A, B, or C.
Function character (FNC1, FNC2, FNC3, FNC4)
The usage of function characters depends on the application software. In code set C, only
FNC1 is available.
K.2 Code Tables
Printable characters in code set A
Transmit Data
Transmit Data
Transmit Data
Character
Hex
Decimal
Character
Hex
Decimal
Character
Hex
Decimal
NULL
SOH
STX
ETX
EOT
ENQ
ACK
BEL
BS
HT
LF
VT
FF
CR
SO
SI
DLE
DC1
00
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
10
11
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(
)
*
+
,
-
.
/
0
1
2
3
4
5
6
7
8
9
28
29
2A
2B
2C
2D
2E
2F
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
P
Q
R
S
T
U
V
W
X
Y
Z
[
\
]
^
_
FNC1
FNC2
50
51
52
53
54
55
56
57
58
59
5A
5B
5C
5D
5E
5F
7B,31
7B,32
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
123,49
123,50
Summary of Contents for TH200
Page 1: ...TH200 High Speed Thermal Printer Programmer s Guide TH200 March 2005 ...
Page 19: ...Programmer s Guide TH200 19 When font B 9 17 is selected ...
Page 21: ...Programmer s Guide TH200 21 When 24 dot bit image is selected ...
Page 73: ...Programmer s Guide TH200 73 pattern 3 2 PAGE1 Katakana ...
Page 74: ...Programmer s Guide TH200 74 3 3 Page 2 PC850 Multilingual ...
Page 75: ...Programmer s Guide TH200 75 3 4 Page 3 PC860 Portuguese ...
Page 76: ...Programmer s Guide TH200 76 3 5 Page 4 PC863 Canadian French ...
Page 77: ...Programmer s Guide TH200 77 3 6 Page 5 PC865 Nordic ...
Page 78: ...Programmer s Guide TH200 78 3 7 Page 18 PC852 Latin2 ...
Page 79: ...Programmer s Guide TH200 79 3 8 Page 19 PC858 ...
Page 80: ...Programmer s Guide TH200 80 3 9 Page 16 WPC1252 ...
Page 81: ...Programmer s Guide TH200 81 3 10 Page 17 PC866 Cyrillic 2 ...
Page 82: ...Programmer s Guide TH200 82 3 11 Thai character code 11 ...
Page 83: ...Programmer s Guide TH200 83 3 12 International Character Set ...