Why a printed barcode won’t scan — and how to fix it
Barcodes fail when the quiet zone is missing, bars are too thin for the printer, contrast is wrong or the image was blurred. Causes and fixes in order.
Published
Tools for this job: Barcode Generator · QR Code Generator
A printed barcode usually fails because of the print, not the number: the blank margin around it is too small, the bars are too thin for the printer, the image was blurred by resizing or JPG compression, or the colours lack contrast. Less often, the scanner is not set to read that barcode type.
1. The quiet zone is missing
Every linear barcode needs clear space on both sides so the scanner can find where it starts and ends. Text, a border, or the edge of a label touching the bars is one of the most common causes of failure. For Code 128 the usual guidance is at least ten times the width of the narrowest bar on each side; retail symbols such as EAN and UPC have their own, larger, specified margins. Keep the margins the generator adds, and do not crop them off.
2. The bars are too thin for the printer
Shrinking a barcode to fit a small label makes the narrowest bar narrower. Below what the printer can reproduce cleanly, bars blur together or break up — especially on thermal and inkjet printers, where ink spreads. Print it bigger, or shorten the encoded value so the barcode needs fewer bars: TOOL-0042 makes a much shorter Code 128 than a long sentence.
3. The image was blurred or stretched
- Use SVG or PNG, never JPG. JPG compression smears the hard edges between bars. The Barcode Generator downloads PNG or SVG; SVG stays sharp at any size.
- Do not stretch it unevenly. Resizing only the width in a document changes the bar ratios. Lock the aspect ratio, or resize SVGs, which scale exactly.
- Check the printer’s scaling. “Fit to page” can shrink a label sheet slightly. Print at 100% when testing.
4. Contrast and colour
- Dark bars on a light background. Reversed (light on dark) codes fail on many scanners.
- Avoid red bars: many scanners use red light, under which red ink looks the same as white paper.
- Glossy, curved or transparent surfaces reflect or distort; test on the real material.
- Faded thermal labels and low-toner printouts lose contrast first in the thinnest bars.
5. The data or the type is wrong
- Check digit. UPC, EAN and ITF-14 end in a check digit. A wrong one makes scanners reject the code. The generator calculates or verifies it for you.
- Scanner settings. Many scanners are configured to read only certain types. A Code 39 label may not scan on a scanner set up only for EAN and UPC. Check the scanner’s manual for enabling symbologies.
- Scans, but “item not found”. The barcode is fine; the number is not in the system. For retail sale, products need a GS1-issued number registered to you — see UPC, EAN or Code 128.
Testing before a full print run
- Print one sheet at 100% on the real printer and label stock.
- Scan with the actual scanner, from the distance and angle staff will use.
- Try a phone scanner app as a second opinion, not as the only test.
- Rub or bend a label if it will be handled, then scan again.
Would a QR code be better?
QR codes carry error correction and tolerate damage and curved surfaces better, and phone cameras read them easily. If your scanners support 2D codes and you are not bound to a retail standard, the QR Code Generator is an option for internal labels.
Checklist
- Clear margin on both sides?
- Bars wide enough for the printer; value as short as possible?
- PNG or SVG, printed at 100%, not stretched?
- Dark, non-red bars on a light, matte background?
- Barcode type enabled on the scanner?