Skip to content
Johan Lindell edited this page May 9, 2016 · 4 revisions

About CODE39

CODE39 is an old barcode type that can encode numbers, uppercase letters and a number of special characters (-, ., $, /, +, %, and space). It has been a common barcode type in the past but CODE128 is recommended if not for legacy reasons.

Example

JsBarcode("#barcode", "CODE39 Barcode", {
  format: "CODE39"
});

CODE39 Barcode

Mod43 checksum

Code 39 is sometimes used with an optional modulo 43 check digit. Using it requires this feature to be enabled in the barcode reader. It is enabled by setting the mod43 option to true.

JsBarcode("#barcode", "ABCDEFG", {
  format: "CODE39",
  mod43: true
});

CODE39 Barcode

Clone this wiki locally