A barcode that looks fine on screen can still fail at the scanner. Most failed scans come down to a handful of avoidable printing mistakes. Here's what actually matters.
Give it a quiet zone
The blank margin on either side of a barcode isn't wasted space — scanners use it to know where the code starts and ends. Cropping too close, or placing text or graphics right up against the edge, is one of the most common causes of failed reads.
Don't shrink it too far
Every barcode has a minimum reliable size, usually described as a percentage of its "nominal" size in the format's specification. Shrinking a barcode below that threshold blurs the thin bars together on most printers, especially at typical office-printer resolution. When in doubt, print it larger, not smaller.
Maximize contrast
Pure black bars on a pure white background scan most reliably. Colored backgrounds, low-contrast color pairs, or a busy image behind the code all increase the odds of a failed or slow scan. If a design calls for color, keep the bars themselves dark and the background light.
Match resolution to printer type
Thermal label printers (common in shipping and retail) typically print well at 203–300 DPI, which is enough for standard barcodes but can be marginal for dense 2D formats like Data Matrix at small sizes. If you're using a 2D code on a thermal printer, size it generously and test a sample print before running a full batch.
Avoid image compression artifacts
If a barcode image gets compressed (for example, saved as a low-quality JPEG) before printing, the compression can blur the sharp edges scanners rely on. Export barcodes as PNG or SVG rather than JPEG, and avoid resizing them in a way that introduces blur.
Test before you print a full run
Print one label, then scan it with the actual device or app your workflow will use — not just a phone camera app that might be more forgiving than a dedicated scanner. Catching a sizing or contrast problem on one label is far cheaper than reprinting a thousand.
Quick checklist
- Leave a clear quiet zone on both sides of the code
- Don't shrink below the format's minimum recommended size
- Use black bars on a white background wherever possible
- Export as PNG or SVG, not a compressed JPEG
- Print and scan one test label before a full batch
Need to generate a fresh, print-ready barcode? BarcodePro's generator lets you set width, height and font size, and the bulk tool can produce an entire batch of labels from a CSV in one go.