Code 11


[Image:code11 barcode.png|thumb|right|"0123452" encoded in Code 11]
Code 11 is a barcode symbology developed by Intermec in 1977, and it is used primarily in telecommunications. The symbol can encode any length string consisting of the digits 0–9 and the dash character. A twelfth code represents the start/stop character, commonly printed as "*". One or two modulo-11 check digit can be included.
It is a discrete, binary symbology where each digit consists of three bars and two spaces; a single narrow space separates consecutive symbols. The width of a digit is not fixed; three digits have one wide element, while the others have two wide elements.
The valid codes have one wide bar, and may have one additional wide element.
CharacterWidthsBarcode
000001101011
1100011101011
2010011001011
3110001100101
4001011011011
5101001101101
6011001001101
7000111010011
8100101101001
910000110101
-00100101101
Stop/Start001101011001

The decode table has 15 entries because the symbols with two wide bars are listed twice.
Assuming narrow elements are one unit wide and wide elements are two units, the average digit is 7.8 units. This is better than codes with a larger repertoire like Codabar or Code 39, but not quite as good as interleaved 2 of 5. The non-binary symbology Code 128 uses 5.5 units per digit.