Navigation

Data Matrix Barcode

data matrix Barcode Font
Data Matrix Product Page

Generate Data Matrix Barcodes

Implement seamlessly across Crystal Reports, MS Excel, and MS Access

Data-Matrix is a high-capacity 2D barcode ranging from 10x10 to 52x52 modules, encoding up to 1,000 ASCII characters. Its ECC200 error correction uses Reed-Solomon algorithms across 30 predefined sizes, with automatic selection of the smallest option. Barcodesoft’s solution integrates with Access, Excel, and Crystal Reports, supports MIL-STD-130N and Deutsche Post standards (using “& #0;” for NIL), and auto-inserts FNC1 for GS1-Data-Matrix when AIs are parenthesized. A fully functional demo includes a watermark, while square and rectangular formats accommodate diverse application needs.

Overview

Data Matrix Barcode ISO/IEC 16022:2006 GS1 Datamatrix Deutsche Post Datamatrix Code MIL-STD-130N

Data-Matrix is a two-dimensional barcode symbology with large data capacity. Its size ranges between 10x10 and 52x52 modules. Each module is black or white.

Data-Matrix can encode ASCII and extended ASCII characters up to 1000. Therefore, Data-Matrix is a good solution for encoding large data in one barcode.

The unique finder pattern and module placement algorithm make data-matrix gorgeous.

Barcodesoft Data-Matrix printing solution used Reed Solomon algorithm to implement ECC 200 level of error checking and correcting.

Data-Matrix ECC200 has 30 pre-defined sizes, as shown below. Users may select one to suit application requirements. Otherwise, Data-Matrix-software will choose the smallest size automatically.

You can integrate our software with MS Access database, MS Excel spreadsheet, and Crystal Reports.

Barcodesoft Data-Matrix-software supports MIL-STD-130N standard and Deutsche-Post-Data-Matrix-Code standard.

Deutsche-Post-Data-Matrix-Code users needs to input NIL(ASCII 0), please use “& #0;” to represent ‘ASCII 0’.

For GS1-Data-Matrix users, FNC1 character will be added for you automatically when necessary.

Users just need to put a parenthesis before and after each Application Identifier.

For example (01)2356977712251(212)454763970158305
contains Application Identifier (01) and (212).

The scanner will decode the first FNC1 as “]d2”. Other FNC1 will be decoded as GS (ASCII 29).

Demo Data-Matrix Encoder is fully functional even with the “demo” watermark.

Data Matrix ECC200 has 30 symbol size and shape configurations as shown below. User may select one to suit specific application requirement. Otherwise, the smallest possible configuration will be used by Data Matrix encoder.

data matrix symbol size list

Index Format Index Format
1 10 x 10 16 64 x 64
2 12 x 12 17 72 x 72
3 14 x 14 18 80 x 80
4 16 x 16 19 88 x 88
5 18 x 18 20 96 x 96
6 20 x 20 21 104 x 104
7 22 x 22 22 120 x 120
8 24 x 24 23 134 x 134
9 26 x 26 24 144 x 144
10 32 x 32 25 8 x 18
11 36 x 36 26 8 x 32
12 40 x 40 27 12 x 26
13 44 x 44 28 12 x 36
14 48 x 48 29 16 x 36
15 52 x 52 30 16 x 48

Barcodesoft Data Matrix Barcode Fonts Pricing

License Type Single 5-User 10-User Site Corporate Dev 5-Dev 10-Dev Unlimited
Price CAD299 CAD399 CAD599 CAD799 CAD999 CAD1199 CAD1399 CAD1999 CAD2999

Generate Data Matrix Barcode in Crystal Reports

How to generate a Data Matrix barcode in Crystal Reports?

To generate a Data Matrix barcode in Crystal Reports, create a new formula field using the BCSDataMatrixEncodeCR function from the Barcodesoft UFL library. Pass your database fields as arguments, place the formula field on your design canvas, and apply the BcsDataMatrix font family.

  1. Step 1: Determine SAP Crystal Reports Bitness and Register DLL

    Determine the bitness of your SAP Crystal Reports version. SAP Crystal Reports 2008 through 2016 are 32-bit, while SAP Crystal Reports 2020 and 2025 are 64-bit.

    For 64-bit Crystal Reports (2020 / 2025):

    Run Command Prompt as Administrator and execute:

    cd "C:\Program Files\Common Files\Barcodesoft\FontUtil"
    %systemroot%\System32\regsvr32.exe cruflbcs_x64.dll
    register 64-bit cruflbcs.dll

    For 32-bit Crystal Reports (2008–2016):

    Run Command Prompt as Administrator and execute:

    cd "C:\Program Files (x86)\Common Files\Barcodesoft\FontUtil"
    regsvr32.exe cruflbcs.dll
    register 32-bit cruflbcs.dll
  2. Step 2: Locate the Barcodesoft UFL Function

    In Crystal Reports, navigate through the function explorer hierarchy: Functions List ⇒ Additional Functions ⇒ COM and .NET UFLs (u212com.dll) ⇒ Visual Basic UFLs. Double-click on the BCSDataMatrixEncodeCR function.

    Locating the BCSDataMatrixEncodeCR function in Crystal Reports Visual Basic UFLs list
  3. Step 3: Create a New Formula Field

    Right-click Formula Fields and choose New... from the context menu. Name your new field "BcsDataMatrix1", then click "Use Editor".

    Creating a new Formula Field named BcsDataMatrix1 in Crystal Reports formula workshop

    After Data Matrix encoding process, even a short string might have much more code words than you expect, while Crystal Reports allows no more than 255 characters in a formula field. Therefore we have to split Data Matrix code words into separate parts, and concatenate them in a Text Object before apply font BcsDataMatrix. As for how many formula fields are needed, you can find out by using the following function:BCSDatamatrixFormulaNoForCR({Test.Data})

    Checking required formula fields using BCSDatamatrixFormulaNoForCR function
  4. Step 4: Create multiple formula fields

    Create multiple formula fields as listed below if returned value of BCSDatamatrixFormulaNoForCR({Test.Data}) is larger than one. Then put them in sequence within the same Text Object. BCSDataMatrixEncodeCR({Test.Data}, 1, 0, 0, 0)
    BCSDataMatrixEncodeCR({Test.Data}, 2, 0, 0, 0)
    BCSDataMatrixEncodeCR({Test.Data}, 3, 0, 0, 0)

    Creating multiple formula fields sequentially using index values in Crystal Reports

    The first parameter in the formula field is string to encode. The second parameter in the formula field is index. The third parameter of the formula is Format. Its values range between 0 and 30. When set to zero, it means auto-selected format. The fourth parameter is Encodation method. Its values range between 1 and 6 which stand for the following encodation separately: ASCII, C40, TEXT, X12, EDIFACT, BASE256. The fifth parameter is GS1 indicator. It is a Boolean indicating whether this is a GS1-compliant barcode. Set it to zero when this is not GS1-datamatrix compliant.

  5. Step 5: Insert a text object in your report

    Drag and drop all your formula fields into this text object in sequence. You will see some hex codes in your report. Don't worry! You have NOT applied BCSDatamatrix font typeface yet.

    Placing sequential formula fields side-by-side inside a Crystal Reports text object
  6. Step 6: Apply font typeface BcsDatamatrix

    Right click Text Object and choose "Format Object" from context menu. Then choose "BcsDatamatrix" as font.

    Selecting BcsDatamatrix as the font typeface in the Format Object window
  7. Step 7: Datamatrix is created in your Crystal Reports

    Click OK button. You will get data matrix barcode in your report.

    Successful generation and preview of Data Matrix barcode in Crystal Reports