Look closely at a perfume box, a cable reel or a tin of paint and you will usually find a small block of printing that is not part of the design: a batch number, a date, perhaps a 2D code. That block was added on the production line, seconds before the pack was boxed, by an industrial coder.
This guide explains what a coder is, the main types, and what changes when you ask one to print serialized codes.
Fixed artwork versus variable data
Packaging has two kinds of print.
- Fixed artwork — brand name, design, ingredients, the retail barcode carrying the GTIN — is the same on every pack. It is printed in bulk by the packaging supplier before the material arrives at the factory.
- Variable data — batch, manufacturing date, expiry, and for serialized products a unique code per pack — changes during production. It cannot be printed in advance because it is not known in advance.
A coder (also called a coding and marking printer) is the machine that adds variable data on the line. It is mounted beside or above the conveyor and marks each pack as it passes.
The main coder technologies
Coders come in several families. Which one fits depends on the material, the line speed, the code size and how the factory feels about consumables and maintenance. The descriptions below are general; specific models vary a lot.
Thermal inkjet (TIJ)
Uses cartridges with tiny heated nozzles that fire droplets of ink, similar in principle to an office inkjet. Often chosen for sharp, high-resolution codes on cartons and paper-based packs, and popular for 2D codes on folding boxes. Ink choice matters on non-absorbent surfaces.
Continuous inkjet (CIJ)
Pumps a continuous stream of ink drops and steers the ones it needs onto the pack, recycling the rest. Known for printing on curved, uneven or non-porous surfaces — bottles, cans, cables — at high speeds. Typical CIJ output is a dot-matrix style, which can make small, dense 2D codes harder to print well.
Laser
Marks the surface by removing a coating, changing its colour or etching it, with no ink at all. Suited to materials that react predictably to the laser, such as coated cartons, some plastics and glass. Codes are permanent, but the contrast depends entirely on the material.
Thermal transfer (TTO)
Uses a heated printhead to transfer ink from a ribbon onto flexible film and labels — common on pouches, flow-wrap and labels. Produces crisp text and codes on suitable films.
There are other technologies too, including various large-character inkjets for cartons and print-and-apply label systems for shipping labels. The point for a serialization project is that the coder technology determines what you can reliably print where — which is why we recommend reading how to evaluate whether your printer can handle serialized 2D codes before committing to a code size or layout.
How a coder knows when and where to print
A pack moving at line speed passes the print head in a fraction of a second. Two signals let the coder hit the right spot.
The trigger (product detect). A sensor — usually a photo-eye — sees the leading edge of each pack and tells the coder "a pack is here". The coder then waits a set distance or delay before printing, so the code lands in the right place on the panel.
The encoder (speed). A shaft encoder is a small wheel or sensor attached to the conveyor that sends pulses as the belt moves. The coder uses those pulses to know how fast the pack is travelling, so it can stretch or compress the print timing. Without an encoder, a coder assumes a fixed speed, and a code printed while the line is speeding up or slowing down may come out squashed or stretched.
Think of a photographer on a moving train platform: the trigger tells them when the subject arrives; the encoder tells them how fast it is moving so they can pan the camera at the right speed.
What serialization changes
For decades, many coders printed a message that changed perhaps once a shift: "LOT 25A117 EXP 09/2028". An operator typed it in, and the coder repeated it on every pack.
Serialization — giving each individual pack its own identity, explained in what product serialization is — changes that job completely. Now each pack needs a different code — typically a 2D barcode such as a GS1 DataMatrix or a QR code, carrying the product's GTIN, batch, expiry and a unique serial number — and the coder must print them in exactly the order the line software expects.
That introduces new requirements:
- Data delivery. The coder receives serials from line software, usually over a network connection using a protocol specific to the coder model. It typically holds a small buffer of upcoming codes so it is never waiting.
- Strict order. If the coder prints the serial meant for the next pack instead of the one the software expected, every downstream check will be wrong. Coders and software exchange acknowledgements so both sides know which message is next.
- Buffer discipline. If the line stops or a pack is removed, the codes already sitting in the coder's buffer have to be handled deliberately — printed, cleared or voided — rather than silently shifting by one.
- Quality at size. 2D codes have minimum size and quiet-zone needs. For general retail, GS1 sets size ranges and a minimum print-quality grade, so a code that looks fine to the eye can still fall short.
Acknowledgements: what the coder can tell you
Most serialization-capable coders report back on each message — for example that it was received, buffered, or printed. These messages are valuable for keeping the sequence in step.
But they describe what the printer did. They cannot tell you whether the code on the pack is complete, legible and correct. A blocked nozzle, a skewed carton or a smear can all happen after the printer believes it succeeded.
That is why serialized lines pair the coder with a camera. We explain how those checks work in how cameras and barcode readers verify product identity.
Example: one coder on a perfume line
On Maison Ardent's fictional Line 3, a thermal inkjet coder prints a serialized 2D code and four lines of text on the base of each 100 ml perfume box, at 120 boxes a minute.
A photo-eye triggers each print. An encoder on the conveyor keeps the code proportional even when the line ramps up after a stop. Line software sends the coder a rolling window of upcoming serials and tracks each acknowledgement. When the operator stops the line to clear a jam, the software decides what happens to the serials already in the coder's buffer — rather than leaving the coder to resume where it thinks it was.
The coder does one job well: putting the right mark in the right place, fast. Everything around it — supplying serials, checking the result, recording what happened — belongs to other parts of the system, as set out in the journey of a serialized product through a packaging line.
Choosing and integrating a coder
There is no universally "serialization-ready" coder. Whether a given coder works on your line depends on its model and firmware, the communication protocol, the substrate, the code size and the line speed. A short trial printing your real code on your real packaging, read back by a camera and graded by a verifier, tells you more than any datasheet. Our printer compatibility page sets out the validation states and the information needed to assess a specific coder.
See how line software coordinates coders and cameras