Barcode Xpress for Node.js v13.2 - Updated
Codabar
User Guide > Concepts > Barcode Specifications > Barcode Types > Codabar

The Codabar barcode is a fixed-length, numeric self-checking 1D barcode. Codabar does not employ any error detection or error correction. Codabar is used in libraries, blood banks, and the package delivery industry.

Example Barcode

The following example barcode encodes the information 5467 as a Codabar barcode:

Codabar

Details

In addition to being a numeric barcode, Codabars can also encode minus "-", plus "+", period ".", dollar sign "$", slash "/", and colon ":", as well as start/stop characters A, B, C, and D. The start/stop characters must be used in matching pairs (A and B or C and D) and may not appear elsewhere in the barcode.

If the start/stop characters are omitted, Barcode Xpress will use `A` and `B` respectively.

Barcode Xpress implements the Rationalized Codabar variant, which uses narrow or wide characters, as opposed to variable width characters in Traditional Codabar.

Platform-Specific Notes

By default, the read value of the Codabar barcode does not include the start and stop characters. To include the start and stop characters in the barcode result, the IncludeControlCharacters property must be set to true.

Codabar requires a quiet zone, which should be at least the width of 10 narrow bars. This means that if you set the MinimumBarWidth property to 3 pixels (narrow bar size), you should set the HorizontalWhiteSpace property to 30 pixels.

By default, the read value of the Codabar barcode does not include the start and stop characters. To include the start and stop characters in the barcode result, the BarcodeIncludeControlCharacters property must be set to true.

Codabar requires a quiet zone, which should be at least the width of 10 narrow bars. This means that if you set the MakeBarcodeBarSize property to 3 pixels (narrow bar size), you should set the MakeBarcodeBWidth property to 30 pixels.

By default, the read value of the Codabar barcode does not include the start and stop characters. To include the start and stop characters in the barcode result, the IncludeControlCharacters parameter must be set to true.

Codabar requires a quiet zone, which should be at least the width of 10 narrow bars. This means that if you set the MinimumBarWidth parameter to 3 pixels (narrow bar size), you should set the HorizontalWhiteSpace parameter to 30 pixels.

Similar Barcode Types

Codabar is also known as "USD-4", "NW-7" and "Code 2 of 7".



For more information, see the Barcode Xpress SDK product page or try our online demos.