Barcode printing

How to Print Barcodes Correctly: DPI, Contrast and Label Quality

A correct barcode file can still become an unreadable label if it is rasterized at the wrong size, printed with poor contrast, distorted by the layout software or reproduced badly by the printer and media.

Updated September 14, 2026

Quick answer

There is no universal rule that every barcode must be printed at 300 DPI. The printer must reproduce the required module width cleanly at the final physical size. Use the size required by the application, keep dark bars on a light background, avoid non-proportional scaling, tune the printer and media combination, and test the actual printed label. Higher DPI can allow finer modules, but it does not rescue a bad layout or poor print process.

DPI matters because printers build bars from physical dots

Thermal and desktop label printers reproduce each bar and space using a fixed dot grid. The chosen X-dimension therefore needs to map cleanly to the printer’s resolution at the final size.

This is why “300 DPI is required” is too simple. Zebra documents both 203-DPI and 300-DPI industrial printers and different supported barcode X-dimension ranges for each. A 203-DPI printer can produce usable barcodes within its supported range; higher DPI mainly offers finer dot resolution when the application needs it.

Important: Choose barcode dimensions from the application requirement first, then confirm that the printer can represent those dimensions.

Use strong contrast and control the printer/media combination

For GS1 barcodes, black bars on white are the optimum combination. GS1 allows other dark bar colours on light backgrounds but warns against reddish colours for bars because many readers use red illumination.

  • Use media and ribbon that are compatible with the printer and with each other.
  • Keep the printhead clean and the printer calibrated according to manufacturer guidance.
  • Avoid excessive darkness or heat that makes bars spread into spaces.
  • Avoid settings so light or fast that bars break, fade or contain voids.
  • Inspect several labels across the run, not only the first one.

Protect the barcode from layout and image scaling

A label editor, browser, office document or print dialog can scale the artwork to fit and alter module widths or Quiet Zones. Set the intended physical size once and disable unexpected fit-to-page scaling.

When a workflow needs repeated resizing, SVG is usually the safer master because it describes vector shapes. When the system requires PNG, export or rasterize for the final intended size rather than enlarging a small raster later.

Print one production-style sample before the batch

Use the real printer, media, ribbon, label dimensions and scanner. Confirm both that the code decodes and that the business system receives the exact expected value.

For retailer, logistics or other compliance-sensitive work, add formal barcode verification where required. ISO/IEC 15416 defines how linear-symbol print quality is measured and graded; a normal scanner test is not the same measurement.

Common questions

Frequently asked questions

Do barcodes have to be printed at 300 DPI?

No. The required result is a barcode whose modules meet the application specification and are reproduced cleanly. Many label printers support 203 DPI; higher DPI provides finer dot resolution but is not a universal validity rule.

Why do my barcode bars look thicker after printing?

Excessive heat or darkness, ink spread, media/ribbon mismatch or scaling can widen bars. Fix the print-process problem rather than shrinking the source artwork blindly.

What colours are safest for barcodes?

Black bars on a white background are the safest starting point. GS1 recommends dark bars and light backgrounds and warns that reddish colours are unsuitable for bars in many scanning systems.

Should I print from PNG or SVG?

SVG is a strong master when the workflow accepts vector files and the barcode may be resized. PNG is appropriate for fixed-size raster workflows when exported at adequate final pixel dimensions.

Sources & standards

Technical claims in this guide are checked against primary or official documentation where available.