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.
net barcode generator,
asp.net barcode control,
gs1-128 barcode generator c#,
rdlc barcode c#,
generate barcode in asp.net mvc using c#,
c# generate barcode from string
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.
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
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.
|
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)
|