3.1. 

This table indicates how to encode each digit of a Code 128 bar code.

Note that it is easiest to think of each character as a value between 0 and 105, inclusive, rather than thinking of them as characters.

The character that a value represents depends on what mode (or character set) you're in-so rather than thinking of a character as "A" or "B", etc. it is more appropriate to think of it as 33, 34, etc.

Table 3.1. Encoding Code Table

VALUEWHICH REPRESENTS IN CHARACTER SETENCODINGVALUEWHICH REPRESENTS IN CHARACTER SETENCODING
ABCABC 
00SPSP001101100110053UU5311011101110
01!!011100110110054VV5411101011000
02""021100110011055WW5511101000110
03##031001001100056XX5611100010110
04$$041001000110057YY5711101101000
05%%051000100110058ZZ5811101100010
06&&061001100100059[[5911100011010
07''071001100010060\\6011101111010
08((081000110010061]]6111001000010
09))091100100100062^^6211110001010
10**101100100010063__6310100110000
11++111100010010064NUL`6410100001100
12,,121011001110065SOHa6510010110000
13--131001101110066STXb6610010000110
14..141001100111067ETXc6710000101100
15//151011100110068EOTd6810000100110
1600161001110110069ENQe6910110010000
1711171001110011070ACKf7010110000100
1822181100111001071BELg7110011010000
1933191100101110072BS h7210011000010
2044201100100111073HT i7310000110100
2155211101110010074LF j7410000110010
2266221100111010075VT k7511000010010
2377231110110111076FF l7611001010000
2488241110100110077CR m7711110111010
2599251110010110078SO n7811000010100
26::261110010011079SI o7910001111010
27;;271110110010080DLEp8010100111100
28<<281110011010081DC1q8110010111100
29==291110011001082DC2r8210010011110
30>>301101101100083DC3s8310111100100
31??311101100011084DC4t8410011110100
32@@321100011011085NAKu8510011110010
33AA331010001100086SYNv8611110100100
34BB341000101100087ETBw8711110010100
35CC351000100011088CANx8811110010010
36DD361011000100089EMy8911011011110
37EE371000110100090SUBz9011011110110
38FF381000110001091ESC{9111110110110
39GG391101000100092FS |9210101111000
40HH401100010100093GS }9310100011110
41II411100010001094RS ~9410001011110
42JJ421011011100095US DEL9510111101000
43KK431011000111096FNC3FNC39610111100010
44LL441000110111097FNC2FNC29711110101000
45MM451011101100098SHIFTSHIFT9811110100010
46NN461011100011099Code CCode C 9910111011110
47OO4710001110110100Code BFNC4Code B10111101110
48PP4811101110110101FNC4Code ACode A11101011110
49QQ4911010001110102FNC1FNC1FNC111110101110
50RR5011000101110103START ASTART ASTART A11010000100
51SS5111011101000104START BSTART BSTART B11010010000
52TT5211011100010105START CSTART CSTART C11010011100
  STOPSTOPSTOP11000111010


[Note]Note

There are three type special values:

  • Green Color is Shift Code of Character Set
  • Blue Color is Start character
  • Red Color is Function Code