zpl_preview
Render ZPL label code as a PNG image for server-side inspection before printing; physical printer output may vary.
Instructions
Render ZPL label code to a PNG image via the Labelixa API. This is a SERVER-SIDE render for inspection — it is not a guarantee of how a specific physical printer will output the label.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zpl | Yes | Raw ZPL code (^XA ... ^XZ) | |
| dpmm | No | Printer density in dots per mm (6, 8, 12 or 24) | |
| index | No | Which label to render when the stream contains several | |
| width_in | No | Label width in inches | |
| height_in | No | Label height in inches |