zpl_preview
Render ZPL label code and return the label as a PNG image. Use this to SEE what ZPL output looks like — LLMs can write ZPL but cannot otherwise verify the visual result. One call renders one label (use index to pick a label from a multi-label stream).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zpl | Yes | ZPL source (^XA...^XZ) | |
| dpmm | No | Printer density (8 = 203 dpi) | |
| index | No | Label index in the stream | |
| width_in | No | Label width, inches | |
| height_in | No | Label height, inches |