ComponentOne BarCode for ASP.NET Web Forms
Using BarCode / Supported Encodings
In This Topic
    Supported Encodings
    In This Topic

    You can change the C1BarCode encoding type by setting the C1BarCode.CodeType property. The C1BarCode control supports the following encodings:

    Encoding

    Barcode Image

    Description

    Codabar

    Codabar may encode 16 different characters (0 through 9 plus -$:/.+), plus an additional 4 start/stop characters (A through D). Codabar is used by some US blood banks, photo labs, and on FedEx airbills.

    Code128

    Code 128 is a very high density alpha-numeric barcode. It will use the least amount of space of any current 1-D symbology for symbols with 6 characters or more.

    Code39

    Code 39 is an alpha-numeric encoding also known as 3 of 9 and LOGMARS. This was the first alphanumeric symbology developed, and is one of the most widely used encodings.

    Code93

    Code 93 is an alpha-numeric encoding that is slightly denser than code 39.

    CodeI2of5

    Code I2of5 is a numeric encoding. The symbol can be as long as necessary to store the encoded data.

    Ean13

    EAN-13 was implemented by the International Article Numbering Association (EAN) in Europe. EAN-13 encodes a 12-digit code that consists of a 2 digit system code followed by a 5 digit manufacturer code and a 5-digit product code. The 12-digit code is followed by a checksum digit (automatically added by the control).

    Ean8

    EAN-8 provides a short barcode for small packages. It encodes a 7-digit code that consists of a 2 or 3 digit system code followed by a 4 or 5 digit product code. The 7-digit code is followed by a checksum digit (automatically added by the control).

    PostNet

    PostNet is a numeric encoding used by the US postal service. It differs from most others in that it is based on the height of the bars rather than on their width.

    UpcA

    UPC-A is the the common encoding you will find on virtually every consumer good on the shelves of your local supermarket, as well as books, magazines, and newspapers. It is similar to EAN-13, and encodes 11 digits of numeric data along with a trailing check digit.

    UpcE

    UPC-E is a variation of UPC-A which allows for a more compact barcode by eliminating "extra" zeros. Since the resulting UPC-E barcode is about half the size of a UPC-A barcode, it is generally used on products with very small packaging.

    When using the UPC-E encoding, set the C1BarCode.Text property to an 11-digit string as if you were using the UPC-A encoding.

    Note that not all UpcA codes can be encoded in UpcE. If the manufacturer code ends with "000", "100", or "200", the product number must be <= 900. If the manufacturer code ends with "00" but not with "100", "200", or "300", then the product number must be <= 90. If the manufacturer code ends with "0" but not with "00", then the product number must be <= 9. If the manufacturer code does not end with "0", then the product number must be between 5 and 9.

    See Also