GS1 128 Size Setting Instruction

GS1-128 Barcode Size Setting

GS1-128 barcode size is customizable during barcode generation. Our GS1-128 generation and recognization components allow customers to set the generated GS1-128 image size freely.

GS1 128 Structure

  • W : the symbol width of GS1-128
  • Q : the width of the quiet zone; Qmin=10X
  • X : the width of a module bar; Xmin=1 pixel
  • N : the number of symbol character (double density for numeric data in Code C)



GS1-128 Barcode Width

The width W of a GS1-128 symbol, including quiet zones, is determined by your module width and data characters.
It can be calculated from the following expression:


W = 2 Q + 46X + 11NX

(Note that N is the number of symbol characters, and any auxiliary characters-shift and code characters-embedded in the data are included.)
Then the minimum value of W can be calculated as below:


Q min = 10X
W min = 66 X + 11 NX
Please note that Character set C can encode two digits in one character, so numeric data is encoded with twice the density of other data when using character set C.

If, X min = 1 , W min = = 66+11N
Eg. GS1-128 data = " (00)123456 " code set C,
W min = 66+11*4 = 110 pixel



GS1-128 Barcode Height

There are no rigid requirements for the height of GS1-128. However, it is recommended for manual scanning that the minimum bar height, i.e. the Y Dimension, should be 32 millimeters (1.25 inches).

OnBarcode Code 128 generators will set the bar height automatically according to the ISO standard. Meanwhile, customers may adjust the barcode height through Top and Bottom Margin settings.

OnBarcode provides details of GS1-128 Barcode Size Setting in C#.




OnBarcode is a market-leading provider of barcode generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides high quality tutorials and guides for various linear, 2d barcode information, such as C# Barcode, QR Code C#, QR Code VB.NET, QR Code ASP.NET, QR Code .NET, ASP.NET Barcode. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.