FlexReport for .NET | ComponentOne
Fields / Barcode Field
In This Topic
    Barcode Field
    In This Topic

    Barcodes in FlexReport let you integrate several industry-standard barcodes in Barcode field, that can be quickly and easily generated in your reports. Simply drop the Barcode field barcode icon on your report, select the barcode symbology, provide the text, and you are done!

    The functionality of barcodes in FlexReport further extended by properties associated with them. The checksums to the value being encoded are automatically added to eliminate reader errors.

    Barcode Symbology

    Barcode symbology specifies the encoding scheme used to convert character data into the pattern of wide and narrow bars and spaces in a barcode. The following table illustrates the barcode symbology used in FlexReport.

    Style Name Example Description
    Ansi39

    Barcode ANSI39

    ANSI 3 of 9 (Code 39) uses upper case, numbers, - , * $ / + %. This is the default barcode style.
    Ansi39x Barcode ANSI39x ANSI Extended 3 of 9 (Extended Code 39) uses the complete ASCII character set.
    Codabar Barcode Codebar Codabar uses A B C D + - : . / $ and numbers.
    Code_128_A Barcode Code 128 A Code 128 A uses control characters, numbers, punctuation, and upper case.
    Code_128_B Barcode 128 B Code 128 B uses punctuation, numbers, upper case and lower case.
    Code_128_C Barcode 128 C Code 128 C uses only numbers.
    Code_128auto Barcode Code 128 auto Code 128 Auto uses the complete ASCII character set.  Automatically selects between Code 128 A, B and C to give the smallest barcode.
    Code_2_of_5 Barcode Code 2 of 5 Code 2 of 5 uses only numbers.
    Code93 Barcode Code 93 Code 93 uses uppercase, % $ * / , + -,  and numbers.
    Code25intlv Barcode Code 25 Interleaved 2 of 5 uses only numbers.
    Code39 Barcode Code 39 Code 39 uses numbers, % * $ /. , - +, and upper case.
    Code39x Barcode Code 39x Extended Code 39 uses the complete ASCII character set.
    Code49 Barcode COde 49 Code 49 is a 2D high-density stacked barcode containing two to eight rows of eight characters each. Each row has a start code and a stop code. Encodes the complete ASCII character set.
    Code93x Barcode COde 93 Extended Code 93 uses the complete ASCII character set.
    DataMatrix Barcode DataMatrix Data Matrix is a high density, two-dimensional barcode with square modules arranged in a square or rectangular matrix pattern.
    EAN_13 Barcode EAN 13 EAN-13 uses only numbers (12 numbers and a check digit). It takes only 12 numbers as a string to calculate a check digit (CheckSum) and add it to the thirteenth position. The check digit is an additional digit used to verify that a barcode has been scanned correctly. The check digit is added automatically when the CheckSum property is set to True.
    EAN8 Barcode EAN 8 EAN-8 uses only numbers (7 numbers and a check digit).
    EAN128FNC1 Barcode EAN 128 EAN-128 is an alphanumeric one-dimensional representation of Application Identifier (AI) data for marking containers in the shipping industry.

    This type of barcode contains the following sections:

    • Leading quiet zone (blank area)
    • Code 128 start character
    • FNC (function) 1 character which allows scanners to identify this as an EAN-128 barcode
    • Data (AI plus data field)
    • Symbol check character (Start code value plus product of each character position plus value of each character divided by 103. The checksum is the remainder value.)
    • Stop character
    • Trailing quiet zone (blank area)

    The AI in the Data section sets the type of the data to follow (i.e. ID, dates, quantity, measurements, etc.). There is a specific data structure for each type of data. This AI is what distinguishes the EAN-128 code from Code 128.

    Multiple AIs (along with their data) can be combined into a single barcode.

    EAN128FNC1 is a UCC/EAN-128 (EAN128) type barcode that allows you to insert FNC1 character at any place and adjust the bar size, etc., which is not available in UCC/EAN-128.

    To insert FNC1 character, set “\n” for C#, or “vbLf” for VB to Text property at runtime.

    IntelligentMail Barcode ItelligentMail Intelligent Mail, formerly known as the 4-State Customer Barcode, is a 65-barcode used for domestic mail in the U.S.
    JapanesePostal Barcode Japanese Postal This is the barcode used by the Japanese Postal system. Encodes alpha and numeric characters consisting of 18 digits including a 7-digit postal code number, optionally followed by block and house number information. The data to be encoded can include hyphens.
    Matrix_2_of_5 Barcode Matrix Matrix 2 of 5 is a higher density barcode consisting of 3 black bars and 2 white bars.
    MicroPDF417 Barcode Micro PDF

    MicroPDF417 is two-dimensional (2D), multi-row symbology, derived from PDF417. Micro-PDF417 is designed for applications that need to encode data in a two-dimensional (2D) symbol (up to 150 bytes, 250 alphanumeric characters, or 366 numeric digits) with the minimal symbol size.

    MicroPDF417 allows you to insert an FNC1 character as a field separator for variable length Application Identifiers (AIs).

    To insert FNC1 character, set “\n” for C#, or “vbLf” for VB to Text property at runtime.

    MSI Barcode MSI MSI Code uses only numbers.
    Pdf417 Barcode PDF 417 Pdf417 is a popular high-density 2-dimensional symbology that encodes up to 1108 bytes of information. This barcode consists of a stacked set of smaller barcodes. Encodes the full ASCII character set. It has ten error correction levels and three data compaction modes: Text, Byte, and Numeric. This symbology can encode up to 1,850 alphanumeric characters or 2,710 numeric characters.
    PostNet Barcode PostNet PostNet uses only numbers with a check digit.
    QRCode Barcode QR code QRCode is a 2D symbology that is capable of handling numeric, alphanumeric and byte data as well as Japanese kanji and kana characters. This symbology can encode up to 7,366 characters.
    RM4SCC Barcode RM Royal Mail RM4SCC uses only letters and numbers (with a check digit).  This is the barcode used by the Royal Mail in the United Kingdom.
    RSS14 Barcode RSS RSS14 is a 14-digit Reduced Space Symbology that uses EAN.UCC item identification for point-of-sale omni-directional scanning.
    RSS14Stacked Barcode RSS Stacked RSS14Stacked uses the EAN.UCC information with Indicator digits as in the RSS14Truncated, but stacked in two rows for a smaller width.
    RSS14Stacked allows you to set Composite Options, where you can select the type of the barcode in the Type drop-down list and the value of the composite barcode in the Value field.
    RSS14StackedOmnidirectional Barcode RSS Omni direction RSS14StackedOmnidirectional uses the EAN.UCC information with omni-directional scanning as in the RSS14, but stacked in two rows for a smaller width.
    RSS14Truncated Barcode RSS Truncated RSS14Truncated uses the EAN.UCC information as in the RSS14, but also includes Indicator digits of zero or one for use on small items not scanned at the point of sale.
    RSSExpanded Barcode RSS Expanded

    RSSExpanded uses the EAN.UCC information as in the RSS14, but also adds AI elements such as weight and best-before dates.

    RSSExpanded allows you to insert an FNC1 character as a field separator for variable length Application Identifiers (AIs).

    To insert FNC1 character, set “\n” for C#, or “vbLf” for VB to Text property at runtime.

    RSSExpandedStacked Barcode RSS Expanded Stacked

    RSSExpandedStacked uses the EAN.UCC information with AI elements as in the RSSExpanded, but stacked in two rows for a smaller width.

    RSSExpandedStacked allows you to insert an FNC1 character as a field separator for variable length Application Identifiers (AIs).

    To insert FNC1 character, set “\n” for C#, or “vbLf” for VB to Text property at runtime.

    RSSLimited Barcode RSS limited RSS Limited uses the EAN.UCC information as in the RSS14, but also includes Indicator digits of zero or one for use on small items not scanned at the point of sale.
    RSSLimited allows you to set Composite Options, where you can select the type of the barcode in the Type drop-down list and the value of the composite barcode in the Value field.
    UCCEAN128 Barcode UCCEAN 128 UCC/EAN –128 uses the complete ASCII character Set. This is a special version of Code 128 used in HIBC applications.
    UPC_A Barcode UPC UPC-A uses only numbers (11 numbers and a check digit).
    UPC_E0 Barcode UPC E0 UPC-E0 uses only numbers. Used for zero-compression UPC symbols. For the Caption property, you may enter either a six-digit UPC-E code or a complete 11-digit (includes code type, which must bezero) UPC-A code. If an 11-digit code is entered, the Barcode control will convert it to a six-digit UPC-E code, if possible. If it is not possible to convert from the 11-digit code to the six-digit code, nothing is displayed.
    UPC_E1 Barcode UPC E1 UPC-E1 uses only numbers. Used typically for shelf labeling in the retail environment. The length of the input string for U.P.C. E1 is six numeric characters.

    You can directly insert a barcode field in the FlexReportDesigner using the BarCode property in the Properties window. You can also use Barcode to set the type of BarCode in the barcode field.

    Note that the following barcodes support FNC1 characters:

    Barcode Options

    The BarcodeOptions provides additional properties for rendering barcodes in FlexReport. Following are the common properties exposed by BarcodeOptions:

    Other options exposed by BarcodeOptions corresponding to different barcode styles are as follows:

    Code49:

    DataMatrix:

    GS1Composite:

    MicroPDF417:

    PDF417:

    QRCode

    RssExpandedStacked:

    The quiet zones for barcodes can be specified easily by using MarginBottom, MarginLeft, MarginRight, and MarginTop properties in the Property pane of the FlexReportDesigner.