Practical guide

Choose and print barcode labels without scan failures

Use the barcode standard your workflow expects, then protect the details scanners measure.

Use the standard required by the workflow

CODE128 is a flexible choice for internal inventory labels. EAN-13 and UPC-A are retail identifiers, not interchangeable decoration; use the number assigned for the product and confirm the retailer’s requirements. Data Matrix is a different 2D standard, often useful where a small part must carry a short identifier.

A QR code and a Data Matrix code may both look square, but they are not substitutes. Choose QR when people will scan a link with phone cameras; choose the symbology specified by the receiving system for parts, logistics or retail.

Treat the quiet zone and bar width as data

The empty margin around a 1D barcode is not optional design space. It tells a scanner where the bars begin and end. Leave the generator’s minimum in place, or increase it if the label sits near other printing.

For print, download SVG so bar edges remain exact at the label size. Avoid JPEG: its compression can blur the hard transitions a scanner measures. If another system requires a raster file, use PNG and avoid resizing it after export.

Test the label in its real environment

Print a sample at final dimensions and scan it with the same type of reader used at the counter, warehouse or receiving desk. Test after applying laminate or placing it on the intended surface; glare and curvature matter.

Keep human-readable digits unless the label template prints them elsewhere. They do not change what the scanner reads, but they give someone a way to recover when a scan fails.

Example: an internal shelf label

For an inventory system that accepts CODE128, try the sample identifier BIN-A17-0042. Leave human-readable text on and export SVG. After printing, scan into a plain text field and compare every character, including hyphens and zeros. If the reader adds an Enter keystroke, check the receiving application handles it correctly.

Changing the bar height does not change the encoded identifier. Keep enough width for the bars and quiet zones instead of squeezing the symbol to fit. If a legacy label system demands JPG, convert a PNG at maximum quality and repeat the physical scan test; use the original PNG or SVG whenever accepted.

Tools used in this workflow