Three separate problems
"One code per box" sounds like one requirement. It is three independent technical lines:
- Where the code comes from — who generates it, how duplicates are prevented, how it binds to the order
- Where it is printed — inline on the carton, on a label applied offline, or pre-printed with only a variable panel
- Whether it scans — grade, contrast, placement, substrate glare
Most projects handle the first two well and fail on the third.
1. Three ways to apply codes
| Method | Suits | Cost |
|---|---|---|
| Inline inkjet | Stable line speed, consistent carton | Head position must track line speed; new carton means re-setup |
| Offline labels | Many variants, small batches | An extra labelling step and labour |
| Pre-print plus variable panel | Large runs, fixed layout | High pre-print minimum, inflexible |
Choose by carton consistency and batch size, not by equipment price.
2. Where codes come from: the most underrated part
- Uniqueness — issue from one authority, never from two machines independently
- Verifiability — check digits or an encrypted segment so manual entry cannot pass
- Reconciliation — every code must map back to order, batch and time
Only then is it traceability. A serial number that cannot be looked up is decoration.
3. Whether it scans: four hard factors
Two-dimensional codes are graded (ISO/IEC 15415 uses A–F). On the floor, watch four things:
- Contrast — dark code on light background; glossy substrates need matting or relocation
- Quiet zone — white space around the code; crop it and read rates collapse
- Size — set by scan distance, not by preference
- Distortion — curves, wrinkles and registration error all deform the grid beyond error correction
4. Four common failures
- Partial nozzle blockage — the code has lines missing; a human can still read it, a scanner cannot
- Glare — laminated cartons and metal cans reflect the light away
- Damaged downstream — shrink wrap, labelling and handling can destroy a perfectly printed code
- Ink spread — porous board wicks ink, edges blur, modules merge
5. Validate before going live
- First-article scan — 30 codes per carton type and substrate, record the success rate
- Grade check — a verifier if you have one, otherwise test distance and angle with a handheld
- Destructive sampling — scan again after wrapping, stacking and simulated transport
- Define the failure path — reprint, re-label or reject the box; decide in advance
The short version
Variable data is not "buy a coder". It is data, process and verification. Printing the code is half the job; scanning and tracing finish it.


