How to Print Barcodes

To print barcodes that scan, generate them as SVG or PDF, print at 100% scale on a laser or thermal printer (300 dpi or better for small codes), use dark bars on a white background, and keep the quiet zones clear.

Short answer: create the barcode as a vector file (SVG or PDF), print it with scaling set to 100% / Actual size, and use black bars on white matte labels. A laser printer with label sheets is enough for small batches; for volume, use a thermal label printer at 300 dpi. Always scan a test print before running the full batch.

Which printer should I use for barcodes?

PrinterBest forProsWatch out for
LaserLabel sheets, small and medium runs, office useSharp edges, no smudging, cheap per pageSheets waste labels on partial runs; toner can flake on glossy stock
InkjetOccasional labels at homeCheap printer, colourInk spread blurs fine bars; use matte or inkjet-coated labels and let them dry
Direct thermalShipping labels, receipts, short-life labelsNo ink or ribbon, fast, one label at a timeLabels darken with heat and fade in sunlight; not for long-term use
Thermal transferProduct, asset, freezer and outdoor labelsDurable, crisp; works on paper, polyester and polypropyleneNeeds a ribbon matched to the label material

Resolution matters most for small barcodes. A 203 dpi thermal printer is standard for 4 × 6 in shipping labels. For small retail barcodes, choose 300 dpi or higher: at 203 dpi a UPC can only be printed at about 114% of nominal size or larger without uneven bars (see the barcode size guide).

Which file format should I print from?

  • SVG: vector, scales perfectly. Best for packaging artwork in Illustrator, Affinity, Inkscape or Canva.
  • PDF: vector or high-resolution, prints at a fixed physical size. Best for sending to a print shop or printing label sheets.
  • PNG: pixels. Fine if generated at the final size or larger; it blurs if you enlarge it. Use the largest size option in our generators.
  • JPG: avoid for barcodes. Compression softens bar edges.

Whatever you use, never stretch a barcode in only one direction. That changes the ratio between bars and spaces and can make the code unreadable.

How do I print barcodes on label sheets?

  1. Pick the label template that matches your sheets (for example Avery 5160 or L7160) in the barcode label generator, or a template in your design software.
  2. Enter the data: one code repeated, a list of different codes, or a numbered run from the sequential barcode generator.
  3. Download the PDF and open it in a PDF viewer.
  4. In the print dialog set Scale: 100% or Actual size, turn off “Fit to page” and “Shrink oversized pages”, and choose the label or heavy paper type.
  5. Print one sheet on plain paper first, hold it behind a label sheet against the light to check alignment, then print on labels.

Thermal label printer settings

  • Label size: set the exact label width and height in the driver, and calibrate the printer so it detects the gap between labels.
  • Darkness and speed: raise darkness until bars are solid black, but not so far that they bleed together. Printing slower usually gives cleaner bars.
  • Orientation: bars running in the direction the label moves (“picket fence”) give the sharpest bar edges, because each edge is set by the print head’s fixed dots. Bars across the label (“ladder”) tolerate a failed print-head dot better: the white line then crosses all bars, and a scanner can read along another line.
  • Print head care: a dead or dirty dot leaves a thin white line through the code. Clean the head regularly with the cleaning pens or swabs the maker recommends.

Colours, materials and finishes

Scanners look for contrast between dark bars and a light background, and most use red light. That gives a few simple rules:

WorksRisky or fails
Black bars on whiteRed, orange or yellow bars (invisible to red-light scanners)
Dark blue, green or brown bars on white or pale backgroundsLight grey or pastel bars
Black on yellow, light red or light orange backgroundsDark backgrounds (navy, dark green, black)
Matte labels and laminatesHigh-gloss or metallic surfaces that reflect the scanner’s light

On clear or metallic packaging, print a white box behind the barcode. On curved surfaces such as bottles, turn the barcode so the bars run around the curve as little as possible, or keep it small enough that the curve doesn’t distort it.

Code 128 warehouse bin label barcode for BIN-A12-04
Code 128 bin label
Example Code 128 FNSKU-style label barcode for X00ABC1234
FNSKU-style label

Why won’t my barcode scan? A troubleshooting checklist

SymptomLikely causeFix
Nothing scans at allPrinted too small, or scaled by “Fit to page”Print at 100% and check the size against the size guide
Scans on screen, not on paperBars blurred or merged by ink spread or low DPIUse SVG/PDF, a laser or 300 dpi thermal printer, matte stock
Scans only from one directionQuiet zone cut off on one sideMove text and edges away from the barcode
Thin white lines through the barsDirty or damaged thermal print headClean or replace the head; meanwhile, print in ladder orientation so the gap crosses the bars
Scans but shows the wrong productWrong number or check digitVerify with the barcode validator
Phone reads it, handheld scanner doesn’tScanner not set up for that symbology, or it is a 2D code on a laser scannerEnable the symbology in the scanner settings, or use an imaging scanner

After every change, scan a test print with our online barcode scanner and, if possible, with the actual scanner used in your shop or warehouse.

Frequently asked questions

Can I print barcodes on a regular printer?

Yes. A laser printer on A4 or Letter label sheets prints sharp, scannable barcodes and is fine for small and medium runs. Inkjet printers also work, but ink can spread on uncoated paper, so use matte label stock and test scans. For hundreds of labels a day, a thermal label printer is faster and cheaper per label.

What is the best printer for barcode labels?

A thermal label printer. Direct thermal printers need no ink and suit shipping labels; thermal transfer printers use a ribbon and make labels that last for years. Choose 300 dpi if you print small product barcodes, 203 dpi is fine for shipping labels and larger codes.

Why won’t my printed barcode scan?

The usual causes are: the barcode was scaled (“Fit to page”) and is too small or distorted, the quiet zone was cut off, the bars are too light or in a colour scanners can’t see (red), the print resolution blurred the bars, or the number itself is wrong. Check each, and test with our barcode scanner.

What colours can barcodes be printed in?

Dark bars on a light background. Black on white is best. Dark blue, dark green and dark brown bars usually work. Red, orange and yellow bars don’t, because most scanners use red light and can’t see red as dark. Red is fine as a background colour.

Should I use PNG, SVG or PDF to print barcodes?

Use SVG or PDF where possible: they are vector formats that stay perfectly sharp at any size. PNG works if it is generated at the final print size or larger, and never stretched up. Our generators export all three.

How do I print many different barcodes at once?

Use the bulk barcode generator to create hundreds of codes from a list or CSV, or the barcode label generator to lay them out on Avery-style sheets as a print-ready PDF.

Related free tools