Code 93

From Wikipedia, the free encyclopedia

"Wikipedia" encoded in Code 93
Enlarge
"Wikipedia" encoded in Code 93

Code 93 is a barcode symbology designed 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 Canadian postal office to encode supplementary delivery information. Every symbol includes two check characters.

Code 93 is designed to encode 26 upper case letters, 10 digits and 7 special characters:

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.

Each Code 93 character is divided into nine modules and always has three bars and three spaces. In this way comes the symbology name.

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.25 inches (6.35 mm), whichever is greater. The starting and trailing quiet zone should be at least 0.25 inches (6.35 mm).

[edit] Structure of a code 93 barcode

A typical code 93 barcode has the following structure:

  • A start character –
  • Message encoded
  • First check character "C"
  • Second check character "K"
  • Stop Character -
  • Termination bar

[edit] Detailed Outline

These tables outline the code 93 specification:

Legend
Format1 Format2 Desc Format3
n w (n)arrow [w]hite (1x) !
N b (N)arrow [b]lack (1x) @
a W n(a)rrow [W]hite (2x) #
A B N(A)rrow [B]lack (2x) $
w h (w)ide W[h]ite (3x) %
W l (W)ide B[l]ack (3x) ^
d H wi(d)e W[H]ite (4x) &
D L Wi(D)e B[L]ack (4x) *


Code Details
ID Char BinaryCode Format1 Format2 Format3
0 0 100010100 NwNnNa bhbwbW @%@!@#
1 1 101001000 NnNaNw bwbWbh @!@#@%
2 2 101000100 NnNwNa bwbhbW @!@%@#
3 3 101000010 NnNdNn bwbHbw @!@&@!
4 4 100101000 NaNnNw bWbwbh @#@!@%
5 5 100100100 NaNaNa bWbWbW @#@#@#
6 6 100100010 NaNwNn bWbhbw @#@%@!
7 7 101010000 NnNnNd bwbwbH @!@!@&
8 8 100010010 NwNaNn bhbWbw @%@#@!
9 9 100001010 NdNnNn bHbwbw @&@!@!
10 A 110101000 AnNnNw Bwbwbh $!@!@%
11 B 110100100 AnNaNa BwbWbW $!@#@#
12 C 110100010 AnNwNn Bwbhbw $!@%@!
13 D 110010100 AaNnNa BWbwbW $#@!@#
14 E 110010010 AaNaNn BWbWbw $#@#@!
15 F 110001010 AwNnNn Bhbwbw $%@!@!
16 G 101101000 NnAnNw bwBwbh @!$!@%
17 H 101100100 NnAaNa bwBWbW @!$#@#
18 I 101100010 NnAwNn bwBhbw @!$%@!
19 J 100110100 NaAnNa bWBwbW @#$!@#
20 K 100011010 NwAnNn bhBwbw @%$!@!
21 L 101011000 NnNnAw bwbwBh @!@!$%
22 M 101001100 NnNaAa bwbWBW @!@#$#
23 N 101000110 NnNwAn bwbhBw @!@%$!
24 O 100101100 NaNnAa bWbwBW @#@!$#
25 P 100010110 NwNnAn bhbwBw @%@!$!
26 Q 110110100 AnAnNa BwBwbW $!$!@#
27 R 110110010 AnAaNn BwBWbw $!$#@!
28 S 110101100 AnNnAa BwbwBW $!@!$#
29 T 110100110 AnNaAn BwbWBw $!@#$!
30 U 110010110 AaNnAn BWbwBw $#@!$!
31 V 110011010 AaAnNn BWBwbw $#$!@!
32 W 101101100 NnAnAa bwBwBW @!$!$#
33 X 101100110 NnAaAn bwBWBw @!$#$!
34 Y 100110110 NaAnAn bWBwBw @#$!$!
35 Z 100111010 NaWnNn bWlwbw @#^!@!
36 - 100101110 NaNnWn bWbwlw @#@!^!
37 . 111010100 WnNnNa lwbwbW ^!@!@#
38 SPACE 111010010 WnNaNn lwbWbw ^!@#@!
39 $ 111001010 WaNnNn lWbwbw ^#@!@!
40 / 101101110 NnAnWn bwBwlw @!$!^!
41 + 101110110 NnWnAn bwlwBw @!^!$!
42 % 110101110 AnNnWn Bwbwlw $!@!^!
43 ($) 100100110 NaNaAn bWbWBw @#@#$!
44 (%) 111011010 WnAnNn lwBwbw ^!$!@!
45 (/) 111010110 WnNnAn lwbwBw ^!@!$!
46 (+) 100110010 NaAaNn bWBWbw @#$#@!
- *Start/Stop 101011110 NnNnDn bwbwLw @!@!*!

[edit] External links