Printing barcodes: orientation, inverse codes, 2D and verification
A barcode is only worth something if it scans everywhere along the way: at dispatch, in the customer’s warehouse, and years later during a complaint. Designing the content is only half the job — how it is printed decides just as much whether the code stays readable.
Updated:
Print orientation: ladder or picket fence?
A thermal transfer printhead is a row of heating dots, and the label passes under it line by line. This creates two very different situations. When the bars are perpendicular to the running direction — the code is in “picket fence” orientation — each bar is printed by a single row of dots, so the edges stay crisp.
In the 90°-rotated “ladder” orientation, however, every bar is built up from hundreds of consecutive firings. This is where most problems appear: because of the printhead’s thermal inertia the bars can smear or merge, and the module width depends on the accuracy of the head and the media transport. In ladder orientation it is therefore worth:
- Choosing a higher-resolution head (300 or 600 dpi) — narrow modules then still hit their nominal width; the CAB SQUIX 4 is available with both
- Reducing the print speed and fine-tuning the temperature rather than overheating
- Designing the module width (the narrowest bar) as a whole multiple of the head’s dot size
- Printing in picket fence orientation where the application allows — or switching to a 2D code
Inverse (reversed) barcodes
In an inverse code light bars run on a dark background. It looks striking but is risky: the standards (ISO/IEC 15416 and 15415) always calculate contrast from the reflectance difference between light and dark elements, and most classic laser (1D) scanners are designed for dark bars on a light background — many will not read an inverse code at all.
Camera-based (imager) scanners mostly handle inverse codes, and among the 2D standards Data Matrix explicitly permits reversed polarity, which better decoders detect automatically. The practical rule still stands: if the code has to be read in someone else’s system — at a customer, a courier or an official inspection — do not use an inverse code. If you must (for example on dark stock or with laser marking), test it first with the scanner that will actually read it in the field.
1D or 2D code?
Linear barcodes (Code 128, EAN, Code 39) carry data in one direction only and contain no error correction: a scratch, a ribbon fault or a crease makes the code unreadable. 2D codes (Data Matrix, QR), by contrast, include Reed–Solomon error correction, which restores the data even when part of the code is lost.
- Data Matrix ECC 200: still decodable with roughly 25–30% of the code damaged
- QR code: four error-correction levels (L ≈ 7%, M ≈ 15%, Q ≈ 25%, H ≈ 30%) — a higher level means a larger code
- Far more data in far less space — for part marking this is often the only workable route
- A 2D code reads from any direction, so the orientation question disappears
- In exchange it needs an imager: old laser handheld scanners cannot see a 2D code
Verification: how do we know the code is good?
That “my handheld reads it” is not proof. Standard grading (ISO/IEC 15416 for 1D, 15415 for 2D) rates the print from A to F, scoring contrast, modulation, decodability and defects separately. Automotive, electronics and pharma typically require at least a “C” (2.0) grade — and hold the supplier responsible for it.
Grading can be done on a sample basis (with a handheld verifier) or on every label, with an inline verifier integrated into printing. That a code scans, or carries the right data, is not a grade: the standard grade is always measured with a verifier.
Practical checklist
Before a new label goes live, it is worth going through these:
- Is there enough quiet zone on both sides of the code — typically ten times the module width
- Do the resolution and module width match (600 dpi for a small Data Matrix, 300 dpi for general work)
- Is the ribbon-label pairing right: a resin ribbon gives a sharper code than wax
- On glossy or laminated surfaces reflection can disturb the scanner — a matte material is safer
- Test with the scanner and in the environment where the code will actually be read
Questions? We help you choose.
Describe the task and we will suggest the right label-ribbon-printer combination.
