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
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)
Code 39 Extension barcode encodes:
Code 39 Asterisk and Module 43 Checksum Digit
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.