Code 93 Explained

Code 93 is a barcode symbology designed in 1982 by Intermec to provide a higher density and data security enhancement to Code 39. It is an alphanumeric, variable length symbology. Code 93 is used primarily by Canada Post to encode supplementary delivery information. Every symbol includes two check characters.

Each Code 93 character is nine modules wide, and always has three bars and three spaces, thus the name. Each bar and space is from 1 to 4 modules wide. (For comparison, a Code 39 character consists of five bars and four spaces, three of which are wide, for a total width of 13 - 16 modules.)

Code 93 is designed to encode the same 26 upper case letters, 10 digits and 7 special characters as code 39:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

0 1 2 3 4 5 6 7 8 9

- . $ / + % SPACE

In addition to 43 characters, Code 93 defines 5 special characters (including a start/stop character), which can be combined with other characters to unambiguously represent all 128 ASCII characters.

In an open system, the minimum value of X dimension is 7.5 mils (0.19 mm). The minimum bar height is 15 percent of the symbol length or 0.25inches, whichever is greater. The starting and trailing quiet zone should be at least 0.25inches.

Structure of a code 93 barcode

A typical code 93 barcode has the following structure:

Detailed outline

The 48 possible code-93 symbols are as follows. There are actually

\tbinom83

= 56 combinations that satisfy the coding rules, but one would be confused with the stop symbol in reverse, and the other 7 are unused. Codes 43–46 can be prefixed to alphanumeric values to produce all 128 possible ASCII codes. This is done in exactly the same way as Full ASCII Code 39, but uses reserved codes rather than re-using codes 39–42.
Character Widths BinaryID Character Widths Binary
0 0 131112 10001010028 S 211122 110101100
1 1 111213 10100100029 T 211221 110100110
2 2 111312 10100010030 U 221121 110010110
3 3 111411 10100001031 V 222111 110011010
4 4 121113 10010100032 W 112122 101101100
5 5 121212 10010010033 X 112221 101100110
6 6 121311 10010001034 Y 122121 100110110
7 7 111114 10101000035 Z 123111 100111010
8 8 131211 10001001036 - 121131 100101110
9 9 141111 10000101037 . 311112 111010100
10 A 211113 11010100038 SPACE311211 111010010
11 B 211212 11010010039 $ 321111 111001010
12 C 211311 11010001040 / 112131 101101110
13 D 221112 11001010041 + 113121 101110110
14 E 221211 11001001042 % 211131 110101110
15 F 231111 11000101043 ($)121221 100100110
16 G 112113 10110100044 (%)312111 111011010
17 H 112212 10110010045 (/)311121 111010110
18 I 112311 10110001046 (+)122211 100110010
19 J 122112 100110100Start/Stop * 111141 101011110
20 K 132111 100011010(Reverse stop) 114111 101111010
21 L 111123 101011000Unused 411111 111101010
22 M 111222 101001100111132 101011100
23 N 111321 101000110111231 101001110
24 O 121122 100101100113112 101110100
25 P 131121 100010110113211 101110010
26 Q 212112 110110100213111 110111010
27 R 212211 110110010212121 110110110

Full ASCII Code 93

Code 93 is restricted to 43 characters and 5 special characters. In Full ASCII Code 93, the 43 basic symbols (0–9, A-Z, "-", ".", "$", "/", "+" and "%") are the same as their representations in Code 93. Lower case letters, additional punctuation characters and control characters are represented by sequences of two characters of Code 93.

This encoding is the same as Full ASCII Code 39, except that four special-purpose symbols are used, rather than reassigning $, /, + and %:

Code details
NrCharacterEncoding   NrCharacterEncoding   NrCharacterEncoding   NrCharacterEncoding
0NUL(%)U32[space][space]64@(%)V96`(%)W
1SOH($)A33!(/)A65AA97a(+)A
2STX($)B34"(/)B66BB98b(+)B
3ETX($)C35(/)C67CC99c(+)C
4EOT($)D36$$68DD100d(+)D
5ENQ($)E37%%69EE101e(+)E
6ACK($)F38&(/)F70FF102f(+)F
7BEL($)G39'(/)G71GG103g(+)G
8BS($)H40((/)H72HH104h(+)H
9HT($)I41)(/)I73II105i(+)I
10LF($)J42(/)J74JJ106j(+)J
11VT($)K43++75KK107k(+)K
12FF($)L44,(/)L76LL108l(+)L
13CR($)M45--77MM109m(+)M
14SO($)N46..78NN110n(+)N
15SI($)O47//79OO111o(+)O
16DLE($)P480080PP112p(+)P
17DC1($)Q491181QQ113q(+)Q
18DC2($)R502282RR114r(+)R
19DC3($)S513383SS115s(+)S
20DC4($)T524484TT116t(+)T
21NAK($)U535585UU117u(+)U
22SYN($)V546686VV118v(+)V
23ETB($)W557787WW119w(+)W
24CAN($)X568888XX120x(+)X
25EM($)Y579989YY121y(+)Y
26SUB($)Z58(/)Z90ZZ122z(+)Z
27ESC(%)A59(%)F91[||(%)K | 123||{||(%)P |- style="background:#F0F0F0" | 28||FS||(%)B | 60||<||(%)G | 92||\||(%)L | 124||<nowiki>|</nowiki>||(%)Q |- style="background:#F0F0F0" | 29||GS||(%)C | 61||=||(%)H | 93||]||(%)M| 125||}||(%)R|- style="background:#F0F0F0"| 30||RS||(%)D| 62||>||(%)I| 94||^||(%)N| 126||~||(%)S|- style="background:#F0F0F0"| 31||US||(%)E| 63||?||(%)J| 95||_||(%)O| 127||DEL||(%)T, (%)X, (%)Y, (%)Z|}

References

  • http://www.barcodeisland.com/code93.phtml Bar code Island's description of the code.

External links

]