Code128-ZPL
Code128-ZPL encodes data using Code 128 with ZPL-compatible mode selection.
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 Code128-ZPL. |
| text | string | Barcode data. May contain dynamic text. |
| barHeight | number | Bar height. |
| mode | string | Encoding mode. Allowed values: NORMAL, UCC_CASE, AUTO, UCC_EAN. |
Example
{
"type": "Code128-ZPL",
"x": 10.0,
"y": 10.0,
"text": "ABC-12345",
"barHeight": 15.0,
"barWidth": 0.3,
"mode": "AUTO"
}