Skip to main content

ITF

Interleaved 2-of-5 barcode. Encodes pairs of digits; the data string must have an even number of digits.

Mandatory properties

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

PropertyTypeDescription
typestringMust be ITF.
textstringEven number of digits. 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.
hBearerBarnumberWidth of horizontal bearer bars (top and bottom frame bars), in multiples of barWidth. Default is 0 (no bearer bars).
vBearerBarnumberWidth of vertical bearer bars (left and right frame bars), in multiples of barWidth. Default is 0.

Example

{
"type": "ITF",
"x": 10.0,
"y": 10.0,
"text": "12345678",
"barHeight": 15.0,
"barWidth": 0.5
}