Skip to main content
Version: 8.1

Report - Barcode

The Barcode component allows reports to contain dynamically generated barcodes based on how you configure its properties. Barcodes are commonly embedded into unstructured Table Rows, or Labels for printing. When used in set-driven components such as these, each barcode can be encoded to a unique value provided by the driving data source. Note: The actual barcode, as well as any text to be displayed under the barcode, is generated and rendered when the report is executed or opened in the Preview panel.

" "

Report Design Component Palette Icon

" "

There are several types of barcodes formats that serve different uses and industries, and fall into two categories: Standard Barcodes and 2D Barcodes. Standard barcodes represent data by varying the widths and spacings of parallel lines. 2D Barcodes represent data using two-dimensional symbols and shapes, and hold more data than Standard barcodes. Each Barcode Format has specific requirements for what it will encode. The tables below show the different formats that are supported for each category, and provide a brief description including some of the industries they are use in. If you are unsure which code you should be using, please consult your existing barcode documentation.

If you need to create a GSI-128 barcode, you can use the Code128 symbology. Use the following special characters to represent the four GSI function codes:

Function CodeSymbol
ESCAPE_FNC_1ñ
ESCAPE_FNC_2ò
ESCAPE_FNC_3ó
ESCAPE_FNC_4ô

Barcode Formats​

Standard​

" "

Barcode FormatDescriptionIndustry Used
CodabarAlso known as Ames code, encodes a variable length code that supports a limited character set of the following 16 characters, digits 0-9, and symbols -.:$/+. It's easy to print and can be produced by any impact style printer.Logistics, Healthcare, Education
Code 39Encodes a variable length barcode with a limited number, letter and special character set, including capital letters A-Z, digits 0-9, symbols -.$/%, and a space character. The asterisk (*) must be used as a start and stop delimiter. They are used to label goods across many industries.Automotive, Defense
Code 128Encodes a variable length barcode consisting of any of the 128 ASCII character set. They are powerful and can store diversified information.Supply Chain
EAN_8Encodes an 8 digit value used to label consumer goods primarily in Europe. Only used when limited space is available.Retail
EAN_13Encodes 13 digit value, used often as a product identification numbers to label consumer goods primarily in Europe.Retail
ITFEncodes numeric digits as pairs, must be supplied an even number of digits. Used to label packaging materials and are good for printing on corrugated cardboard.Packaging
UPC_AIs the most common form of UPC code consisting of 12 total digits: 11 digits and a checksum. Used to label consumer goods.Retail

2D​

" "

Barcode FormatDescriptionIndustry Used
AztecEncodes up to 3832 digits, 3067 letters or 1914 bytes of data. Used by the transportation system for tickets and airline boarding passes.Transportation
Data_MatrixVariable length and generate 2D barcodes with advanced encoding error checking and correction. Used to label small items, and documentsElectronics, Retail, Government
PDF417Specialized linear scan barcode that can encode alphanumeric test. Used in applications that require storage of huge amounts of data.Logistics, Government
QR_CodeCan generate an image encoding a string of text up to 4,296 alphanumeric characters in length. Supports four different modes of data: numeric, alphanumeric, byte/binary, and Kanji.Retail, Entertainment, Advertising

Properties​

Property Inspector - Configure Barcode Tab​

" "

PropertyDescription
Data KeyKey that will populate the barcode.
Barcode FormatBarcode format to display.
Show TextDetermines if the value of the Data Key should appear on the barcode.
FontEnabling the Show Text option allows the Font configuration to be edited for the displayed text.
Barcode Format InfoDescribes the selected barcode format.

Property Inspector - Properties​

" "

PropertyDescription
DatakeyDatakey for barcode.
Barcode FormatBarcode format to use, see options above.
FontFont type, size, and style for barcode.
Show TextIf true, show barcode value as text. Not available for all barcode types.
OpacityHow opaque the fill color is, between 0 and 1.
Stroke StyleWhat style of stroke or border to use: Hidden, Shape Outline, Border, or Double. To learn more about stroke styles, refer to Stroke and Fill Properties.
StrokeDetails for the chosen stroke. Each Stroke has its own properties depending on the Stroke Style chosen.
RollNumber of degrees this shape is rotated clockwise.
Scale XAmount to scale the width of this shape. 1 is scale to 100%.
Scale YAmount to scale the height of this shape. 1 is scale to 100%.
URL
New in 8.1.19
A link to attach to this reporting component. Will be a clickable hyperlink if the report is exported as a PDF. You can use the values below to link to internal pages.
  • Page:Next - Navigates to the next page.
  • Page:Back - Navigates to the previous page.
  • Page:Number - Replace "Number" with a numeral. Navigates to the specified page.
  • VisibleIf true, the shape will be visible.
    WidthWidth of this shape in pixels.
    HeightHeight of this shape in pixels.
    XHorizontal distance in pixels between the left edge of this shape and the left edge of the page.
    YVertical distance in pixels between the upper edge of this shape and the top edge of the page.

    Example​

    " "

    PropertyValue
    DatakeyProductMap.InventoryLocation
    Barcode FormatData_Matrix

    To add a barcode to a report, simply drag the Barcode component from the Report Design Palette on to your Design panel workspace. You will see a placeholder barcode with its driving data key displayed, and a description of the encoding for the type specified in the Barcode Format field of the Configure Barcode tab. Data Keys can be dropped or typed into the DataKey field, and the driving key will be shown in its appropriate barcode placeholder. The actual barcode, as well as any text to be displayed under the barcode, is generated and rendered when the report is executed or previewed.

    Barcodes require a Data Key or Text to encode. Note that each Barcode Format encoder has specific requirements for what it will encode. Barcode Format Info displays some brief information about the selected format, but is not comprehensive.

    note

    To see an example of embedding a barcode in a DataSource driven component, refer to the Labels with Embedded Barcodes page. The example embeds a barcode in the repeating Labels component to dynamically create coded labels to track items.