How to print barcode labels that scan first time

2 min read

Most barcode failures are printing problems, not barcode problems. Seven practical checks covering size, quiet zones, contrast, scaling and testing.

A barcode that looks fine on screen can still fail at the till or in the warehouse. In almost every case the code itself is correct and the problem was introduced when it was resized or printed. These seven checks prevent most failures.

1. Don't shrink it too far

Every barcode type has a minimum size below which the narrow bars become too thin for a printer to reproduce and a scanner to resolve. For retail UPC and EAN codes the nominal size is about 37 mm wide by 26 mm tall, and it should not be reduced below roughly 80% of that. If space is tight, shorten the bar height slightly rather than squeezing the width.

2. Protect the quiet zone

The blank margin on the left and right of the bars is part of the barcode. Scanners use it to find where the code starts and ends. Text, borders, or the edge of the label creeping into that margin is one of the most common causes of a code that will not read. Leave it clear.

3. Use dark bars on a light background

Scanners measure contrast under red light. Black on white is ideal. Avoid red, orange or yellow bars, which look almost invisible to a scanner, and avoid dark or strongly coloured backgrounds. Never invert a barcode to light bars on a dark background.

4. Print at 100% scale

When printing a PDF, choose Actual size or 100%. Options such as "Fit to page" or "Shrink oversized pages" rescale the bars by an arbitrary amount, which blurs their edges and shifts label sheets out of alignment. This single setting causes a large share of misaligned label sheets.

5. Use vector files for professional printing

If a designer or print shop is placing the barcode on packaging, give them SVG or PDF, not a screenshot or a low-resolution image. Vector files stay sharp at any size. If you must use an image, do not stretch it after exporting.

6. Match the label to the job

  • Glossy labels can reflect a scanner's light; matte stock reads more reliably.
  • Curved surfaces such as bottles distort wide codes. Rotate the barcode so the bars run around the curve like rungs of a ladder.
  • Thermal labels fade with heat and sunlight; use thermal-transfer labels for anything that must last.

7. Test before the full run

Print one sheet and scan every position with the device that will be used in practice. A phone app is a useful first check, but a handheld scanner is less forgiving and closer to real conditions.

Aligning label sheets

If codes are drifting off the labels towards the bottom or one side of the sheet, the printer is feeding slightly off-centre. Print on plain paper first, hold it against a label sheet up to the light, and nudge the horizontal and vertical offsets in the label sheet tool until the two line up.

When you are ready, create codes with the barcode generators and check any number with the validator before you print.

Share this article

Make your own in seconds

Free barcode and QR code generators — validated, no signup.

Keep reading