DataMatrix is a two-dimensional
(2D) barcode symbology which can store from 1 to about 2,000 characters.
DataMatrix ECC200 version supports advanced encoding error checking and
correction algorithms (reed-solomon). Those algorithms allow the recognition of
barcodes that are up to 60% damaged.
DataMatrix is being used to encode product and serial number
information on electrical rating plates; to mark of surgical instruments in
Japan; to identify lenses, circuit boards, and other items during
manufacturing.
Barcode Professional supports all DataMatrix Formats and the
data represented in the symbol can be compressed using one of following
algorithms.
-
Ascii: it is used to encode data that mainly contains ASCII characters (0-127).
-
C40: it is used to encode data that mainly contains numeric and upper case
characters.
-
Text: it is used to encode data that mainly contains numeric and lower case
characters.
-
Base256: it is used to encode 8 bit values.
Sample of a DataMatrix Barcode
In order to get a DataMatrix barcode image, please follow
these steps:
-
Set the Symbology property to DataMatrix.
-
Set the DataMatrixEncoding property.
-
Set the DataMatrixFormat property.
-
Setting up dimensions and quiet zones:
All values for barcode dimensions are expressed in INCHES by default. However, Barcode Professional supports other unit of measurement such as Millimeter, Centimeter, and Mils. For modifying the unit of measurement for barcoding, please set up the BarcodeUnit property as needed.
-
Set the DataMatrixModuleSize property (Value is expressed in Inches)
-
Set the QuietZone property (Value is expressed in Inches)
-
Set the Code property with the value to encode.
-
If desired, you can use the tilde character "~" to specify special characters
in the input data. To do that you must set the DataMatrixProcessTilde property
to True. Read more about how it works.
When working with DataMatrix tilde processing keep in mind the
following rules:
-
~1: is used to represent the FNC1 code
-
~2: is used to represent the Structured Append and must be followed by a
3-digit number between 1 and 255
-
~3: is used only at the very beginning of the symbol for the reader programming
purpose.
-
~5: is used only at the very beginning of the symbol, the header [)> + ASCII 30
+ ASCII 05 + ASCII 29 will be transmitted by the barcode reader before the data
in the message and the trailer ASCII 30 + ASCII 4 will be transmitted
afterwards.
-
~6: is used only at the very beginning of the symbol, the header [)> + ASCII 30
+ ASCII 06 + ASCII 29 will be transmitted by the barcode reader before the data
in the message and the trailer ASCII 30 + ASCII 4 will be transmitted
afterwards.
-
~7NNNNNN: is used to specify the Extended Channel and NNNNNN is a value between
000000 and 999999.
-
~dNNN: is used to represent the ASCII character with the value of NNN.