Code 39 Introduction

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

Code 39 Overview

This part talks about the Code 39 barcode. It is a discrete and variable-length barcode type, known as the "Code 3/9", "Code 3 of 9", "USS Code 39", "USD-3", "Alpha39", "Type 39". Besides, Code 39 is the standard barcode used by United States Department of Defense and Health Industry Bar Code Council (HIBCC).


Generating and Printing Code 39 Barcodes

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

Code 39 Structure

The structure of Code 39 is as below:

The space between each two characters is called intercharacter gap.

Code 39 Barcode Size Setting

As for Code 39 size setting, two factors should be considered: barcode width and height.

Please get details from Code 39 size setting instruction.

Code 39 Data Encoding

Code 39 encodes:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase letters (A - Z)
  • - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)

Lower-case characters can also be easily encoded with the above Code 39 Generators.

Code 39 Extension barcode encodes:
  • all 128 ASCII characters

Code 39 Asterisk and Module 43 Checksum Digit

Asterisk (*)

The asterisk is commonly used as the start or stop character. It will not be included in the data encoded or transmitted by decoder. Enabling the ShowStartStopInText option in Code 39 generators allows adding asterisks to both sides of the human-readable text.

Module 43 Checksum Digit

The Module 43 checksum digit is optional in our Code 39 barcode generators. Although Code 39 is self-checking which does not require any checksum digit, many applications still require the Module 43 checksum digit for enhancing data security.
The checksum digit immediately follows the final data character and precedes the stop character. Enabling the AddChecksum option in Code 39 generators allows the component to automatically compute and append Module 43 checksum digit to Code 39.

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 © . All rights reserved.