Code 2 of 5 Introduction

This page concerns basic information of Code 2 of 5, as well as its generating and printing components.

Code 2 of 5 Overview

This part talks about the Code 2 of 5 barcode.Code 2 of 5, also known as Code 25, Standard 2 of 5, Industrial 2 of 5, is a low-density barcode symbology which encodes numeric digits only. Developed in 1960s, it has been used in photo finishing, warehouse sorting, and airline tickets with sequential numbering. It is named "2 of 5" because each digit is encoded with 5 bars with 2 of them being always wide.and start/stop characters.





How to generate, print barcode using .NET, Java sdk library control with example project source code free download:

Generating and Printing Code 2 of 5 Barcodes

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

Code 2 of 5 Structure

The structure of Code 2 of 5 is as below:




Code 2 of 5 Barcode Size Setting



Code 2 of 5 Data Encoding

Code 2 of 5 encodes:
  • Numeric digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Start character, encoded as 11011010(1 stands for a bar, 0 a space)
  • Stop character, encoded as 11010110.

Code 2 of 5 VS Interleaved 2 of 5

Interleaved 2 of 5 is a higher-density and more efficient version of Code 2 of 5, because it allows data to be encoded in both bars and spaces, while Code 2 of 5 encodes information only in the width of the bars.

Another difference is that Code 2 of 5 is more flexible to encode numeric data of variable length, while Interleaved 2 of 5 is restricted to encode an even number of numeric digits.





OnBarcode is a market-leading provider of barcode imaging 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 comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding. 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.