GS DataMatrix Guideline
GS DataMatrix Guideline
Home
Standards
GS1 DataMatrix Guideline
1 Introduction to
GS1 DataMatrix 1 Introduction to GS1 DataMatrix
GS1 DataMatrix is a matrix (2D or two-dimensional) barcode which may be
printed as a square or rectangular symbol made up of individual dots or
squares. This representation is an ordered grid of dark and light dots
bordered by a finder pattern. The finder pattern is partly used to specify
the orientation and structure of the symbol. The data is encoded using a
series of dark or light dots based upon a pre-determined size. The size of
these dots is known as the X-dimension.
Before reading this document one should know the diference between
data carrier and data structure. A data carrier is a graphical representation
of data in a machine readable form, used to enable automatic reading of
the Element Strings. GS1 DataMatrix is the ISO/IEC recognised and
standardised implementation of the use of Data Matrix. The GS1
DataMatrix is formed by adding FNC1 codeword in the first position of
Data Matrix ECC 200 version.
GS1 DataMatrix is composed of two separate parts (see figure below): the
finder pattern, which is used by the scanner to locate the symbol, and the
encoded data itself.
The finder pattern defines the shape (square or rectangle), the size, X-
dimension and the number of rows and columns in the symbol. It has a
function similar to the Auxiliary Patterns (Start, Stop and Centre patterns)
in an EAN/UPC barcode and allows the scanner to identify the symbol as a
GS1 DataMatrix.
The data is then encoded in a matrix within the Finder pattern. This is a
translation into the binary GS1 DataMatrix symbology characters (numeric
or alphanumeric).
Just like linear (1D) barcodes GS1 DataMatrix has a mandatory Quiet Zone.
This is a light area around the symbol which must not contain any graphic
element which may disrupt reading the barcode. It has a constant width
equal to the X-dimension of the symbol on each of the four sides.
Each Data Matrix symbol is made up of number of rows and columns. GS1
DataMatrix always has an even number of rows and columns. Therefore it
always has a light “square” in the upper right hand right corner (circled in
the figure above). Obviously, this corner will be dark if the GS1 DataMatrix
symbol is printed in negative (inverse reflectance printing).
The square form is the most commonly used and enables the encoding of
the largest amount of data according to ISO / IEC 16022 Information
technology – Automatic Identification and data capture techniques – Data
Matrix barcode symbology specification.
However the rectangular form with its limited height is better suited to
some high speed printing techniques, and to unusual printing spaces.
1.2.2 Size and encoding capabilities
The figure below is extracted from ISO/IEC 16022 (for the full table see
Table 1‑1 ). It provides a useful guide to estimating the size of the symbol
but the exact size of the GS1 DataMatrix symbol depends on the exact
encoded data. See the figure below for the size and capacity graph.
% of
codew
Mapping
Symbol Data Total Maximum used fo
matrix
size region codewords data capacity error
size
correc
no.
Alpha-
Num.
Row Col Size No. Data Error num
Cap.
Cap.
16 16 14x14 1 14x14 12 12 24 16 50
20 20 18x18 1 18x18 22 18 44 31 45
22 22 20x20 1 20x20 30 20 60 43 40
24 24 22x22 1 22x22 36 24 72 52 40
% of
codew
Mapping
Symbol Data Total Maximum used fo
matrix
size region codewords data capacity error
size
correc
no.
The sizes provided above are given in terms of numbers of rows and
columns. For the GS1 DataMatrix square-form, the number of rows and
columns can vary between 10 and 144 providing 24 diferent potential
symbol sizes.
The table above show the maximum amount of data that can be encoded
in the square form of DataMatrix. Data Matrix can encode up to:
■ 3,116 numbers
■ 71 alphanumeric characters or
■ 96 numbers
The table below shows an extract of ISO/IEC 16022, which gives details on
how the Data Regions are composed. For example a symbol consists of 32
rows and 32 columns, including four sub-arrays of 14 rows and 14 columns.
The number and size of “sub-matrices” within the GS1 DataMatrix symbol
are shown in the column “Data Region”.
The table below shows the percentage of space used for Error Correction
in the Data Matrix symbol and the number of codewords (data bytes)
which may contain an error or be concealed without it being detrimental
when scanning and reading the symbol. Example: Where 80 numeric digits
have to be encoded
Mapping
Symbol Data Total Maximum data
matrix
size region codewords capacity
size
Alpha-
Num. Byte
Row Col Size No. Data Error num.
Row Size
Col.
26 26 24x24 1 24x24 44 28 88 64 42
(For the full table see Table 1‑1 ).In the extract above from the ECC 200
Symbol Attributes table of ISO/IEC 16022, we have selected the size of
matrix which is equal to, or the next higher than, the amount of data to be
encoded – in this case: 88 numeric digits.
This matrix is made up of 72 bytes, which is the sum of the total number of
data and error codewords shown in the table above (44 +28)
Important:
■ The size of the Data Matrix symbol is determined by the amount of
data to be encoded and not on the desired percentage of error
correction.
There are several methods of error detection. An example is the check digit
used by many linear barcodes, which use an algorithm to calculate the last
digit of the number encoded. Check digits can confirm if the string of data
is encoded correctly according to the specified algorithm. In the case of a
mistake, however, it cannot indicate where the mistake was made.
GS1 DataMatrix (Data Matrix ECC 200) is the only Data Matrix
configuration which employs Reed-Solomon error correction. This feature
allows, to a certain extent, the location of errors and, where possible, their
correction.
For GS1 Applications only Data Matrix ECC 200 is specified. GS1
DataMatrix is the version as defined in ISO/IEC 16022 which supports GS1
Application Identifiers (GS1 AIs) data and the Function 1 symbol character
(FNC1). GS1 AIs and FNC1 are required in the GS1 DataMatrix header
structure. In this way GS1 DataMatrix is diferent from all other Data Matrix
versions and other (non-GS1) data encoding methods.
When developing application standards for Data Matrix, users must meet
to agree on:
■ The shape of the Data Matrix: square or rectangle. Indeed, both square
and rectangle forms could be an option.
■ The Error Correction. For GS1 Applications only Data Matrix ECC 200 is
specified and the error correction is given.
2 Encoding data
The sub-sections below outline the various methods that exist for encoding
data into GS1 DataMatrix symbols. All methods used to generate the GS1
DataMatrix symbol require the data to be submitted in a form that is
understandable to the encoder.
The simplest solution, and the one mandated by the GS1 standards, is to
encode data using the subset of ISO/IEC 646 (equivalent to ASCII table
256) for all the information. This limited character set is supported by
almost all computer systems available around the world today. It is strongly
recommended to make ISO/IEC 646 (or the equivalent ASCII 256) the
default option.
ISO/IEC 646 is derived from the ASCII (American Standard Code for
Information Interchange) that was first established in the 1960s as the
standard way for the binary representation of digits and the characters in
the Latin alphabet. For example, the character “a” is associated with
“01100001” and “A” to “01000001” in the standard ASCII 256. This enabled
digital devices to communicate with each other and to process, store, and
communicate character-oriented information. In particular, almost all
personal computers and computer-like devices in the world started
adopting ASCII encoding.
■ The same ASCII code being used for diferent extended characters in
diferent geographical regions
■ The inability of many users to key enter the extended characters (due
to computer limitations and human factors).
■ Only the characters contained in the ISO 646 invariant subset may be
used. It should be noted that spaces cannot be encoded (see
International Standard ISO/IEC 646 for representation of each
character).
■ The GS1 Application Identifiers (or AIs) are used for all encoded data
(see section 2.2 ).
01 GTIN N2+N14
Format Meaning
N Numeric digit
X Alphanumeric characters
The FNC1 (codeword 232) has two separate uses in GS1 DataMatrix:
■ Start character.
2.2.2 Concatenation
Example:
ES 1 ES 2 (non- ES 3 (non-
FNC1 or
FNC1 (predefined predefined predefined
<GS>
length) length) length)
Table 2‑3 shows all the element strings that were predefined in length when
GS1 Application Identifiers were first introduced. This table has never been
amended and there is no intention to change it in the future. It enables
software decoders to be built without the risk of them having to be
modified by the publication of new GS1 Application Identifiers. This table
should be included in any processing software which is intended to process
GS1 AIs.
The numbers in parentheses are not yet allocated. They were placed in
reserve and may, in the future, be allocated to new element strings with a
predefined length.
For all GS1 element strings that start with two digits that are not included
in this table, it is mandatory to follow the element string with a separator
character if it is not the last element string encoded in the symbol.
00 20
01 16
02 16
(03)* 16
(04)* 18
11 8
12 8
13 8
(14)* 8
15 8
16 8
17 8
(18)* 8
(19)* 8
20 4
31 10
32 10
33 10
34 10
35 10
36 10
41 16
The following examples show the encoded data in the GS1 DataMatrix and
how the Human Readable Interpretation could appear:
Example 1
(01)03453120000011
(17)191125
(10)ABCD1234
Example 2
Encoded String:
FNC101095011010209171719050810ABCD1234FNC12110
(01)09501101020917(17)190508(10)ABCD1234(21)10
Example 3
items.
Always refer to the GS1 General Specifications for complete rules and
recommendations on the application and use of Human Readable
Interpretation.
Other packaging constraints can also greatly afect the reading of the
symbol. For example folds or seams in the packaging, curvature (e.g.,
blister packs), etc. can all impact scanning and should be considered when
selecting the most appropriate symbol location. This is especially
important when printing very small GS1 DataMatrix symbols.
■ The Data Matrix syntax and encoding rules. For GS1 Applications, this
syntax is already subject to technical specifications defined and
recognised (ECC 200 with leading FNC1 and GS1 Application Identifiers)
■ Which Application Identifiers (AIs) to use (mandatory and optional)
Please refer to the current version of GS1 General Specifications for more
information on application standards.
1. The actual scan (the reading of the dark and light areas)
Once decoded, the data will be passed to an information system for further
processing.
Typically, each of the dark and light areas within the matrix are converted
to binary values (1 or 0). This is then processed according to the reference
decode algorithm of GS1 DataMatrix as defined in ISO/IEC 16022 based
upon an ideal image
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
3.2.1 Introduction
The exact internal workings of a scanning and the decoding system used in
a particular scanner are normally commercially sensitive information
.Companies only publish the capabilities of a scanner. However, in broad
terms, the decoding software must be in line with the reference decode
algorithm.
3.3 Decoding
As highlighted above (see section 3.1 ), scanning is in fact a two-step
process. Decoding takes the scanned image and decodes the encoded
data.
Ideally the scanner then passes the decoded data using the Symbology
Identifier (]d2) to the processing system. If FNC1 is not in the first position,
the scanner will output a different Symbology Identifier. ]d2 indicates that
the decoded data came from a GS1 DataMatrix symbol and can therefore
be processed according to the GS1 Application Identifier rules.
]d2 is a system feature and is never directly encoded into the GS1
DataMatrix symbol.
The scanner does not normally contain any intelligence but simply
transfers the string of characters read from the symbol to the Information
System for further processing.
The data transmitted to the application software for the first FNC1 (See
section 2.2.1 ), is the symbology identifier ]d2 and for the second FNC1,
when used as a separator character is <GS> Group-Separator. The above
example would result in:
]d201034531200000111719112510ABCD1234<GS>2110
This string of data is then passed to the processing system or, in some
more sophisticated scanner/decoder devices, the string of data is already
interpreted according to the GS1 Application Identifier rules (see section
2.2.3 )
0000 5d 64 32 30 31 30 33 34 35 33 31 32 30 30 30 30 | ]d20103453120000 |
0010 30 31 31 31 37 31 39 31 31 32 35 31 30 41 42 43 | 0111719112510ABC
|
0020 44 31 32 33 34 1d 32 31 31 30 0d 0a | D1234~2110~~ |
5d643230313033343533313230303030303131313731393131323531304142
4344313233341d323131300d0a
This choice is made at the very detailed processing level – and is normally
processed totally within a black box type device.
Please also bear in mind that the technologies and materials for printing
and marking GS1 DataMatrix are developing fast. It is therefore advisable
to consult your local GS1 member organisation and technical partners to
take advantage of the latest developments.
In principle, this type of software can be used with any type of printing
device or indeed several diferent ones simultaneously.
This is particularly useful when the data contained and/or size and form of
the symbol to be printed vary from one product to the next. Indeed, the
computing time can be minimised by using software integrated with the
printing device by, for example, having the device generate a unique
number for each product (e.g., a serial number).
The exact choice of software will need to meet the individual business
requirements.
■ Thermal transfer
■ Inkjet
■ Laser etch
The exact choice will primarily be made in terms of the available support
material and exact business requirement.
Thermal transfer printing is one of the most widely used technologies for
printing on-demand barcode labels. The technology works through heat
being transmitted onto a ribbon (a tape coated with specially designed
ink) that then transfers the image to the label. Very good quality barcodes
can be achieved when the labelling material and print ribbon are fully
compatible.
The normal print resolution for thermal transfer printers is between 4 and
24 dpmm (dots per millimetre), approximately 100 and 600 dpi (dots- per-
inch).
4.2.2 Inkjet
Inkjet is a printing process that does not require contact between the
printer and the substrate. The technology works by propelling tiny drops of
ink onto the substrate to create the symbol. There are two main categories
of inkjet printer:
■ Drops on Demand: Printers in this family only use drops of ink that are
required to print. It is particularly suited to high resolution printing.
The print head needs to be close to the substrate (some products can print
from a distant as far as 20 mm) and it is suitable for printing on a variety of
media and substrates.
Special attention must be paid to the consistency of the speed with which
the object to be printed passes the print head. Precision is required to
ensure quality symbols.
The power of the laser needs to be set based on the volume printing
required as well as the speed of printing. The power must be adapted to
substrates and commonly ranges from 10 to 100 watts.
The technology chosen for a given application should take into account the
internal environment including factors such as substrate.
Corrugated
Substrate Paper Glass Plastic Metal
fibreboard
Technology
If
For
contrast
For specific specific
Under can be Painted
colours or colours
Laser Etch certain achieved or
specific or
conditions or oxidised
finishing specific
specific
finishing
finishing
Thermal
Useful for
Transfer Plastic
adhesive No No No
(on- films
labels
demand)
Coloured
YAG/Fibre background
No Yes Yes No
Laser or specific
finishing
■ Available space for printing: The physical size of the symbol and all
related Human Readable Information must take into account the space
available to print them. In general terms, larger symbols will have a
better scanning and printing performance than smaller ones but many
factors – including legally required safety information – will impact the
space available for printing the barcode.
The technology chosen will also be impacted by external factors such as:
For example, in the healthcare sector, the user community has agreed on
a permissible X-dimension for small healthcare products (see A ) .
Within the open environment where GS1 standards are used, it is very
important for all players to work to industry established standards. This
creates a critical mass of particular usages and reduces overall costs as
many competing technology providers work to meet the common
requirements.
As outlined earlier (see section 1.1 ) the size of the GS1 DataMatrix
symbol can vary. In general terms, larger X-dimension symbols will have a
better scanning and printing performance than smaller ones but many
factors (available space, amount of data encoded, etc.) will influence the
size of symbol.
It is of critical importance for the final quality of the printed symbol that
the ability of the printer to achieve the selected X-dimension.
Contrast is the technical name for the diference between the dark and
light areas in a barcode and, in particular, how the diference is seen by the
scanner. It is imperative that the printing process ensures that the scanner
can discriminate clearly between the dark areas and light areas of the
symbol.
■ Dark areas should use solid dark colours (black, blue, or colours that
contain a very high proportion of black).
■ Light areas should use bright and reflective colours (white, yellow or
red (note some scanners use a red light therefore red appears ‘white’ to
the scanner).
■ Intermediate colours or hues – those that appear neither light nor dark
– should not be used
This section highlights those parameters that can afect the overall symbol
quality and how they can be checked or verified. It is important to stress
that quality covers both:
Quality should not be seen as a simple check at the end of the process, but
should be built into the development process with the appropriate
conformance checks made at each stage. It is also important to verify that
the final printed symbol meets the requirements of the appropriate
application standard in terms of encoded data, print quality, symbol size,
symbol location, etc.
ISO/IEC 15415 and the GS1 General Specifications define the methodology
to test the print quality of printed GS1 DataMatrix symbols. This
methodology is widely covered in 2D Barcode Verification Process
Implementation Guideline. It is available at www.gs1.org. Under this
methodology the symbol grade is only meaningful if it is reported in
conjunction with the illumination and aperture used expressed as:
grade/aperture/light/angle:
Light: defines the illumination: a numeric value indicates the peak light
wavelength in nanometres (for narrow band illumination); the alphabetic
character W indicates that the symbol has been measured with broadband
illumination (“white light”) but for GS1 Applications 670 is the norm.
Light sources for barcode scanning applications normally fall into two
areas:
Multi-row barcode scanning almost always uses narrow band visible light,
with light sources with a peak wavelength in the red part of the spectrum,
between 620 and 700 nm. Infra-red scanning uses sources with peak
wavelengths between 720 nm and 940 nm.
The most common light sources used for these purposes are:
Narrow band:
Broadband:
Example: A print quality test carried out with an aperture of 10 mils, a light
source of 660 nm and at an angle of 45° gave the grade of 3.0(B). The
results should be expressed as:
3.0/10/660
ISO Symbol Grade: The overall ISO symbol grade is the most important
parameter for communicating the print quality of a symbol. The scan grade
is the lowest grade achieved for seven parameters which are Symbol
Contrast, Modulation, Fixed Pattern Damage, Decode, Axial Nonuniformity,
Grid Nonuniformity, and Unused Error Correction, with others specified for
a given symbology or application. The overall ISO symbol grade is the
arithmetic mean of the individual scan grades for a number of tested
images of the symbol.
Parameter Significance
ISO/IEC 15415 and ISO/IEC 29158:2011 are for measuring the print quality
of GS1 DataMatrix symbols. However, there are number of other emerging
quality standards for GS1 DataMatrix including, AS9132 and ISO/TR 29158.
They were developed primarily for direct part marking (DPM) and their
main features are described below for information purposes only.
4.6.2.1 AS 9132
AS (American Standard) 9132 deals with general print quality for part
marking. It is referenced by a number of aeronautical companies that
require 2D symbols to be used by their suppliers. The main print quality
features are:
Angle of
distortion
Filled cells
Centre point
discrepancy
Elongation
Number of
dots per
element
Quiet Zone A Quiet Zone with a minimum width of one module (X)
is required all around the symbol as shown in the image
above. If the Quiet Zone is less than one module (X) it
will fail ISO/IEC 15415 verification. It can also be
measured for diagnostic purposes.
The contrast is also a parameter of ISO/IEC 15415
verification, (see section 4.5 )
AIM Global (the Association for Automatic Identification and Mobility) has
acknowledged that ISO/IEC 15415 Print Quality Specifications are not
sufficient for measuring the quality of GS1 DataMatrix symbols printed
using Direct Part Marking (DPM) technologies. The AIM Global Technical
Symbology Committee has developed an AIM Global Document and
submitted to ISO/IEC TR 29158, Direct Part Mark (DPM), Quality Guideline
for this purpose. The guideline is available at the ISO Global Website
www.iso.org.
Apart from the other parameters listed above, key parameters within the
ISO/IEC TR 29158 document include Modulation within a cell and Minimum
Reflectance (> 5 %).
Modulation
within a cell
As the name suggests, modulation within a cell requires
uniformity of the reflectance of light and dark areas
within one cell of the symbol. The example above
highlights the type of printing problem that can lead to
modulation within a cell.
4.6.3 Possible causes of low grade
The primary function of any barcode is carrying data from the point at
which it is originated to the point at which the data has to be captured.
Verification aims to check that the symbol is able to fulfil this function by
ensuring compliance with the appropriate standard.
■ Cover both the print quality aspects (explained below) and the data
content requirements explained by application guidelines (see section 2
).
For each of the parameters tested (see section 4.6.1.2 ) the lowest
achieved grade is taken and this is the Overall Symbol Grade. The
verification should be performed under laboratory conditions using the
required aperture, light and angle as described in ISO/IEC 15415.
The results should be recorded and reported in the same way as a for a
general verification report (see section 4.6.1.1 ):
grade/aperture/light/angle
The size of the measuring aperture afects whether voids in the symbol will
be ignored during the verification process. Therefore, the measuring
aperture must be selected with reference to the range of nominal module
size and expected scanning environment. An aperture that is too small will
detect unintentional voids, or gaps between elements of the symbol that
would lead to low grades or undecodable symbols. On the other hand, a
measuring aperture that is too large will blur individual modules, resulting
in low modulation, and may prevent the symbol from being decoded.
In general, the larger the aperture, the larger the acceptable size of spots
and voids. Conversely, the smaller the aperture, the smaller the acceptable
module size that can be read. Therefore, a successful application
specification must select a measuring aperture that will predict the
readability of both the largest and smallest module size symbols. The ideal
theoretical size for the measuring aperture is between 40% and 80% of the
maximum size of the X-dimension used in the symbol. However, as stated
before, any application guideline will have to be taken into account. In
order to demonstrate aperture, the aperture used to verify the symbol is
represented by a yellow dot in the figure below.
■ The date of the test and the name of the operator who performed it
■ Comments on the substrate and, if possible, the print process used (in
case either is changed at some point in the future, thus invalidating the
test report)
■ The pixel size of the camera used should be suitable for the size of the
GS1 DataMatrix symbols being tested
Any Application Standard for GS1 DataMatrix must set the clear,
achievable and independently measurable print quality requirements.
Users of the Application Standard are likely to make their choice of
printing technology based upon the print quality requirements stated.
■ The methodology for measuring the print quality. For GS1 ISO/IEC
15415 is considered the de-facto methodology
□ The print process used to create the symbol (e.g., printed labels may
create a perfect symbol but will not be suitable for products that
require heat-sterilisation)
Please refer to the current version of GS1 General Specifications for more
information on application standards.
A Annexes
A.1 GS1 size recommendations for symbols using GS1 DataMatrix
Some extracts of the GS1 General Specifications (version 16) are given
below.
Please refer to the current version of GS1 General Specifications System
Symbol Specification Tables 6, 7, 8, 9, 10 and 11 for the normative
specification.
For
For target
minimum m
Minimum Target Maximum X-
X-
dimension
dimension d
GS1
Height is determined
DataMatrix 0.254 0.380 0.495
dimension and data th
(ECC 200) (0.0100") (0.0150") (0.0195")
encoded
(*)
Minimum
symbol
Symbol(s) X-dimension height for Quiet
Minim
specified mm (inches) Note 1 Note 6 given X Zone
mm
(inches)
For
minimum,
Target and
Minimum Target Maximum
Maximum
X-
dimension
Height is
determined
1X
by X-
GS1 0.254 0.300 0.615 on all 1.5/0
dimension
DataMatrix (0.0100”) (0.0118”) (0.0242”) four Note
and data
sides
that is
encoded
Height is
GS1 determined
1X
DataMatrix by X-
0.254 0.300 0.615 on all 1.5/0
Ink Based dimension
(0.0100”) (0.0118”) (0.0242”) four Note
direct part and data
sides
marking that is
encoded
Height is
GS1 determined
1X
DataMatrix by X- DPM
0.100 0.200 0.300 on all
direct part dimension 12/6
(0.0039”) (0.0079”) (0.0118”) four
marking - and data Note
sides
A Note 2 that is
encoded
Height is
GS1 determined
1X
DataMatrix by X- DPM
0.200 0.300 0.495 on all
direct part dimension 20/6
(0.0079") (0.0118”) (0.0195") four
marking - and data Note
sides
B Note 2 that is
encoded
These notes have been taken from the GS1 General specifications. Please
refer to the current version of GS1 General Specifications System Symbol
Specification Table 7 for the normative specification.
Note: The largest X-dimension in a given range that will allow a symbol
with the needed data content to fit within the available marking area
should be used to maximise marking and reading performance (depth
of field, tolerance to curvature, etc.).
Note 1: Optical effects in the image capture process require that label
based GS1 DataMatrix and GS1 QR Code symbols be printed at
approximately 1.5 times the equivalent X-dimension allowed for linear
symbols in the same application.
Note 2: There are two basic types of non ink based direct part marks,
those with “connected modules” in the “L” shaped finder pattern (GS1
DataMatrix direct part marking – A) created by DPM marking technologies
such as laser or chemical etching and those with “non connected modules”
in the “L” shaped finder pattern (GS1 DataMatrix direct part marking – B)
created by DPM marking technologies such as dot peen. Due to the
marking technologies and characteristics of reading they each have varied
ranges of X-dimensions and different quality criteria recommended and
may require different reading equipment.
GS1 DataMatrix – A is suggested for marking of medical devices such as
small medical / surgical instruments. The Minimum X-dimension of
0.100mm is based upon the specific need for permanence in direct marking
of small medical instruments which have limited marking area available on
the instrument with a target useable area of 2.5mm x 2.5mm and a data
content of GTIN (AI 01) plus serial number (AI 21).
Note 3: The effective aperture for GS1 DataMatrix and GS1 QR Code
- the need for, and limited availability of, special scanners/imagers for
reading,
Note 5: Any “Type A” mark that meets the grade requirements under the
quality techniques specified in ISO/IEC 15415 is considered acceptable. If
the letters “DPM” precede the grade it indicates that the grade was
obtained by following ISO/IEC TR 29158 (AIM DPM) and not ISO/IEC
15415 whether “Type A” or “Type B”.
GS1
Height is determined by X
DataMatrix 0.750 0.750 1.520
dimension and data that is
(ECC 200) (0.0300") (0.0300") (0.0600")
encoded
(*)
A.1.4 Symbol specification table 9 - GS1 keys GDTI, GRAI, GIAI and GLN
For
For target
minimum m
Minimum Target Maximum X-
X-
dimension
dimension d
GS1
Height is determined by X
DataMatrix 0.380 0.380 0.495
dimension and data that is
(ECC 200) (0.0150") (0.0150") (0.0195")
encoded
(*)
For
For target
Minimum minimum m
Target Maximum X-
(*) X-
dimension
dimension d
GS1
Height is determined
DataMatrix 0.396 0.495 0.990
dimension and data th
(ECC 200) (0.0156") (0.0195") (0.0390")
encoded
(*)
For
For target
minimum m
Minimum Target Maximum X-
X-
dimension
dimension d
GS1
Height is determine
DataMatrix 0.254 0.380
0.495 (0.0195") dimension and data
(ECC 200) (0.0100") (0.0150")
encoded
(*)
Capital
Exclamation
! 2/1 M letter 4/13
mark
M
Capital
Quotation
" 2/2 N letter 4/14
mark
N
Capital
% Percent sign 2/5 O letter 4/15
O
Capital
& Ampersand 2/6 P letter 5/0
P
Graphic Coded Graphic Coded
Name Name
Symbol Representation Symbol Representa
Capital
' Apostrophe 2/7 O letter 5/1
Q
Capital
Left
( 2/8 R letter 5/2
parenthesis
R
Capital
Right
) 2/9 S letter 5/3
parenthesis
S
Capital
* Asterisk 2/10 T letter 5/4
T
Capital
+ Plus sign 2/11 U letter 5/5
U
Capital
, Comma 2/12 V letter 5/6
V
Capital
- Hyphen/Minus 2/13 W letter 5/7
W
Capital
. Full stop 2/14 X letter 5/8
X
Capital
/ Solidus 2/15 Y letter 5/9
Y
Capital
0 Digit zero 3/0 Z letter 5/10
Z
Low
1 Digit one 3/1 _ 5/15
line
Small
2 Digit two 3/2 a letter 6/1
a
Small
3 Digit three 3/3 b letter 6/2
b
Graphic Coded Graphic Coded
Name Name
Symbol Representation Symbol Representa
Small
4 Digit four 3/4 c letter 6/3
c
Small
5 Digit five 3/5 d letter 6/4
d
Small
6 Digit six 3/6 e letter 6/5
e
Small
7 Digit seven 3/7 f 6/6
letter f
Small
8 Digit eight 3/8 g letter 6/7
g
Small
9 Digit nine 3/9 h letter 6/8
h
Small
: Colon 3/10 i 6/9
letter i
Small
; Semicolon 3/11 j 6/10
letter j
Small
< Less-than sign 3/12 k letter 6/11
k
Small
= Equals sign 3/13 l 6/12
letter l
Small
Greater-than
> 3/14 m letter 6/13
sign
m
Small
? Question mark 3/15 n letter 6/14
n
Small
Capital letter
A 4/1 o letter 6/15
A
o
Small
Capital letter
B 4/2 p letter 7/0
B
p
Graphic Coded Graphic Coded
Name Name
Symbol Representation Symbol Representa
Small
Capital letter
C 4/3 q letter 7/1
C
q
Small
Capital letter
G 4/7 u letter 7/5
G
u
Small
Capital letter
H 4/8 v letter 7/6
H
v
Small
I Capital letter I 4/9 w letter 7/7
w
129 Pad
Codeword Data or Function
232 FNC1
236 05 Macro
237 06 Macro
The expiration date and batch number are used in combination with the
GTIN to provide traceability and ensure out-of-date products are never
administered. For certain medical equipment (e.g., specialist medical
devices), a GTIN and AI (21) Serial Number are being recommended.
For more information on the use of both GS1 DataMatrix and the
recommended GS1 Application Identifiers in the healthcare sector please
visit the GS1 Healthcare User Group
Website: http://www.gs1.org/sectors/healthcare/
The examples that follow are intended to show the reader a method to
approximate symbol parameters such as symbol size (by module), symbol
dimension and symbol data capacity. However, these parameters depend
on the characteristics of the specific data elements used and to the
specific arrangement of these data within the data string.
Note: The use of “off the shelf ” encoding software (conforming to ISO/IEC
16022:2006) is an efficient way to obtain exact values for specific data
content and arrangement.
Q.1: How much data can I get into a GS1 DataMatrix symbol with a 20 X 20
symbol size (including Finder Pattern)?
■ Step 1: From Table 1.2.2-1, look down column “Symbol Size” until you
find the row that contains Row 20 – Col 20
Note: For GS1 DataMatrix, the first character is the Function 1 Character
(FNC1). This will reduce the maximum data capacity by 2 for numeric or by
1 for alphabetic encoding. Use of subsequent FNC1 and shift characters
will also decrease the maximum data content by 2 numeric characters or 1
alphanumeric character per instance of use.
■ Step 3: The table shows that 44 numeric, minus 2 numeric for FNC1, for
a total of 42 numeric data capacity; it shows 31 alphabetic, minus 1
alphabetic for FNC1, for a total of 30 alphabetic data capacity.
% of
Mapping codewo
Symbol Data Total Maximum
matrix used fo
size* region codewords data capacity
size error
correct
Alpha-
Num.
Row Col Size No. Data Error Num
Cap.
Cap.
16 16 14x14 1 14x14 12 12 24 16 50
20 20 18x18 1 18x18 22 18 44 31 45
22 22 20x20 1 20x20 30 20 60 43 40
Q.2: I want to print a GS1 DataMatrix symbol with symbol size of 18 X 18. I
only have enough space to print a symbol with total size of 5.08 mm X 5.08
mm (0.2” X 0.2”); what X-dimension will allow me to print this symbol?
■ Step 1: The number of modules, per side, is the value of the symbol
size plus 2 (for quiet zones) for each dimension, so the number of
modules required to print a symbol size of 18 X 18 is 20 modules X 20
modules.
■ Step 2: Divide the length (l) given by the number (n) of modules to
obtain the module size (X) X = l/n = 5.08 mm/ 20 = 0.254 mm (0.010”)
Q.3: I want to print a GS1 DataMatrix symbol containing a GTIN and a 10
digit serial number:
<FNC1> 1
<AI 01> 1
<GTIN> 7
<AI 21> 1
<Serial Number> 5
Total 15
■ Step 2: Using Table 1.2.2-1 find the smallest size symbol that will
support the number of codewords required. Under Total Codewords –
Data, the symbol size supporting 18 codewords is the smallest symbol
that will support 15 codewords. The Symbol Size column shows that this
is an 18 X 18 symbol.
The final symbol size, including Finder pattern is 18 X 18. With quiet zones,
the total size is 20 X 20.
% of
Mapping codewo
Symbol Data Total Maximum
matrix used fo
size* region codewords data capacity
size error
correct
Alpha-
Num.
Row Col Size No. Data Error Num.
Cap.
Cap.
16 16 14x14 1 14x14 12 12 24 16 50
20 20 18x18 1 18x18 22 18 44 31 45
% of
Mapping codewo
Symbol Data Total Maximum
matrix used fo
size* region codewords data capacity
size error
correct
22 22 20x20 1 20x20 30 20 60 43 40
The symbol dimension (D) is the total number of modules (m) times the
X-dimension.
<GTIN> 14 digits 7
<Serial Number> 8
Total 19
■ Step 2: Using Table 1.2.2-1 find the smallest size symbol that will
support the number of codewords required. Under Total Codewords –
Data, the symbol size supporting 22 codewords is the smallest symbol
that will support 19 codewords. The Symbol Size column shows that this
is a 20 X 20 symbol.
The final symbol size including finder pattern is 20 X 20. With quiet zones
the total size is 22 X 22.
Alpha-
Num.
num.
16 16 14x14 1 14x14 12 12 24 16 50
20 20 18x18 1 18x18 22 18 44 31 45
22 22 20x20 1 20x20 30 20 60 43 40
The symbol dimension (D) is the total number of modules (m) times the X-
dimension.
The ASCII encodation converts the 6 characters into 3 bytes. This is done
through the following formula
So, the details of this calculation are as follows: “12” = 12 + 130 = 142
Therefore, the data stream after data encodations is: Decimal: 142 164 186
Consulting the configuration table for GS1 DataMatrix (see Table 1‑1 ), we
can see that three data codewords correspond to the capacity of a 10 rows
x 10 columns symbol. Similarly that symbol carries five error correction
codewords. If the number of encoded codewords required is fewer than
the available capacity, the remaining space should be filled with pad
characters.
Codeword 1 2 3 4 5 6 7 8
Hex 8E A4 BA 72 19 05 58 66
On the other hand, the binary translation (see, The International Standard
ISO/IEC 646 for representation of each character (hex, decimal, octal and
binary)) would be:
The final binary codewords are placed in the matrix as symbol characters
according to the algorithm described in Annex F from Standard ISO/IEC
16022 (F.3), where 1.1 corresponds to the 1st bit of the first codeword, 1.2
corresponds to the 2nd bit of the first codeword, 1.3 corresponds to the
3rd bit of the first codeword etc. The final matrix would be:
B Bibliography
The documents listed below are either directly or indirectly quoted within
the document.
C Glossary of terms
Please refer to the www.gs1.org/glossary for the latest version of the
glossary. The list below aims to provide the reader with summary of the
technical terms and acronyms used in the context of GS1 DataMatrix. The
objective is to aid the understanding and ensure unambiguous use of
terminology throughout the document.
Term Definition
Name Organisation
Log of Changes
Date of
Release Changed By Summary of Change
change
15 Jan
2.0 Lutfi Ilteris Oney GSMP Publication
2015
WR 15-315: changes on
May appendix 1 and 7. Errata edits
2.3 Lutfi ilteris Oney
2016 and community review
comments incorporated.
WR 17-145: resolution of
Andrew Hearn,
Community Review comments
Sep David Buckley,
2.5 including editorial corrections
2017 Ilka Machemer,
(figure numbering in section 4)
Gerald Gruber
and errata.
Ⓒ 2018 GS1
Disclaimer
Useful links:
GS1 India
* PDF version of the GS1 DataMatrix Guideline
India
* www.gs1.org/barcode/2d
Go to location
Terms of use Privacy policy Cookie Policy GS1 Competition Law Caution GS1 Intellectual Property Policy Website feedback
Contact us Customise