DataMatrix

Description of DataMatrix

DataMatrixOne of the best known 2D codes is the DataMatrix code and it consists of 4 main components:
  • Data area: This area contains the data in codified form.
  • Closed limitation line: This is the corner that is represented in normal alignment to the left and below the data area with an uninterrupted line. Based on this, the code and its alignment is recognized while scanning.
  • Open borderline: This is the opposite corner of the closed limitation line. These lines above and to the right consist of alternating black and white dots. These are used to the determination of lines and columns while scanning.
  • Quiet zone: This area surrounds the code. This area must be at least so wide as one dot of the code.
The development of the DataMatrix code began in the 1980s. Today, there are different stages of development, which differ in terms of error correction. These are named ECC, which stands for Error Checking and Correction Algorithm. There are basically two versions: ECC 000-140 and ECC 200. The most current and recommended variant is ECC 200 (Reed-Solomon error correction). ActiveBarcode uses ECC 200 to create DataMatrix codes. A DataMatrix code can still be read when up to 25% of it is covered or damaged.

A DataMatrix code can encode up to 3,116 numeric digits or 2,335 alphanumeric characters. The size of the symbol used depends on the amount of data to be encoded.

In ActiveBarcode you can choose between different options for creating a DataMatrix:
  • DataMatrix (Type #37)
    ActiveBarcode always selects the best symbol size that fits for the data to encode. The symbol sizes 12x12 and 8x18 and the symbol size 20x20 and 12x36 have the same number of data they can encode. ActiveBarcode always uses the square versions of the DataMatrix Symbol in this case.

  • DataMatrix Square (Type #42)
    ActiveBarcode always selects the optimal square symbol size for encoding the data.

  • DataMatrix Rectangular (Type #43)
    ActiveBarcode always selects the optimal rectangular, non square symbol size for encoding the data.

  • DataMatrix <Symbol size> (Types #44 to #73)
    The symbol size is selected by the user the type. For example selecting the type DataMatrix 18x18 will result in a code with a symbol size of 18x18.

List of the DataMatrix symbol sizes, complete with examples.Link
Each of these represents a different symbol size of the DataMatrix code. The choice determines how much data can be encoded and how large the code will appear.
Smaller symbols (e.g. 10x10, 12x12) can hold less data but take up less space.
Larger symbols (e.g., 20x20, 24x24, and up) can store more characters.
If your data content always stays short, then using a smaller symbol is perfectly fine. If you later add more information, you'll need to select a larger version so the data still fits.

The choice partly depends on the amount of data and partly on the available space. The software automatically ensures that whichever size you pick still produces a valid, scannable DataMatrix.

ActiveBarcode offers three automatic types: AUTO, SQUARE and RECTANGLE. These always select the smallest possible symbol size that can accommodate all your data. SQUARE and RECTANGLE are limited to square and rectangular formats, respectively, while AUTO uses both. If you choose a fixed type such as 64x64, that specific symbol size will be enforced, even if a smaller and more compact code would also work.

ActiveBarcode: DataMatrix
AUTO
DataMatrix
Typeno: 37
Code: DATAMATRIX

Max numbers: 6-3116
Max characters: 3-2335
Max bytes: 1-1556
Max error correction: 2-310
ActiveBarcode: DataMatrix
SQUARE
DataMatrix
Typeno: 42
Code: DATAMATRIXSQUARE

Max numbers: 6-3116
Max characters: 3-2335
Max bytes: 1-1556
Max error correction: 2-310
ActiveBarcode: DataMatrix
RECTANGLE
DataMatrix
Typeno: 43
Code: DATAMATRIXRECTANGULAR

Max numbers: 10-98
Max characters: 6-72
Max bytes: 3-47
Max error correction: 7-98
ActiveBarcode: DataMatrix
10x10
DataMatrix
Typeno: 44
Code: DATAMATRIX10X10

Max numbers: 6
Max characters: 3
Max bytes: 1
Max error correction: 2
ActiveBarcode: DataMatrix
12x12
DataMatrix
Typeno: 45
Code: DATAMATRIX12X12

Max numbers: 10
Max characters: 6
Max bytes: 3
Max error correction: 3
ActiveBarcode: DataMatrix
8x18
DataMatrix
Typeno: 46
Code: DATAMATRIX8X18

Max numbers: 10
Max characters: 6
Max bytes: 3
Max error correction: 7
ActiveBarcode: DataMatrix
14x14
DataMatrix
Typeno: 47
Code: DATAMATRIX14X14

Max numbers: 16
Max characters: 10
Max bytes: 6
Max error correction: 5
ActiveBarcode: DataMatrix
8x32
DataMatrix
Typeno: 48
Code: DATAMATRIX8X32

Max numbers: 20
Max characters: 13
Max bytes: 8
Max error correction: 11
ActiveBarcode: DataMatrix
16x16
DataMatrix
Typeno: 49
Code: DATAMATRIX16X16

Max numbers: 24
Max characters: 16
Max bytes: 10
Max error correction: 6
ActiveBarcode: DataMatrix
12x26
DataMatrix
Typeno: 50
Code: DATAMATRIX12X26

Max numbers: 32
Max characters: 22
Max bytes: 14
Max error correction: 32
ActiveBarcode: DataMatrix
18x18
DataMatrix
Typeno: 51
Code: DATAMATRIX18X18

Max numbers: 36
Max characters: 25
Max bytes: 16
Max error correction: 7
ActiveBarcode: DataMatrix
20x20
DataMatrix
Typeno: 52
Code: DATAMATRIX20X20

Max numbers: 44
Max characters: 31
Max bytes: 20
Max error correction: 9
ActiveBarcode: DataMatrix
12x36
DataMatrix
Typeno: 53
Code: DATAMATRIX12X36

Max numbers: 44
Max characters: 31
Max bytes: 20
Max error correction: 44
ActiveBarcode: DataMatrix
22x22
DataMatrix
Typeno: 54
Code: DATAMATRIX22X22

Max numbers: 60
Max characters: 43
Max bytes: 28
Max error correction: 10
ActiveBarcode: DataMatrix
16x36
DataMatrix
Typeno: 55
Code: DATAMATRIX16X36

Max numbers: 64
Max characters: 46
Max bytes: 30
Max error correction: 64
ActiveBarcode: DataMatrix
24x24
DataMatrix
Typeno: 56
Code: DATAMATRIX24X24

Max numbers: 72
Max characters: 52
Max bytes: 34
Max error correction: 12
ActiveBarcode: DataMatrix
26x26
DataMatrix
Typeno: 57
Code: DATAMATRIX26X26

Max numbers: 88
Max characters: 64
Max bytes: 42
Max error correction: 14
ActiveBarcode: DataMatrix
16x48
DataMatrix
Typeno: 58
Code: DATAMATRIX16X48

Max numbers: 98
Max characters: 72
Max bytes: 47
Max error correction: 98
ActiveBarcode: DataMatrix
32x32
DataMatrix
Typeno: 59
Code: DATAMATRIX32X32

Max numbers: 124
Max characters: 91
Max bytes: 60
Max error correction: 18
ActiveBarcode: DataMatrix
36x36
DataMatrix
Typeno: 60
Code: DATAMATRIX36X36

Max numbers: 172
Max characters: 127
Max bytes: 84
Max error correction: 21
ActiveBarcode: DataMatrix
40x40
DataMatrix
Typeno: 61
Code: DATAMATRIX40X40

Max numbers: 228
Max characters: 169
Max bytes: 112
Max error correction: 24
ActiveBarcode: DataMatrix
44x44
DataMatrix
Typeno: 62
Code: DATAMATRIX44X44

Max numbers: 288
Max characters: 214
Max bytes: 142
Max error correction: 28
ActiveBarcode: DataMatrix
48x48
DataMatrix
Typeno: 63
Code: DATAMATRIX48X48

Max numbers: 348
Max characters: 259
Max bytes: 172
Max error correction: 34
ActiveBarcode: DataMatrix
52x52
DataMatrix
Typeno: 64
Code: DATAMATRIX52X52

Max numbers: 408
Max characters: 304
Max bytes: 202
Max error correction: 42
ActiveBarcode: DataMatrix
64x64
DataMatrix
Typeno: 65
Code: DATAMATRIX64X64

Max numbers: 560
Max characters: 418
Max bytes: 278
Max error correction: 56
ActiveBarcode: DataMatrix
72x72
DataMatrix
Typeno: 66
Code: DATAMATRIX72X72

Max numbers: 736
Max characters: 550
Max bytes: 366
Max error correction: 72
ActiveBarcode: DataMatrix
80x80
DataMatrix
Typeno: 67
Code: DATAMATRIX80X80

Max numbers: 912
Max characters: 682
Max bytes: 454
Max error correction: 96
ActiveBarcode: DataMatrix
88x88
DataMatrix
Typeno: 68
Code: DATAMATRIX88X88

Max numbers: 1152
Max characters: 862
Max bytes: 574
Max error correction: 112
ActiveBarcode: DataMatrix
96x96
DataMatrix
Typeno: 69
Code: DATAMATRIX96X96

Max numbers: 1392
Max characters: 1042
Max bytes: 694
Max error correction: 136
ActiveBarcode: DataMatrix
104x104
DataMatrix
Typeno: 70
Code: DATAMATRIX104X104

Max numbers: 1632
Max characters: 1222
Max bytes: 814
Max error correction: 168
ActiveBarcode: DataMatrix
120x120
DataMatrix
Typeno: 71
Code: DATAMATRIX120X120

Max numbers: 2100
Max characters: 1573
Max bytes: 1048
Max error correction: 204
ActiveBarcode: DataMatrix
132x132
DataMatrix
Typeno: 72
Code: DATAMATRIX132X132

Max numbers: 2608
Max characters: 1954
Max bytes: 1302
Max error correction: 248
ActiveBarcode: DataMatrix
144x144
DataMatrix
Typeno: 73
Code: DATAMATRIX144X144

Max numbers: 3116
Max characters: 2335
Max bytes: 1556
Max error correction: 310
This list represent an overview for orientation purpose but does not claim any correctness regarding the max values.


More information about this can be found at https://en.wikipedia.org/wiki/DataMatrix.

Technical data

Valid characters: ASCII 1-255
Length: Variable with no fixed length.
Check digit: Calculated according to Reed-Solomon-Error correction
ActiveBarcode calculates the check digit automatically.
Type#: DataMatrix - #37 - DATAMATRIX
List of all symbol sizes
Info: This barcode types has no human readable text based on the specification. The ShowText property has no effect, when using one of this codes.

Other types...

Want to learn about other barcode types?