Code 128 Introduction

This page mainly offers some basic information on Code 128 along with its generating and printing components.

Code 128 Overview

Code 128 is a high-density, bidirectionally-decodable, self-checking linear barcode symbology with variable length to encode all 128 characters of ASCII, and the Latin-1 character defined in ISO 8859-1. Effective and space-saving, Code 128 is widely used in various industries, referred to as GS1-128, UCC-128, EAN-128, ISBT-128 and USS Code 128.



 

Generating and Printing Code 128 Barcodes

OnBarcode provides comprehensive Code 128 generators and scanner components for Java, .NET, Android, iOS developments and several reporting applications.

Code 128 Structure

The structure of Code 128 is as below:



Stop Character: 1100011101011 (1 stands for a module bar, o for module space)


Code 128 Barcode Size Setting

When Code 128 size setting is concerned, two factors are of importance: barcode width and height.

PYou can get more details from Code 128 size setting instructure.


Code 128 Data Encoding

Code 128 encodes all 128 characters of ASCII, and the Latin-1 character defined in ISO 8859-1. As to the three subsets:
  • Code 128 A: ASCII characters 00-95, i.e. A-Z, 0-9, punctuation characters, symbology elements, and 7 special characters
  • Code 128 B: ASCII characters 32-127, i.e. A-Z, a-z, 0-9, punctuation characters, and 7 special characters)
  • Code 128 C: numeric digit pairs from 00-99 (encode two data digits per symbol character), and 3 special characters

Code 128 Module 103 Checksum Digit

To enhance data security, a mandatory Module 103 checksum digit is required for Code 128 symbology, which is automatically calculated by OnBarcode Code 128 Generator. In the Code 128 symbology, the checksum digit is placed between the data characters and stop character.




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.