-
Notifications
You must be signed in to change notification settings - Fork 9
CODE39
Bunlong VAN edited this page Jun 5, 2020
·
2 revisions
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.
JsBarcode("#barcode", "CODE39 Barcode", {
format: "CODE39"
});
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
});