View on GitHub

dotnet-eud

.NET Controls End-User Documentation

Bar Code Recognition Specifics

This document describes the main specifics of bar code recognition and how to resolve the most frequently encountered issues when working with bar codes.

Choose an Appropriate Bar Code Type

Selecting an appropriate bar code type (symbology) depends on your specific business requirements and the applied industrial standards.

In general, consider using Bar Code 2 of 5 Interleaved for encoding digits and Bar Code 39 for encoding the full range of ASCII characters.

Insert the Function Code One Character (FNC1) or the Application Identifier into a Bar Code

Some encodings enable you to insert a special FNC1 character for separating application identifiers from the rest of the bar code.

According to the GS1 specification, the FNC1 character is always inserted at the first position of the encoded data. Other identifiers can be inserted manually using the default “#” character.

Although you can use any ASCII character as the FNC1 placeholder, it will not be a part of the encoded data as it does not have any direct ASCII representation.

[!NOTE] For the Code 128 symbology, only FNC1 characters are currently supported. At present, there is no way to define FNC2 - 4 characters for this bar code.

For the list of the available application identifiers, refer to the official documentation at www.gs1.org.

Specify the Bar Code Resolution on Export to Third-Party Formats

At present, only export to PDF preserves the original bar code in its vector form. Export to other formats will keep only the rasterized version of a bar code (with the default DPI set to 96).

For XLSX and XLS export, the output resolution can be set up manually using the Rasterization Resolution property.

Common Issues

This document section provides solutions to the most common issues that you may encounter when creating bar codes.