How to Print Barcode Labels That Actually Scan

Published 9 October 2026

A barcode that looks fine on screen can still fail at the till or in the warehouse. Most scanning problems come from printing, not from the barcode itself. Here's how to avoid them.

Good: clear marginToo tight: no marginToo pale: low contrast
Same barcode three ways. Only the left one is safe to print.

Start with a clean, high-contrast barcode

Scanners work by measuring the difference between dark bars and light spaces, so contrast matters more than anything else. Black bars on a white background is the safe choice. Dark blue or dark green can work, but pale colours, red bars and coloured backgrounds often fail, because many scanners use red light and can't see red ink at all.

If you're making the barcode with the barcode generator, keep the colour options at black on white unless you've tested something else on your own scanner.

Download the right file

  • SVG is the best choice for printing. It's made of shapes rather than pixels, so it stays sharp at any size.
  • PNG is fine too, as long as you download it at a size at least as big as you'll print. Don't stretch a small PNG, because the edges of the bars turn soft.

Print at 100% scale

This is the mistake I'd check first. In the print dialog, choose Actual size or 100%, not "Fit to page". Shrinking or stretching a barcode changes the width of the bars, and retail barcodes in particular are meant to be printed within a specific size range. If your word processor or label software adds its own scaling, turn it off.

Leave the blank space around it

Every barcode needs an empty margin on the left and right, called the quiet zone. If text, a border or the edge of the label runs too close, the scanner can't tell where the barcode starts. As a rule of thumb, keep a margin of at least ten times the width of the thinnest bar. The generator enforces this for you, so don't crop the image tighter afterwards.

Pick a size you can read reliably

Bigger is safer, within reason. Very small barcodes need a very good printer. A few things to keep in mind:

  • Don't make bars thinner than your printer can reproduce cleanly. If the bars look fuzzy under a magnifying glass, go bigger.
  • Tall bars are easier to hit with a scanner than short ones, especially if people scan by hand.
  • For shop products, check the size range your retailer asks for. An EAN-13 is normally printed at 80% to 200% of its standard size.

Choose the right printer and label

Thermal label printers are the usual choice for shipping and stock labels. They produce sharp bars and the labels are cheap. Laser printers also work very well on plain paper or sheet labels. Inkjet is fine for small jobs on good paper, but ink can bleed on cheap or glossy stock, which blurs the bars.

Matte, white labels are easier to scan than glossy or shiny ones, because glossy surfaces reflect light back at the scanner. If the labels will be handled a lot, a protective laminate or a thermal-transfer ribbon helps them last.

Test before you print the whole roll

  1. Print one label, or one sheet.
  2. Scan it with the same kind of scanner you'll use for real, such as the till scanner, a warehouse handheld or a phone.
  3. Check that the number the scanner reads matches what you typed.
  4. Try scanning it from a slightly different angle and distance, and from a bit further away than feels natural.

Only then print the full batch. It takes two minutes and saves a lot of wasted labels.

Quick troubleshooting

  • Scanner beeps but reads the wrong number: check the barcode type matches what the scanner expects, for example Code 128 versus Code 39.
  • Doesn't beep at all: look for low contrast, smudged bars, or a missing quiet zone.
  • Works on screen but not on paper: the print was probably scaled. Print again at 100%.

Ready to make one? Open the barcode generator, pick your format, and download an SVG.

A few details that trip people up

Printer resolution

Many thermal label printers print at 203 dots per inch, and some at 300. The higher the number, the finer the bars you can print. If you're squeezing a long Code 128 onto a small label and the bars look mushy, a 300 dpi printer or a shorter value will help far more than any software setting.

Rolls versus sheets

If you print on sheets of address labels at home, check that your printer driver isn't set to "scale to fit" or "borderless". Either can quietly resize the barcode. Print one test sheet on plain paper first and hold it against a ruler to check the size.

Stick it somewhere flat

Barcodes wrapped around a sharp curve, such as a thin bottle, or stuck over a fold, are harder to read. Where you can, put the label on a flat part of the box or bottle, and keep it away from seams and edges.

Print the number under the bars

Turn on "Show the value" in the barcode generator. When a barcode won't scan, a person can still read the number and type it in, which keeps the queue moving.

Which format should you print?

That depends on what the barcode is for. For shop products use an EAN-13 or UPC-A. For your own stock and shelves Code 128 is the flexible choice. For cartons, look at ITF-14. Not sure whether you need a barcode or a QR code at all? Read barcode vs QR code.

Frequently asked questions

Why does my barcode scan from the screen but not from paper?

The most common reason is that the printout was scaled or the printer smudged the bars. Print again at 100% scale on matte paper and test one label before printing more.

What's the best file to print: SVG or PNG?

SVG, because it stays sharp at any size. If you use a PNG, download it at least as large as the size you'll print.

Can I print barcodes in colour?

You can, but dark bars on a white background is the safe choice. Red and other pale colours often can't be read by scanners that use red light.

How small can I print a barcode?

It depends on your printer and scanner. If the bars look fuzzy under a magnifying glass, make it bigger. For shop products, follow the size range your retailer asks for.

More guides

See all guides