Code 39
Code 39 is a variable-length linear barcode symbology, developed in 1974 and standardized as ISO/IEC 16388. The data density is comparatively low, so it requires considerably more space to encode the same amount of data and can not be used to label smaller items.
Code 39 is used in inventory and item tracking applications as well as some postal services.
A sample Code 39 barcode is shown below.
Symbology Characteristics
Configuration name |
|
ISO specification | ISO/IEC 16388 |
Encodable character set | Alphanumeric (A-Z) and numeric (0-9) as well as $ % + - . / and space characters |
Integrity protection | Not required, optional check character |
Quiet zone | Leading and trailing quiet zone of at least ten modules (10X) is required |
Configuration Options
Option | Description | Sample Configuration | Default |
---|---|---|---|
minLen | The minimum length of scanned codes |
const config = {
engine: {
symbologies: [
{ name: "code39", minLen: 8 }
]
}
}
| 4 |
maxLen | The maximum length of scanned codes |
const config = {
engine: {
symbologies: [
{ name: "code39", maxLen: 16 }
]
}
}
| 32 |
qz | The minimum size of the quiet zone, in modules (X) |
const config = {
engine: {
symbologies: [
{ name: "code39", qz: 10 }
]
}
}
| 5 |