Barcode Xpress for .NET Core v13.4 - Updated
Code 39
User Guide > Concepts > Barcode Specifications > Barcode Types > Code 39

Code 39 is widely used in many industries across the world. It is the standard for many government barcode specifications, including the U.S. Department of Defense. Code 39 is also known as Code 3 of 9.

Code 39 was the first alphanumeric symbology. Its character set includes the digits 0-9, the letters A-Z (uppercase only), and the following symbols: space, minus "-", plus "+", period ".", dollar sign "$", slash "/", and percent "%". Barcode Xpress generates an error if you have characters in your barcode value that are not allowed.

Each data character is made up of 5 bars and 4 spaces for a total of 9 elements. Each character includes 3 wide and 6 narrow elements. Thus, 3 out of the 9 elements are always wide, which is the reason why the code is sometimes called "3 of 9".

The ratio of wide to narrow bar width can be in the range of 1.8 to 3.4. The Barcode Xpress Code 39 uses a 2:1 wide to narrow bar width ratio.

If you don't set the reader BarcodeTypes property to specifically look for Code 32 barcodes, the barcode engine might confuse a Code 32 barcode with a Code 39 barcode since Code 32 is a subset of Code 39 and Barcode Xpress assumes the barcode is a Code 39 when looking for Code 39 or both.
By default, Barcode Xpress detects Code 39 barcodes only with start and stop patterns. Use the Code39StartStopPatternsAreMandatory property to search for Code 39 barcodes without start and stop patterns.

An example:

 

See Also