A barcode that looks perfect on the artwork proof can still fail on the packaging line. The design file is vector-sharp; the real pack is ink on foil or board, printed at line speed, sometimes under varnish, often on a curved or reflective surface. Most barcode failures in pharma aren't data problems — they're printing problems. The code carries the right information, but the scanner can't read it reliably, or a verifier grades it below the level GS1 expects.

This guide covers the printing side: which technology to use for which pack, how big the code needs to be, what print-quality grades mean, and the mistakes that make a compliant barcode unreadable. It picks up where generating the code leaves off — if you still need a GS1 Company Prefix and your first GTIN, start with how to generate a GS1 barcode in India.

Grade 1.5 (C)
The minimum overall print-quality grade GS1 specifies for most barcode applications, measured under ISO/IEC 15415 for 2D codes and ISO/IEC 15416 for linear ones. A code that scans on one phone can still grade below this — and fail on someone else's scanner.

Static vs Variable: Two Different Print Jobs

Every pharma barcode has a static part and a variable part, and they are usually printed in different places by different machines.

A Schedule H2 code carries batch and dates, so it is always a variable print job. That makes the choice of on-line coder the single biggest factor in whether your codes read well.

Choosing a Print Technology

Technology Best suited for Strengths Watch out for
Thermal inkjet (TIJ) Cartons, labels, porous board High resolution, crisp 2D codes, clean cartridge system, common on Indian carton lines Ink adhesion on foil and coated surfaces; drying time before the next station
Continuous inkjet (CIJ) Bottles, caps, high-speed lines, non-porous surfaces Very fast, prints on curved and difficult surfaces Dot-based output is lower resolution — small 2D codes can lose definition
Laser marking Coated cartons, labels with a laser-reactive layer Permanent, no ink or consumables, very hard to tamper with Needs the right substrate or coating to give enough contrast
Thermal transfer (TTO) Flexible films, foil lidding, labels Sharp, high-contrast print on films and foils Ribbon consumption; needs a flat backing at the print point
UV inkjet Foil blisters, non-porous materials Ink cures instantly, adheres to difficult surfaces Higher equipment cost; curing setup on the line

There's no single right answer. A plant often runs TIJ on cartons, thermal transfer or UV on foil, and a label printer for shippers. What matters is matching each coder to its substrate and confirming the output grades well at full line speed, not just during a slow test run.

Getting the Size Right

Barcode size is controlled by the X-dimension — the width of the narrowest bar in a linear code, or of a single square module in a 2D code. GS1 publishes symbol specification tables that set a minimum, target and maximum X-dimension for each symbol and application.

Just as important is the quiet zone — the clear margin around the code. A GS1 DataMatrix needs at least one module of clear space on every side; a GS1-128 needs ten times the X-dimension at each end; an EAN-13 needs 11 modules on the left and 7 on the right. Text, borders or graphics that intrude into the quiet zone are a frequent, avoidable cause of scan failures.

What Print-Quality Grades Actually Measure

A scanner tells you whether a code can be read. A verifier tells you how well it was printed, by grading it against an ISO standard. ISO/IEC 15415 (2D) and ISO/IEC 15416 (linear) both grade on a 4.0 to 0 scale, also expressed as A to F. The overall grade is the lowest of several individual parameters, including:

The overall grade is only as good as the weakest parameter. A code with excellent contrast but a damaged finder pattern still fails.

A scan is a yes-or-no answer on one device, on one day. A verification grade tells you whether the code will still read on a distributor's scanner six months later. Only one of those is a quality control. — Ratifye Editorial

The Most Common Reasons Pharma Barcodes Fail

QR Code or GS1 DataMatrix?

The Schedule H2 rule accepts either a bar code or a QR code and doesn't name a symbology. GS1 DataMatrix is the long-standing healthcare choice and is generally more compact for the same data. QR codes are what patients' phone cameras open by default, which matters for a code that's supposed to let a patient check a medicine. GS1 Digital Link, which encodes GS1 identifiers inside a web address, lets one QR code serve both purposes — it carries GS1-structured data for the supply chain and opens a verification page on a phone. It's also the direction GS1's Sunrise 2027 transition to 2D barcodes is heading.

Building Verification Into the Line

Where Ratifye Fits

Ratifye validates every GS1 application identifier at code generation, so malformed data is rejected before anything is printed. It sends print-ready codes to the TIJ, CIJ, laser or thermal-transfer coders you already have — no new hardware — and each code can carry a cryptographic signature, so the same code that passes verification also proves the pack is genuine when a pharmacist or patient scans it. Verification at the counter takes under 80 milliseconds.

Take Action

Codes passing on paper but failing on the line?

Ratifye's team can review your coding setup, from data syntax to print grade, and help you get codes that read first time — on the coders you already own. Start with 500 free authentications.

Talk to our team

Sources: GS1 General Specifications, including the symbol specification tables for healthcare and retail point of sale; ISO/IEC 15415 and ISO/IEC 15416 print-quality test specifications; CDSCO notification G.S.R. 823(E) and CDSCO FAQs on Bar Code / QR Code implementation for Schedule H2 brands; GS1 Digital Link standard. Figures are drawn from the published standards at time of writing; consult the current GS1 General Specifications and your equipment supplier for line-specific settings.