A 2D barcode on flexo packaging follows the same routine as a linear one: build it at final size in barcode software, compensate for print growth by test, protect the quiet zone, and verify the printed sample. The numbers are what change. For retail checkout, GS1 sets 2D module size at 0.396 to 0.990 mm, a minimum grade of 1.5/12/660, and a quiet zone of 1 module for Data Matrix and 4 modules for QR Code (GS1 2D retail guideline).
What Sunrise 2027 means for packaging
GS1 calls it Ambition 2027, also known as Sunrise 2027 (GS1). The goal is for retail point-of-sale (POS) scanners to read the GTIN from both linear and 2D barcodes by the end of 2027. It is a scanner deadline, not a rule that packs must change. Linear barcodes are not going away. During the transition a pack carries its EAN/UPC plus one of three 2D symbols:
| Symbol | What it encodes | Quiet zone | Where it fits |
|---|---|---|---|
| GS1 DataMatrix | GS1 element string, e.g. (01) GTIN, (17) expiry, (10) lot | 1 module | Healthcare (GS1's POS choice) and data that does not need a web link |
| Data Matrix with GS1 Digital Link URI | A web address that carries the GTIN | 1 module | Compact code that also resolves to a web page |
| QR Code with GS1 Digital Link URI | A web address that carries the GTIN | 4 modules | Phone cameras and POS on the same code |
GS1 notes that the element string gives a smaller code when no web link is needed, and that the Digital Link URI must use the uncompressed form. The linear barcode stays the verification note's territory. This note covers the 2D half.
How big a 2D barcode has to be
The X-dimension is the size of one square module. GS1 sets 2D modules at 1.5 times the equivalent linear X-dimension, because of optical effects when a scanner captures the code as an image.
| GS1 table | Minimum X | Target X | Maximum X | Minimum grade |
|---|---|---|---|---|
| Retail POS only (table 1) | 0.396 mm (0.0150 in) | 0.495 mm (0.0195 in) | 0.990 mm (0.0390 in) | 1.5/12/660 |
| Retail POS and general distribution (table 3) | 0.743 mm (0.0292 in) | 0.990 mm (0.0390 in) | 0.990 mm (0.0390 in) | 1.5/12/660 |
Symbol size then depends on the data. We encoded GS1's own example GTIN with standard encoders to show the range at the 0.495 mm target:
| Data on the plate | Symbol | Modules | Symbol size | With quiet zone |
|---|---|---|---|---|
| GTIN only, element string | GS1 DataMatrix | 16 x 16 | 7.9 mm | 8.9 mm |
| GTIN, expiry, and lot, element string | GS1 DataMatrix | 20 x 20 | 9.9 mm | 10.9 mm |
GTIN only, https://example.com/01/09521101530001 |
Data Matrix | 22 x 22 | 10.9 mm | 11.9 mm |
| Same URI, error correction M | QR Code (version 3) | 29 x 29 | 14.4 mm | 18.3 mm |
| URI with lot and expiry, error correction M | QR Code (version 4) | 33 x 33 | 16.3 mm | 20.3 mm |
A longer domain or extra data adds modules. QR Code error correction is chosen per job (L 7%, M 15%, Q 25%, H 30%), and a higher level makes the code bigger. Data Matrix sets its own, at roughly 30% of the symbol. The GS1 colour and quality guide recommends a quiet zone a little larger than the minimum to absorb production tolerances. On a carton or pouch, that zone also has to clear folds, seals, and the dieline.
What goes on the plate and what gets printed inline
A flexo plate prints the same code on every package, so it can only carry static data: the GTIN, or a Digital Link URI that holds only the GTIN. Batch, expiry, and serial numbers change by production run or by unit. GS1 says that dynamic data may rule out pre-printing the barcode, and lists inline methods such as continuous inkjet, thermal inkjet, laser, thermal transfer, and print-and-apply. A static Digital Link code stays useful anyway: the brand can change where it points without changing the plate.
Ask at intake which symbol sits on the plate and which is coded on the line. If the converter's coder prints the 2D code, the artwork still has to leave its space and quiet zone clear. Placement matters too. GS1's testing found the 2D code must sit within 50 mm (1.97 in) of the linear barcode's center for checkouts to keep scanning 40 to 70 items a minute. A QR code meant only for shoppers belongs on a different panel. On the same panel, it can ring up a second, unintended POS transaction.
Prepress rules for 2D codes in flexo
- Build at size. GS1's 2D verification guideline says to scale only in barcode software, because scaling in design software is a common cause of decode problems. FIRST 7 gives the same advice for linear codes, so that bar-width reduction and output resolution are applied when the code is made.
- Compensate for growth by test. Ink spread fattens 2D modules in both directions, just as it fattens bars. ISO/IEC 15415:2024 made print growth a graded parameter, according to GS1's colour guide. Set the reduction from printed samples on the real substrate and ink, as with bar-width reduction.
- Use one dark ink on a light background. Scanners and verifiers light the code at 660 nm red, so red, orange, and yellow codes read poorly. GS1 calls black on white the most consistent combination. Its specs include a reversed (white on black) example, but there growth fills the light modules instead.
- Keep logos out. GS1 treats a logo inside a QR code as damage that uses up error correction. Too large, or over the finder patterns, and the code fails.
- Watch sheen. Gloss film and laminates reflect the scanner's light back into its imager. GS1 advises avoiding shiny surfaces for the code area.
Verify against 1.5/12/660
The grade reads as three numbers. 1.5 is the minimum overall grade on a 0 to 4 scale. 12 is the 0.30 mm measuring aperture, which is 80% of the minimum X-dimension. 660 is the light wavelength in nanometers. The overall grade is the lowest of the parameter grades: decode, symbol contrast, modulation, axial and grid nonuniformity, unused error correction, fixed pattern damage, and print growth. GS1 asks for the measurement on the code in its final configuration, so verify the finished pack, not a loose proof.
Axial nonuniformity checks whether modules print square. GS1 grades it as the difference between average X and Y spacing divided by their mean: 0.06 or less earns a 4, and above 0.12 earns a 0. Causes include film stretched in one direction. By our math, a 3% length difference between the axes, such as a wrong plate distortion factor, gives about 0.03 and still grades 4. A 10% difference gives about 0.105 and grades 1.
What to record on the job
Record the symbology, the syntax (element string or Digital Link URI), the exact encoded string, QR error correction level, X-dimension, symbol size, quiet zone, and print-growth reduction for each axis with the print condition it was tested on. Add the ink and background, placement relative to the linear barcode, which data is on the plate and which is coded inline, and the verification grade with its aperture and wavelength. A failed 2D code found at intake costs a new file. Found on press, it costs a remake at plate-area cost, and the record shows whether the data, the size, or the print condition was the cause.
Common questions
What is GS1 Sunrise 2027?
Sunrise 2027, which GS1 calls Ambition 2027, is the industry goal for retail point-of-sale scanners to read the GTIN from both linear and 2D barcodes by the end of 2027. It does not remove the UPC or EAN barcode. During the transition, packs carry the linear barcode plus a GS1 DataMatrix, a Data Matrix with GS1 Digital Link URI, or a QR Code with GS1 Digital Link URI.
What is the minimum size of a QR code on packaging?
For a QR code scanned at retail checkout, GS1 sets the module size (X-dimension) at 0.396 mm minimum and 0.495 mm target, with a quiet zone of 4 modules on every side. The symbol's size then depends on the data. A short GS1 Digital Link URI holding only the GTIN fits a 29 x 29 module QR code: about 11.5 mm at the minimum X-dimension (14.7 mm with the quiet zone) or 14.4 mm at the target (18.3 mm with the quiet zone).
QR code or Data Matrix: which is better for packaging?
A GS1 DataMatrix is smaller for the same data and is GS1's 2D choice for healthcare products, but it does not link to the web. A QR Code with GS1 Digital Link URI is larger, needs a 4-module quiet zone instead of 1, and can be read by phone cameras and imaging POS scanners alike. A Data Matrix can also carry a Digital Link URI when space is tight.
Can flexo print a GS1 2D barcode?
Yes, for static data. A flexo plate prints the same code on every package, so it can carry the GTIN or a Digital Link URI that holds only the GTIN. Batch, expiry, and serial numbers change by run or unit and are usually printed inline at production by inkjet, laser, or thermal transfer. Either way, size the code in barcode software, set print-growth compensation by test, and verify the printed pack to the 1.5/12/660 grade.