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-previewInputs
| Field | Type | Required | Description |
|---|---|---|---|
| zpl | string | Yes | |
| dpmm | integer | No | Printer resolution in dots per mm (8 = 203 dpi), used when ^PW/^LL are missing. |
| verify_barcodes | boolean | No |
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
}
}
}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
- Bildwerk0.01 USDC
address plate blur
POSThttps://bild.halowerk.com/v1/address-plate-blurThe photo is read with Tesseract 5.3.4 (German + English, word boxes) at two scales and in sparse-text and block mode; small bright plaques with 1–5 dark characters (typical house-number signs) are additionally cut out and read one by one,
- Bildwerk0.003 USDC
ai disclosure metadata
POSThttps://bild.halowerk.com/v1/ai-disclosure-metadataChecks JPEG, PNG and WebP files for AI disclosure metadata: XMP DigitalSourceType and the IPTC Photo Metadata 2025.1 AI fields, C2PA/JUMBF stores (signatures are not validated), PNG text chunks and EXIF Software/UserComment, and returns a s
- Bildwerk0.008 USDC
animation to video
POSThttps://bild.halowerk.com/v1/animation-to-videoReads frame count, size, loop count and total duration from the file structure, then encodes with ffmpeg 6.1 in a child process under prlimit (no shell, empty environment, only the file protocol): GIF and APNG are demuxed natively, animated