Skip to main content

Code39

Mandatory properties

The following properties are available in addition to the common label object properties and common barcode properties.

PropertyTypeDescription
typestringMust be Code39.
textstringBarcode data. May contain dynamic text.
barHeightnumberBar height.

Optional properties

The following properties are available in addition to the common barcode properties.

PropertyTypeDescription
barRationumberRatio of the wide bar to the narrow bar width. Default is 2.5.
checkDigitbooleanIf true, appends a Mod-43 check digit to the encoded data. Default is false.

Example

{
"type": "Code39",
"x": 10.0,
"y": 10.0,
"text": "ABC-1234",
"barHeight": 15.0,
"barWidth": 0.3
}