Barcode Printing Explained: Choosing the Right Symbology and Getting Scannable Results

Barcodes are the invisible infrastructure of modern commerce. They move products through checkout lanes, track inventory in warehouses, route packages across the world, and link physical items to digital records. But a barcode that looks fine to the human eye can still fail at the scanner—and that failure can cost time, money, and customer trust.

This guide explains barcode printing in practical terms. You will learn the main barcode types, how to choose the right one for your use case, and the printing habits that produce barcodes that scan on the first try.

Think of the last time you stood at a checkout and the cashier had to type a product code in by hand. The line slowed down, the cashier looked annoyed, and you waited. That is what a bad barcode does, just on a bigger scale. In a warehouse, the same thing means a picker stops, walks back, reprints a label, and loses the rhythm of the shift. One bad label is a small thing. A whole roll that won’t scan ruins the day.

1D vs. 2D Barcodes: The Core Difference

1D barcodes are the familiar line-and-space codes. They store data horizontally and are read by traditional laser scanners. Common examples include EAN-13, UPC-A, Code 128, and Code 39. They are excellent for retail products, shipping labels, and asset tags where the data is relatively short.

2D barcodes store data in both horizontal and vertical dimensions. They look like squares or rectangles filled with patterns. QR Codes, DataMatrix, and PDF417 are common 2D types. They hold much more data than 1D codes and can be read by camera-based scanners and smartphones.

The choice between 1D and 2D depends on what you need to encode and what your scanners can read. Most retail and shipping environments still rely on 1D barcodes, while healthcare, electronics, and marketing increasingly use 2D codes for richer data and links.

What a Failed Scan Actually Costs You

A barcode that won’t scan rarely fails quietly. It fails right when someone is in a hurry. At a shop till, the cashier tries twice, then types the number in. That takes seconds, but those seconds add up across a busy day, and a mistyped digit can charge the wrong price. In a warehouse, a picker scans a box, hears nothing, tries again at a different angle, then has to set the box aside and sort it out later. In shipping, a label that won’t scan can hold up a parcel while someone prints a replacement and sticks it on by hand.

Print one label first and scan it with the scanner your team actually uses — the one on the shop floor, not the newest one in the office. Scan it from a normal distance, at a normal angle. If it reads first time, every time, print the rest. If it takes two or three tries, fix it now.

Common 1D Barcode Types and When to Use Them

Barcode typeData capacityBest for
EAN-1313 digitsRetail products in Europe and internationally
UPC-A12 digitsRetail products in the US and Canada
Code 128AlphanumericShipping, logistics, inventory, serial numbers
Code 39AlphanumericIndustrial, automotive, military part numbers
ITF-1414 digitsCase and pallet labels for wholesale
Code 93AlphanumericPostal and logistics carrier barcodes

EAN-13 and UPC-A are retail standards. If you sell products in stores, you will need one of these. Code 128 is the workhorse of logistics—it encodes alphanumeric data compactly and is widely used for shipping labels and inventory tracking. Code 39 is older but still common in industrial settings because it is simple and reliable.

Common 2D Barcode Types and When to Use Them

Barcode typeApproximate capacityBest for
QR Code~4,296 charactersURLs, Wi-Fi setup, menus, marketing
DataMatrix~2,335 charactersHealthcare, electronics, small-part tracking
PDF417~1,850 charactersID cards, tickets, cargo documents
Aztec~3,832 charactersTransportation tickets, event passes

QR Codes are the most recognizable 2D format. They can link to websites, store contact information, or trigger app actions. DataMatrix is preferred in healthcare and electronics because it can be printed very small while remaining readable. PDF417 is common on documents and ID cards where a lot of data needs to fit in a compact space.

How to Get a Retail Barcode (EAN-13 or UPC-A)

If you plan to sell products through retail channels, you cannot simply generate a random barcode. Retail barcodes are issued through authorized GS1 agencies and are tied to your company and product information.

Steps:

  1. Register with your national GS1 organization.
  2. Obtain a company prefix and product numbers.
  3. Generate the barcode image using GS1-compliant software or a barcode generator that supports EAN-13 or UPC-A.
  4. Print the barcode at the correct size and contrast for retail scanning.

Using unofficial or recycled barcodes can cause serious problems at retail checkout and in inventory systems. Always use a legitimate GS1-issued barcode for retail products.

If you only sell online, direct to customers, you may not need a retail barcode at all. Your own Code 128 codes for orders and stock will do, because you control both ends. The retail barcode only becomes a must-have when a shop or distributor needs to scan your product into their system — so sort it out before a retailer is already waiting for your stock.

The Printing Factors That Determine Scannability

A barcode is only useful if it scans. Several printing factors directly affect scannability.

Print resolution (DPI)
Barcodes need sufficient resolution to reproduce crisp bars and spaces. 203 DPI is usually adequate for standard barcodes, but 300 DPI produces sharper, more reliable barcodes, especially for small or dense codes.

Print density and contrast
The bars must be dark and the spaces must be light. If the print density is too low, bars appear gray and scanners struggle. If density is too high, bars can bleed together. Adjust the printer’s darkness setting in small increments and test with a scanner.

X-dimension and quiet zones
The X-dimension is the width of the narrowest bar in the barcode. If it is too small for your scanner, the code will not read. Quiet zones—the blank margins on either side of the barcode—must also be preserved. Do not place text or graphics inside the quiet zone.

Label material
Matte label surfaces generally provide better contrast and scanning reliability than glossy surfaces. For thermal printing, direct thermal paper is common for short-life barcodes, while thermal transfer produces sharper, more durable barcodes for long-term use.

Print head condition
A dirty or worn print head can cause missing bars, merged lines, or uneven print. Regular cleaning and maintenance directly improve barcode quality.

Barcode Printing Methods: Which Approach Fits Your Workflow?

Method 1: Online barcode generator
Quick for one-off barcodes, but limited for bulk printing, label design, and data integration. Image-based output may not print at high enough quality for reliable scanning.

Method 2: Barcode fonts in Excel or Word
Convenient for simple Code 39 or Code 128 barcodes, but font-based barcodes can suffer from inconsistent spacing and are difficult to validate. EAN-13 is especially tricky with fonts.

Method 3: Professional label design software
The most reliable approach for business use. Dedicated label software lets you bind barcode data to a database, design labels with proper sizing, and print directly to a thermal printer at native resolution. This is the recommended method for any recurring barcode workflow.

Barcode Quality Checks Before You Print a Full Roll

  1. Print a single test label and scan it with the same scanner that will be used in production.
  2. Check the quiet zones—make sure no text or graphics intrude on the blank margins.
  3. Verify the data encoded in the barcode matches your source data.
  4. Scan from different angles to confirm the barcode is robust, not just readable in one orientation.
  5. Test after printer maintenance—cleaning or calibration can change print output slightly.

A few minutes of testing prevents a full roll of unscannable labels.

Frequently Asked Questions

Can I print barcodes with a normal inkjet or laser printer?
You can, for a test or a one-off label. For daily use, a thermal label printer gives sharper bars and labels that survive handling. Inkjet barcodes can smudge.

Why does my barcode scan on my phone but not on the shop scanner?
Phones use cameras, and cameras are forgiving — they read codes that are small or faint. A laser scanner is pickier. It needs clean bars, clear quiet zones, and the right size. Test with the scanner your team uses, not just your phone.

How big should a barcode be?
Big enough for your scanner to read it at the distance your team works at. A code that scans fine up close may fail on a high shelf. If in doubt, print it a little larger and test it at the real working distance.

Do I need a different barcode for each product variant?
Yes. Each size, colour, or flavour you track separately needs its own code, or your stock counts will be wrong.

The Bottom Line

Barcode printing is not just about generating an image. It is about choosing the right symbology, printing at sufficient resolution and contrast, preserving quiet zones, and using a printer and media that produce crisp output. For retail, use GS1-issued EAN-13 or UPC-A codes. For logistics and inventory, Code 128 is the reliable standard. For high-data or customer-facing applications, consider QR Code or DataMatrix. Print one label, scan it with the real scanner, and only then print the rest.

For thermal printing fundamentals and label material guidance, explore the Barcode & Thermal Printing section on Label Printer Guide. For setup and troubleshooting support, visit the Printer Setup & Installation and Printer Troubleshooting sections.

Leave a Comment

Share via
Copy link