How to Print Barcode Labels on a Zebra (or Any Thermal) Printer

Thermal label printers are fast and cheap to run, but a wrong setting can shrink a barcode, skip labels or print it across two. Here is how to set one up so every label scans.

What you need

  • A thermal label printer — Zebra, Rollo, TSC, Xprinter, Brother, DYMO or similar — with its driver installed.
  • A roll of labels the size you want to print, loaded the way the printer’s manual shows.
  • The barcode labels as a PDF the exact size of one label, from the thermal label page or, for a list, the bulk generator with a roll size chosen.

Step 1: tell the printer the label size

Open the printer’s preferences in your computer’s printer settings and set the paper or media size to your label size — for example 2 × 1 in or 50 × 25 mm. If the size isn’t listed, most drivers let you create a custom size. Set the orientation to match how the labels come out of the printer.

Then run the printer’s media calibration, so it measures the gap between labels. How to start it varies by model (a button sequence or a menu option); the manual explains it. Calibrate again whenever you change to a different label roll.

Step 2: choose the right resolution

Thermal printers print dots in a fixed grid. Most desktop models are 203 dpi (8 dots per millimeter); sharper ones are 300 dpi. The resolution is usually on a sticker on the printer or in its specifications.

In the barcode generator, set “Printer resolution” to the same value. The tool then makes every bar a whole number of dots wide and lines it up with the printer’s dots. Without this, a bar that should be 2.6 dots wide prints as 2 or 3 dots, and the uneven bars can stop a barcode scanning.

Step 3: print the PDF at 100%

  1. Open the PDF and choose Print.
  2. Select the label printer.
  3. Set scale to 100% or Actual size. Turn off “Fit to page”, “Shrink oversized pages” and similar options.
  4. Check the paper size shows your label size.
  5. Print one label and scan it before printing the batch.

Each page of the PDF is one label, so a 200-page PDF prints 200 labels.

Or send ZPL directly

ZPL is the command language Zebra printers use, and many other printers can read it too (check the manual). The generator’s “ZPL (Zebra)” download writes the labels as ZPL, drawn from exactly the same layout as the PDF, with each label’s quantity as its print count. Send the file to the printer with a printer utility — Zebra’s setup utility can send a file to a connected printer — or paste it with “Copy ZPL” into a tool that accepts ZPL.

ZPL skips the computer’s print dialog, so scaling can’t go wrong; but the printer’s own settings (label size, darkness, speed) still apply. If your printer doesn’t understand ZPL, use the PDF.

Choosing the right labels

  • Gap labels — separate labels on a backing strip, with a small gap between them that the printer’s sensor detects. The most common kind.
  • Black-mark labels — a printed mark on the back tells the printer where each label starts. The printer’s sensor has to be set to black-mark mode.
  • Continuous labels — one long strip with no gaps; the label length comes from the paper size you set.

Check that the roll’s width, core size and outer diameter fit your printer, and that the label material matches the print method: direct thermal labels for printers without a ribbon, thermal transfer labels with a ribbon.

Printing a whole list

For many labels, use the “Many labels” tab of the bulk barcode generator: drop in your spreadsheet, choose your roll size under “Print on”, and download one PDF with one label per page — print it once and the printer runs through the whole list. The ZPL download does the same in the printer’s own language, with each row’s quantity as its print count.

Code 128 barcode label on a 2 by 1 inch label for the stock code SKU-10442, with the product name and bin location
A 2 × 1 inch stock label from a list: Code 128, product name and bin location.

Darkness and speed

Barcodes need solid black bars with clean edges. If bars look grey or broken, raise the darkness (also called density or heat) a step at a time. If bars look fat and smudged, lower it — too much heat makes bars spread, which changes their widths. Printing slower usually gives sharper bars at the same darkness.

Direct thermal or thermal transfer labels

Direct thermal labels darken where heated and need no ribbon, but fade over time, faster in heat or sunlight — fine for shipping labels and short-term stock. Thermal transfer uses a ribbon and lasts much longer; use it for product labels and anything kept for months. Make sure the label stock matches the mode the printer is set to.

Troubleshooting

Common thermal printing problems
ProblemUsual causeFix
Prints across two labels, or skips every other labelPrinter out of step with the label gaps, or wrong paper sizeRun media calibration; set the paper size to the label size
Barcode smaller than expectedThe print dialog scaled the pagePrint at 100% / Actual size
Label printed sideways or cut offOrientation or paper size mismatchMatch orientation and paper size in the driver to the label
White lines through all the barsDirty or damaged print headClean the head as the manual describes; replace it if lines remain
Pale, grey printDarkness too low or speed too highRaise darkness, lower speed
Barcode won’t scan but looks fineBars too thin for the scanner, or a missing blank marginUse a wider label; check the preview’s size warnings

For size problems in general, see barcode sizes and why barcodes don’t scan. Printing FBA labels? See the FNSKU label guide.

Frequently asked questions

Why does my Zebra printer skip labels?

It has lost track of the gaps between labels. Run media calibration and make sure the paper size in the driver matches the label.

Should I print barcodes from a PDF or with ZPL?

Both work. The PDF works with any printer through its driver; ZPL goes straight to Zebra and compatible printers and avoids the print dialog.

What darkness setting should I use?

Start in the middle and print a test label. Raise it if bars are grey; lower it if bars look thick or smudged.

Is my printer 203 or 300 dpi?

Check the sticker on the printer or its specifications. Most desktop thermal label printers are 203 dpi.