Skip to content

How to Print Barcodes That Scan the First Time

Most scan failures are printing failures. Getting bar width, contrast, material and quiet zone right matters more than which symbology you chose, and it is all decided before you hit print.

By PureTools Editorial TeamUpdated 7 min read

Match resolution to bar width

A 203 dpi printer physically cannot render a 0.2 mm bar cleanly. Either lower the data density, increase the label size or move to a 300/600 dpi device.

PrinterTypical DPIPractical narrowest bar
Desktop thermal203 dpiAbout 0.125 mm per dot, so keep bars 3-4 dots or wider
Industrial thermal300 dpiComfortable for small retail symbols
High-resolution thermal600 dpiNeeded for very small X-dimensions and dense Data Matrix
Inkjet on cardboardVariesExpect dot spread; use larger bars and test
Laser / office printer600-1200 dpiFine for proofs, not for high-volume label runs
Chart of barcode X-dimensions from 0.25 to 0.584 millimetres with the printer resolution each one needs
The X-dimension sets the resolution floor; everything else in the artwork follows it.

Choose the material and ribbon together

  • Direct thermal: cheap, no ribbon, fades in heat and sunlight. Good for short-life shipping labels.
  • Thermal transfer with wax ribbon: paper labels, general warehouse use.
  • Thermal transfer with wax-resin or resin ribbon: synthetic polypropylene, polyester and polyamide for outdoor, chemical and cold-chain exposure.
  • Kraft and recycled cardboards absorb ink and lower contrast; increase bar width when printing on them.
  • Glossy laminates create specular glare, which blinds many readers; matte finishes scan more reliably under warehouse lighting.

Geometry rules that are easy to break

  • Keep the quiet zone clear: at least 10 times the narrow bar width on each side, and more if a human has to aim.
  • Do not print bars edge-to-edge across a fold, a seam or a wrap-around corner.
  • Maintain a 2:1 to 3:1 wide-to-narrow ratio for 1D codes. If bars look blobby, the printhead is worn or the heat is too high.
  • Print bars vertically on a carton so a hand scanner passes across them horizontally, matching the intended scan direction.
  • On curved surfaces such as bottles, place the code where the label lies flat, or widen the bars to absorb distortion.

Printhead care

Vertical light streaks in a printed symbol are printhead damage or dirt, not a data problem. Clean the head at every ribbon change on demanding jobs, replace it when streaks persist, and check platen pressure if bars print thin in one column.

Calibrate print darkness for each new material. Too light gives weak contrast; too dark spreads edges and fuses adjacent bars.

Verify before you run thousands

  • Print a test batch on the real label stock with the real printer.
  • Scan with the actual devices used in the workflow, including the oldest reader on the floor.
  • Check from the real distance and angle, through any packaging film that will sit over the code.
  • For retail and logistics work, run a verifier pass on the first article and keep the report.
  • Save the artwork as vector, never as a screenshot or a resized PNG, so reprints are identical.

Frequently Asked Questions

Why does my barcode scan on one printer and not another?

Different DPI, print darkness and ribbon-material combinations change the effective bar edges. Reprint and verify on each device rather than assuming the data is at fault.

Can I use an office laser printer for product labels?

For small internal runs, yes, if the paper is smooth and white and the symbol is generated as vector artwork. For retail packaging or high-volume fulfilment, a thermal label printer gives more consistent edges.

How small can a barcode be printed?

It depends on the symbology and the reader. As a rule, keep 1D retail symbols at 0.495 mm X-dimension or larger, and shrink 2D codes only when you can verify them at the final size with the actual scanner.

My printed code looks fine but will not scan. What now?

Check contrast first, then the quiet zone, then whether the image was rescaled non-uniformly. Streaks mean a dirty or damaged printhead. Finally, confirm the scanner is enabled for that symbology.

Sources & further reading

About the author — PureTools Editorial Team

Reviewed against GS1 and ISO symbology specs

Barcode and 2D code pages are reviewed against the GS1 General Specifications and the ISO/IEC bar code symbol standards, then re-checked when a specification is revised.

Editorial policy and corrections