只是为了记录一下看到的一个好表。这个表可以让你手动去画出一个Code128码。
Code128的结构是 空白区+起始符+数据+校验码+终止码。连续着画上去就行。这个表啥都有了。对应着画就是了。还有一位大牛能背下这个表。可以不用查表就画码。
Code 128 码值对照表 | ||||||||||
码值
| Code Set | Code Set | Code Set | Bar/Space Pattern | 码值 | Code Set | Code Set | Code Set | Bar/Space Pattern | |
A | B | C | B S B S B S | A | B | C | B S B S B S | |||
0 | SP | SP | 0 | 2 1 2 2 2 2 | 54 | V | V | 54 | 3 1 1 1 2 3 | |
1 | ! | ! | 1 | 2 2 2 1 2 2 | 55 | W | W | 55 | 3 1 1 3 2 1 | |
2 | " | " | 2 | 2 2 2 2 2 1 | 56 | X | X | 56 | 3 3 1 1 2 1 | |
3 | # | # | 3 | 1 2 1 2 2 3 | 57 | Y | Y | 57 | 3 1 2 1 1 3 | |
4 | $ | $ | 4 | 1 2 1 3 2 2 | 58 | Z | Z | 58 | 3 1 2 3 1 1 | |
5 | % | % | 5 | 1 3 1 2 2 2 | 59 | [ | [ | 59 | 3 3 2 1 1 1 | |
6 | & | & | 6 | 1 2 2 2 1 3 | 60 | \ | \ | 60 | 3 1 4 1 1 1 | |
7 | ' | ' | 7 | 1 2 2 3 1 2 | 61 | ] | ] | 61 | 2 2 1 4 1 1 | |
8 | ( | ( | 8 | 1 3 2 2 1 2 | 62 | ^ | ^ | 62 | 4 3 1 1 1 1 | |
9 | ) | ) | 9 | 2 2 1 2 1 3 | 63 | _ | _ | 63 | 1 1 1 2 2 4 | |
10 | * | * | 10 | 2 2 1 3 1 2 | 64 | NUL | ` | 64 | 1 1 1 4 2 2 | |
11 | + | + | 11 | 2 3 1 2 1 2 | 65 | SOH | a | 65 | 1 2 1 1 2 4 | |
12 | , | , | 12 | 1 1 2 2 3 2 | 66 | STX | b | 66 | 1 2 1 4 2 1 | |
13 | - | - | 13 | 1 2 2 1 3 2 | 67 | ETX | c | 67 | 1 4 1 1 2 2 | |
14 | . | . | 14 | 1 2 2 2 3 1 | 68 | EOT | d | 68 | 1 4 1 2 2 1 | |
15 | / | / | 15 | 1 1 3 2 2 2 | 69 | ENQ | e | 69 | 1 1 2 2 1 4 | |
16 | 0 | 0 | 16 | 1 2 3 1 2 2 | 70 | ACK | f | 70 | 1 1 2 4 1 2 | |
17 | 1 | 1 | 17 | 1 2 3 2 2 1 | 71 | BEL | g | 71 | 1 2 2 1 1 4 | |
18 | 2 | 2 | 18 | 2 2 3 2 1 1 | 72 | BS | h | 72 | 1 2 2 4 1 1 | |
19 | 3 | 3 | 19 | 2 2 1 1 3 2 | 73 | HT | i | 73 | 1 4 2 1 1 2 | |
20 | 4 | 4 | 20 | 2 2 1 2 3 1 | 74 | LF | j | 74 | 1 4 2 2 1 1 | |
21 | 5 | 5 | 21 | 2 1 3 2 1 2 | 75 | VT | k | 75 | 2 4 1 2 1 1 | |
22 | 6 | 6 | 22 | 2 2 3 1 1 2 | 76 | FF | I | 76 | 2 2 1 1 1 4 | |
23 | 7 | 7 | 23 | 3 1 2 1 3 1 | 77 | CR | m | 77 | 4 1 3 1 1 1 | |
24 | 8 | 8 | 24 | 3 1 1 2 2 2 | 78 | SO | n | 78 | 2 4 1 1 1 2 | |
25 | 9 | 9 | 25 | 3 2 1 1 2 2 | 79 | SI | o | 79 | 1 3 4 1 1 1 | |
26 | : | : | 26 | 3 2 1 2 2 1 | 80 | DLE | p | 80 | 1 1 1 2 4 2 | |
27 | ; | ; | 27 | 3 1 2 2 1 2 | 81 | DC1 | q | 81 | 1 2 1 1 4 2 | |
28 | < | < | 28 | 3 2 2 1 1 2 | 82 | DC2 | r | 82 | 1 2 1 2 4 1 | |
29 | = | = | 29 | 3 2 2 2 1 1 | 83 | DC3 | s | 83 | 1 1 4 2 1 2 | |
30 | > | > | 30 | 2 1 2 1 2 3 | 84 | DC4 | t | 84 | 1 2 4 1 1 2 | |
31 | ? | ? | 31 | 2 1 2 3 2 1 | 85 | NAK | u | 85 | 1 2 4 2 1 1 | |
32 | @ | @ | 32 | 2 3 2 1 2 1 | 86 | SYN | v | 86 | 4 1 1 2 1 2 | |
33 | A | A | 33 | 1 1 1 3 2 3 | 87 | ETB | w | 87 | 4 2 1 1 1 2 | |
34 | B | B | 34 | 1 3 1 1 2 3 | 88 | CAN | x | 88 | 4 2 1 2 1 1 | |
35 | C | C | 35 | 1 3 1 3 2 1 | 89 | EM | y | 89 | 2 1 2 1 4 1 | |
36 | D | D | 36 | 1 1 2 3 1 3 | 90 | SUB | z | 90 | 2 1 4 1 2 1 | |
37 | E | E | 37 | 1 3 2 1 1 3 | 91 | ESC | { | 91 | 4 1 2 1 2 1 | |
38 | F | F | 38 | 1 3 2 3 1 1 | 92 | FS | | | 92 | 1 1 1 1 4 3 | |
39 | G | G | 39 | 2 1 1 3 1 3 | 93 | GS | } | 93 | 1 1 1 3 4 1 | |
40 | H | H | 40 | 2 3 1 1 1 3 | 94 | RS | ~ | 94 | 1 3 1 1 4 1 | |
41 | I | I | 41 | 2 3 1 3 1 1 | 95 | US | DEL | 95 | 1 1 4 1 1 3 | |
42 | J | J | 42 | 1 1 2 1 3 3 | 96 | FNC 3 | FNC 3 | 96 | 1 1 4 3 1 1 | |
43 | K | K | 43 | 1 1 2 3 3 1 | 97 | FNC 2 | FNC 2 | 97 | 4 1 1 1 1 3 | |
44 | L | L | 44 | 1 3 2 1 3 1 | 98 | SHIFT | SHIFT | 98 | 4 1 1 3 1 1 | |
45 | M | M | 45 | 1 1 3 1 2 3 | 99 | CODE C | CODE C | 99 | 1 1 3 1 4 1 | |
46 | N | N | 46 | 1 1 3 3 2 1 | 100 | CODE B | FNC 4 | CODE B | 1 1 4 1 3 1 | |
47 | O | O | 47 | 1 3 3 1 2 1 | 101 | FNC 4 | CODE A | CODE A | 3 1 1 1 4 1 | |
48 | P | P | 48 | 3 1 3 1 2 1 | 102 | FNC 1 | FNC 1 | FNC 1 | 4 1 1 1 3 1 | |
49 | Q | Q | 49 | 2 1 1 3 3 1 | 103 | Start A | Start A | Start A | 2 1 1 4 1 2 | |
50 | R | R | 50 | 2 3 1 1 3 1 | 104 | Start B | Start B | Start B | 2 1 1 2 1 4 | |
51 | S | S | 51 | 2 1 3 1 1 3 | 105 | Start C | Start C | Start C | 2 1 1 2 3 2 | |
52 | T | T | 52 | 2 1 3 3 1 1 | 106 | Stop | Stop | Stop | 2 3 3 1 1 1 2 |