Skip to main content

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.

PropertyTypeDescription
typestringMust be Code128-ZPL.
textstringBarcode data. May contain dynamic text.
barHeightnumberBar height.
modestringEncoding 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"
}