, also known as USD-8, was developed
as a high-density numeric-only symbology. It is used primarily in
labeling telecommunications equipment. The symbology is discrete
and is able to encode the numbers 0 through 9, the dash symbol (-),
and start/stop characters.
Each character is encoded with three bars and two
spaces. Of these five elements, there may be two wide and three
narrow, or one wide and four narrow. Wide elements represent a
binary 1 while narrow elements represent a binary 0.
Two check digits, named C and K, are used. Normally, if the
length of the message to encoded is less than 10 characters only
one checksum ('C') is used, whereas both 'C' and 'K' are used if
the message is 10 characters or longer. The check digits are the
result of a Modulo 11 division of the sum of the products of each
digit times a weight factor. The weights for the C check
digit range from 1 to 10 while the weights for the K check digit
range from 1 to 9. Weights start at the right end of the data
and increment towards the left. The dash character has a
value of 10 for purposes of check digit calculation.
Code 11 Character Set
The numbers in the table correspond to the width of the element. A
0 means the element is narrow, and a 1 means the element is
|ENCODING(Bar, Space, Bar, Space,
Since the first and last element of every character is always a
bar, a narrow space is appended at the end of each character to
separate the last bar of a character from the first bar of the
character that follows.
The complete barcode is concatenating a start character + data +
C + K + stop character.
Code 11 examples by using ezBarcodeComponent
//create barcode class
Barcode barcode1 = new Barcode();
//Specify the CodeData to encode
barcode1.CodeData = "0123456789";
//Set the Symbology to Code11
barcode1.Symbology = Symbologies.Code11;
barcode1.CheckCharacterInText = true;
//Save the image
'create barcode class
Dim barcode1 As New Barcode
'Specify the CodeData to encode
barcode1.CodeData = "0123456789"
'Set the Symbology to Code11
barcode1.Symbology = Symbologies.Code11
barcode1.CheckCharacterInText = True
'Save the image
Example of Code 11 barcode images. The lase digit 0 is
the check sum digit.