Skip to content
HALOWERK

Bildwerk

zpl preview

Parses ZPL and renders the first ^XA^XZ label via SVG in a sandboxed child process. Supported: ^FO ^FT ^FD ^FS ^FH ^FX ^FB ^FR ^A (font 0 approximated with DejaVu Sans Bold, bitmap fonts A–H with a monospace font of the same cell) ^CF ^CI ^BY, barcodes ^BC (incl. mode D GS1-128) ^BE ^B8 ^BU ^B9 ^B3 ^B2 ^BQ ^BX (incl. GS1 via escape _1) ^B7 ^BO (encoded with BWIPP/bwip-js), graphics ^GB ^GC ^GE ^GD and uncompressed ^GFA, layout ^LH ^PW ^LL ^PO ^LR. Printer settings (^MM ^MN ^MD ^PR ~SD ^PQ.

POST https://bild.halowerk.com/v1/zpl-preview

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
zplstringYes
dpmmintegerNoPrinter resolution in dots per mm (8 = 203 dpi), used when ^PW/^LL are missing.
verify_barcodesbooleanNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "zpl"
  ],
  "properties": {
    "zpl": {
      "type": "string",
      "minLength": 3,
      "maxLength": 200000
    },
    "dpmm": {
      "type": "integer",
      "enum": [
        6,
        8,
        12,
        24
      ],
      "default": 8,
      "description": "Printer resolution in dots per mm (8 = 203 dpi), used when ^PW/^LL are missing."
    },
    "verify_barcodes": {
      "type": "boolean",
      "default": true
    }
  }
}

Open original schema

Published input example

{
  "zpl": "^XA^PW812^LL406^FO40,40^A0N,50,50^FDHALOWERK^FS^FO40,120^BY3^BCN,120,Y,N,N^FDHW-12345^FS^XZ"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →