You have a barcode that looks right on screen, and the label that comes out of your desktop thermal printer is the wrong size, fuzzy or half cut off. Most of the time the barcode file is fine. Something in the print path changed it: a page-scaling option, a label size that does not match the roll, or a darkness setting that spreads the bars.

This guide walks through the settings that matter, in the order they usually go wrong. The menu names below come from Zebra's documentation because it is public and specific. Other brands use different names for the same controls, so look for the equivalent in your own driver or printer menu.

Stop anything from rescaling the barcode

A label printer has fixed dots, so a barcode is only exact when every module (the narrowest bar or space) covers a whole number of dots. Any scaling step between your file and the printhead breaks that. A page set to "fit" or "shrink to printable area" is the most common culprit.

Look for scaling in three places:

  • The program you print from. Choose actual size or 100%, not "fit to page." If the program offers margins, start from the default and change them only if the label is clipped or shifted.
  • The print dialog or driver. Turn off any "scale to fit" or "fit to paper" option.
  • The file itself. Download the barcode at the size you will print it, rather than dragging a picture larger or smaller in a document. Stretching also changes the bar proportions, as the label-making guide explains.

A quick example shows why this matters. A UPC-A drawn with 3-dot modules is 95 × 3 = 285 dots wide. A hidden 95% scale turns each module into 2.85 dots, so the printer has to round some bars to 3 dots and others to 2. The widths become uneven even though the barcode looks normal.

Set the label size, printing method and label type

The driver (or the printer's own menu) must describe the labels you actually loaded. Zebra's ZD421/ZD621 guide lists three settings that do this:

Dots are easy to convert. A "203 dpi" printer prints 8 dots per millimeter (the print guide explains the nominal rating), and a "300 dpi" printer prints 12. A 2 inch wide label is 50.8 mm, which is about 406 dots at 8 dots/mm.

Calibrate the sensor to the roll

Label length and position depend on the printer sensing where each label starts. Zebra describes its SmartCal routine as automatically determining whether the media is gap, black mark or continuous and then measuring it. The same page says you do not need to repeat it for new rolls of the same media type, vendor, batch and size. Run it again when you change to different label stock.

In general, if labels creep out of position, the printer skips labels or the barcode lands in a different spot on each one, calibration is the first thing to redo, before you touch any barcode setting.

Use the lowest darkness that prints clean bars

Darkness is heat. Too much of it widens the bars and fills in the spaces, and a barcode can still scan while being out of specification. Zebra's barcode quality guide for its ZT411/ZT421 industrial printers says to use the lowest darkness that delivers good print quality. It also notes that only a verifier can confirm that a label is in specification.

Zebra's darkness setting runs from 0.0 to 30.0 on the ZD421/ZD621. Too high a value can print unclearly, make barcodes scan badly, burn through the ribbon or wear the printhead early. Your printer's scale may differ, so use the manual.

Speed interacts with darkness. Zebra's print speed page says slower speeds typically yield better print quality. Its print quality overview adds that quality depends on the combination of heat, speed and the media loaded, and that media manufacturers may recommend a speed below the printer's maximum. Change one setting at a time so you know which one helped.

A worked example: UPC-A on a 2 × 1 inch label

Say you print a UPC-A on a 203 dpi printer at 3 dots per module, as the print guide recommends for 203 dpi.

  1. Module width: 3 dots × 0.125 mm = 0.375 mm.
  2. Symbol width: 95 modules × 3 dots = 285 dots, or 35.6 mm.
  3. Label width: 2 inches = 50.8 mm, about 406 dots.
  4. Space left: 406 − 285 = 121 dots, or about 60 dots (7.5 mm) on each side.

That leaves room for the quiet zone the barcode needs. If your driver label width is set to 4 inches while the roll is 2 inches, a layout centered on the wider width can land partly off the label. That is a driver setting, not a barcode problem.

To get the file right, open the generator, pick your printer's dpi and download the PNG. The PNG is built with whole-dot modules and the resolution embedded, so print software can place it at its true size. The bulk generator can also write ZPL for Zebra-type printers, which sends the barcode as a bitmap on the printer's own dot grid.

Work through this once per printer and label stock, and again whenever you change either one.

  1. Confirm print type and label type match what is loaded, then run calibration.
  2. Print one label at actual size with scaling off.
  3. Measure the barcode with a ruler. Its width should match the size you set in the generator.
  4. Look at the bars. Even, complete bars and clear spaces are good. Bars that fatten and spaces that fill in mean too much darkness.
  5. Reduce darkness a step or two, print again and compare.
  6. Scan a label with the scanner you will really use. Then print 10 and scan them all.

If a label still fails, the not-scanning checklist covers causes beyond driver settings.

Next step

Print one label at actual size with scaling off, measure its width against the size you set, and lower the darkness one step if the bars look heavy. Once it matches, write the settings down so the next roll goes faster. A formal quality check needs a verifier, which these settings cannot replace.

Sources

  1. Zebra Technologies: Adjusting the Print Quality (ZD421 and ZD621 Desktop Printers User Guide) (accessed )
  2. Zebra Technologies: Print > Print Quality > Darkness (accessed )
  3. Zebra Technologies: Print > Print Quality > Print Speed (accessed )
  4. Zebra Technologies: Print > Print Quality > Label Width (Dots) (accessed )
  5. Zebra Technologies: Print > Print Quality > Print Type (accessed )
  6. Zebra Technologies: Print > Print Quality > Label Type (accessed )
  7. Zebra Technologies: Running a SmartCal Media Calibration (accessed )
  8. Zebra Technologies: Evaluating Barcode Quality (ZT411/ZT421 Industrial Printer User Guide) (accessed )

Edited by Plain Barcode. Drafted with AI writing tools and checked against the sources listed above.

How guides are researched and corrected: Editorial Policy. Spotted an error? Email hello@plainbarcode.com.

Newsletter

Get an e-mail when Plain Barcode publishes something new

At most one e-mail a day, only about new guides and tools. No tracking pixels. How we handle your address