
Printing & QualityPrinting & Quality
How to Print Barcode Labels and Check Every Scan
Prepare your barcode data, choose label stock, print a small test, and compare each scan with its source before running the full batch.
Learn what determines Code 128 size, including module width, encoded data and quiet zones, and how to test your actual label and scanner.

There is no single physical size that works for every Code 128 barcode. The smallest usable symbol depends on the data and encoding, the width of the narrowest element, the required quiet zones and height, your printer and scanner, and any application or trading-partner rules. Start with the requirements for your actual use, then print and verify a trial at its final size.
A successful scan on one device is useful evidence for that sample. It does not establish a formal print-quality grade or guarantee that a customer’s system will accept the label.
X-dimension. The X-dimension is the width of the narrowest element. Smaller elements can make the symbol narrower, but they also put more demands on the printing and reading process. For a GS1 application, consult the symbol specification table for that use; GS1’s guidance ties size and quality requirements to where a barcode is scanned and what it identifies. [1]
Encoded data and code sets. More encoded symbol characters generally require more space at the same X-dimension. Code 128 can use different code sets; for example, Code Set C represents pairs of digits in one data character. An encoder may switch sets, so the number of characters you typed alone is not enough to predict exact width. Use the encoder’s actual output and measure the full symbol. [2]
Quiet zones. Reserve clear space at the left and right of the symbol. Do not measure only the visible bars or place a border, text, or label edge inside the required clear areas. The applicable symbology and application rules govern their dimensions. GS1’s description of GS1-128 explicitly includes both leading and trailing quiet zones. [3]
Height and placement. Width is not the only constraint. Follow the minimum bar height and placement for the actual application, allow space for any required human-readable data, and consider how the scanner will approach the label. Do not cut the bars short simply to fit a template.
GS1-128 uses Code 128 with GS1 data-formatting rules, including an FNC1 character after the start character. A generic internal Code 128 label and a GS1 logistics label do not necessarily have the same application requirements. [3] For a GS1 logistics label, select the applicable current GS1 symbol specification and partner requirements rather than copying a size from a generic online example.
For one specific case, GS1 General Specifications 26.0, table 5-51, sets a minimum and target X-dimension of 0.495 mm, a 31.75 mm minimum bar height, and 10X quiet zones on each side for GS1-128 on logistic units scanned in general distribution. The table includes exceptions when the unit is physically too small, with additional conditions for reduced height. These are not universal limits for ordinary Code 128; check the complete table, exceptions and your partner’s requirements. [4]
If the label does not fit, first consider whether there is more usable space, whether the required data can be encoded more efficiently without changing it, or whether the recipient permits another approved carrier. Do not remove required fields or shrink below the applicable specification merely to make the artwork fit.
[1] GS1. 2D Barcodes at Retail Point-of-Sale Implementation Guideline. https://ref.gs1.org/guidelines/2d-in-retail/
[2] Libre Barcode Project. Code 128. https://graphicore.github.io/librebarcode/documentation/code128.html
[3] GS1 GO Customer Service Portal. What is the format of GS1-128? https://support.gs1.org/support/solutions/articles/43000734455/
[4] GS1. GS1 General Specifications, Release 26.0, section 5.12.3.5, table 5-51. https://gs1ec.org/contenido/wp-content/uploads/2026/02/GENERAL-SPECIFICATIONS-STARDAR-2026.pdf
[5] GS1. 1D Barcode Verification Process Implementation Guideline. https://www.gs1.org/docs/barcodes/GS1_Bar_Code_Verification.pdf