Datamatrix GS1

Based on the Datamatrix ECC 200 specifications, Datamatrix GS1 is the 2D variant of Code 128 GS1. As such, Datamatrix GS1 is constructed in the same way as its linear counterpart from application identifiers (AI) and data content. As with Code 128 GS1, the AIs are separated with parentheses when entering data, e.g. "(01)12345678901234". The parentheses are not encoded into the barcode.

Datamatrix GS1 is the preferred choice for encoding GS1 data when more than 40 characters are to be encoded or space constraints are an issue; see below for a comparison. Note that Datamatrix GS1 is usually printed without human readable text.

Datamatrix GS1 Specifications

Datamatrix is standardized. The relevant base standard is ISO/IEC 16022-2006 and can be obtained from ISO. Additionally, the GS1 standards body has published guidelines for implementing Datamatrix GS1.

Sample Datamatrix GS1

Barcode encodes "(01)03453120000011(17)191125(10)ABCD1234" which is the sample data used in the GS1 guidelines mentioned above. The data is comprised of the 14-digit GTIN (AI 01), an expiration date of 25 Nov. 2019 (AI 17, format YYMMDD) and a batch number (AI 10). The batch number is actually a variable length field which has to be delimited by a FNC1 codeword. Since no more data follows, the FNC1 can be omitted.

Datamatrix GS1 sample

Compare to a Code 128 GS1 with the same data content:

Code 128 GS1 Size Comparison Datamatrix GS1

Scanning Datamatrix GS1

Any barcode scanner or scanner app that is compatible with vanilla Datamatrix will also scan Datamatrix GS1. However, the inserted FNC1 characters may either be swallowed (i.e. not transmitted) or displayed as non printable characters.

Here's the code from above scanned with Google Zxing:

Datamatrix GS1 scanning

While the content has been scanned correctly, the FNC1 character at the start of the symbol is simply displayed as an unknown character ("?"). Looking at the raw codewords, we see that the FNC1's code of 232 (0xe8) has indeed been recognized correctly.

Scanner and apps that are fully compatible with Datamatrix GS1 will transmit the sequence "]d2" at the beginning of the symbol and replace FNC1 characters within the data with the group separator "GS". See guidelines above for details.

Create Datamatrix GS1 in Illustrator, InDesign

Easy to use barcode plug-ins and extensions for Adobe InDesign, Illustrator und Photoshop. For more videos, see the Softmatic Youtube Channel

The Softmatic barcode plug-ins and extensions for InDesign, Illustrator and Photoshop are available on the Adobe Exchange.

Stand-alone software to create Datamatrix GS1

Softmatic BarcodePlus V5 creates Datamatrix GS1 and will export the barcode as PDF / SVG (resolution-independent vector) oder raster image (PNG, TIFF). The app will automatically format the data according to the GS1 specs to create the smallest possible symbol. FNC1 symbols will be inserted as required:

Datamatrix GS1 software app

Free download from Mac App Store.

Datamatrix GS1 mass creation

For mass creation of Datamatrix GS1, see Softmatic BarcodeFactory V5. Import data from Excel or Numbers or from TXT / CSV files. Video shows generating bulk QR codes from email addresses: