BIRT Data Matrix Generator Tutorial
Generate barcode Data Matrix images in BIRT Reports
Download BIRT Barcode Generator Free Evaluation Package
Purchase BIRT Barcode Generator Plugin License
We tested several barcode solutions for our project, and found this one the most reliable barcoding software.
- Tim Martin, NYC

BIRT Data Matrix Generator to Generate DataMatrix in BIRT Reports

  • Easy to generate Data Matrix barcodes in BIRT reports
  • Simple to redistribute BIRT Data Matrix barcode library (jar)
  • No registration key or activation code needed
  • Generating high quality Data Matrix Bar Code images in GIF format
  • Completely developed in Eclipse BIRT Custom Extended Report Item framework
  • Mature BIRT Data Matrix barcode generation plugin using Java Barcode Generator library

BIRT Barcode Data Matrix Generator Introduction
Top
BIRT Barcode is an Eclipse BIRT Custom Extended Report Item which helps you easily generate and print high quality 1D (linear) and 2D (matrix) barcodes in your BIRT reports.

Barcode Data Matrix Introduction

Data Matrix code is a two-dimensional matrix barcode consisting of black and white "cells" or modules arranged in either a square or rectangular pattern. The information to be encoded can be text or raw data. Usual data size is from a few bytes up to 2 kilobytes. The length of the encoded data depends on the symbol dimension used. Error correction codes are added to increase symbol strength: even if they are partially damaged, they can still be read. A Data Matrix symbol can store up to 2,335 alphanumeric characters.

BIRT Data Matrix Generator - Valid Data Scope

  • All 128 characters of ASCII
  • Values 128-255 in accordance with ISO 8859-1. There are referred to as extended ASCII.

Data Matrix Generators

How to Generate Data Matrix in BIRT Report
Top
Below is a quick look for generating & printing Data Matrix 2D barcodes in BIRT.
For detailed developer guide, please view here: BIRT Barcode Generator - Developer Guide
  1. Copy com.onbarcode.barcode.birt_2.2.1.jar to your Eclipse plugins directory "\eclipse\plugins\"
  2. Create a new empty report in your BIRT Report barcoding project
  3. Open View "Palette", and add report item "Barcode" to your created BIRT report
  4. Right click the report item you have added, and select "Properties" menu item to edit barcode parameters
  5. You will find all barcode properties in the "General" tab. Please note that the values for "Data" and ""UPC/EAN Supplement Data" should be arounded by """, unless you are inputting expression
  6. Click preview and a Code 128 barcode image is printed on your BIRT report, please change Barcode Type into Data Matrix in the general tab
  7. If you want to encode barcode data from BIRT report data set, please input expression to "Data" property. eg. "row["CUSTOMERNUMBER"]"
BIRT Barcode Data Matrix Generator - Property Settings
Top
Category Properties Value Comments
Basic Property: Data Type: expression
Default: ""
  • If you encode the barcode data text directly, the text string should be around by " " ", such as "12345"

  • If you encode the barcode data from dataset, input the expression, such as row["CUSTOMERNUMBER"]
Barcode value to encode

Data Matrix Valid Data Char Set:

  • ASCII values 0 - 127 in accordance with the US national version of ISO/IEC 646

    NOTE: This version consists of the G0 set of ISO/IEC 646 and the C0 set of ISO/IEC 6429 with values 28 - 31 modified to FS, GS, RS and US respectively.
  • ASCII values 128 - 255 in accordance with ISO 8859-1. These are referred to as extended ASCII.

 
Data Matrix
Special
Property: processTilde
URL: PROCESS-TILDE
Type: bool
Default: true
Set the processTilde property to true, if you want use the tilde character "~" to specify special characters in the input data. Default value is true.

  • 1-byte character: ~0dd/~1dd/~2dd (character value from 000 ~ 255); ASCII character '~' is presented by ~126
    Strings from "~256" to "~299" are unused
  • 2-byte character (Unicode): ~6ddddd (character value from 00000 ~ 65535)
    Strings from "~665536" to "~699999" are unused
  • for GS1 AI Code:
    ~ai2: AI code with 2 digits
    ~ai3: AI code with 3 digits
    ~ai4: AI code with 4 digits
    ~ai5: AI code with 5 digits
    ~ai6: AI code with 6 digits
    ~ai7: AI code with 7 digits
  • ECI: ~7dddddd (valid value of dddddd from 000000 to 999999)
  • ~rp: Reader Programming (for ASCII mode and Auto mode only)
    This should be located at the beginning of the encoding data, e.g. data = "~rpABCD1234".
  • ~m5: 05 Macro (for ASCII mode and Auto mode only)
    This should be located at the beginning of the encoding data, e.g. data = "~m5ABCD1234".
  • ~m6: 06 Macro (for ASCII mode and Auto mode only)
    This should be located at the beginning of the encoding data, e.g. data = "~m6ABCD1234".
Property: Data Matrix Data Mode Type: int

Default: AUTO
Data Matrix data encoding mode.

Valid values are:
  • AUTO (0): Barcode library will decide the best data mode for you. This is the default encoding format by Barcode Library.
  • ASCII (1): it is used to encode data that mainly contains ASCII characters (0-127).
  • C40 (2): it is used to encode data that mainly contains numeric and upper case characters.
  • TEXT (3): it is used to encode data that mainly contains numeric and lower case characters.
  • X12 (4):it is used to encode the standard ANSI X12 electronic data interchange characters.
  • EDIFACT (5): it is used to encode 63 ASCII values (values from 32 to 94) plus an Unlatch character (binary 011111).
  • BASE256 (6): it is used to encode 8 bit values.
Property: Data Matrix Format Mode Type: int

Default: 10X10
Specifies the Data Matrix Format to use on that symbology. Valid values see options in the list;
Property: Data Matrix FNC1 Mode Type: int

Default: NONE
To encode GS1 compatible Data Matrix barcode, you need set fnc1Mode value to "ENABLE".
Property: 2D Barcode Structured Append Type: boolean
Default: false
Set Structured Append property to true, then Structured Append is enabled.
Property: 2D Barcode Symbol Count Type: int
Default: 0
Set Symbol Count property to the number of total symbols which make the sequence.
Property: 2D Barcode Symbol Index Type: int
Default: 0
Set Symbol Index property to the position of current symbol in the secuence (Start with 0).
Property: 2D Barcode File Id Type: int
Default: 0
Set File Id property to be identified to the same file.
 
Barcode
Size
Related
Property: Unit of Measure Type: int
Default: 0 (pixel)
Unit of meature for all size related settings in the library.
Valid values: 0: pixel; 1: inch; 2: cm.
Property: X Type: float
Default: 1
Width of barcode bar module (narrow bar), default is 1 pixel
Property: Left Margin Type: float
Default: 0
Barcode image left margin size.
Property: Right Margin Type: float
Default: 0
Barcode image right margin size.
Property: Top Margin Type: float
Default: 0
Barcode image top margin size.
Property: Bottom Type: float
Default: 0
Barcode image bottom margin size.
Property: Resolution (in dpi) Type: int
Default: 72
Barcode image resolution in DPI (Dots per inch).
Property: Rotate Type: int
Default: 0 (rotate angle in 0 degree)
Valid values:

  • 0 (rotate angle in 0 degree)
  • 90 (rotate angle in 90 degree)
  • 180 (rotate angle in 180 degree)
  • 270 (rotate angle in 270 degree)
BIRT Barcode Generator Supporting Barcode Symbology Types
Top
OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding, VB.NET Barcode Image, Java JSP Servlet. OnBarcode barcode products are supported by RasterEdge .NET HTML5 Document Viewer high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.