ITF-14
ITF-14 encodes a 14-digit GTIN using the Interleaved 2-of-5 symbology. The check digit is calculated and appended automatically. Horizontal bearer bars (hBearerBar) default to 5 to comply with the ITF-14 specification.
Mandatory properties
The following properties are available in addition to the common label object properties and common barcode properties.
| Property | Type | Description |
|---|---|---|
| type | string | Must be ITF-14. |
| text | string | 13 or 14 digits (GTIN-14). May contain dynamic text. |
| barHeight | number | Bar height. |
Optional properties
The following properties are available in addition to the common barcode properties.
| Property | Type | Description |
|---|---|---|
| barRatio | number | Ratio of the wide bar to the narrow bar width. Default is 2.5. |
| hBearerBar | number | Width of horizontal bearer bars (top and bottom), in multiples of barWidth. Default is 5. |
| vBearerBar | number | Width of vertical bearer bars (left and right), in multiples of barWidth. Default is 0. |
Example
{
"type": "ITF-14",
"x": 10.0,
"y": 10.0,
"text": "1234567890123",
"barHeight": 20.0,
"barWidth": 0.5
}