zpl_validate
Validate ZPL code and return structured diagnostics (unknown commands, parameter range errors, layout overflow) as JSON. Provide label dimensions to ensure accurate checks.
Instructions
Lint/validate ZPL and return the structured diagnostics report (unknown commands, parameter range errors, layout overflow, etc.) as JSON. Pass the real label size — checks depend on it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zpl | Yes | Raw ZPL code | |
| dpmm | No | Printer density in dots per mm (6, 8, 12 or 24) | |
| width_in | No | Label width in inches | |
| height_in | No | Label height in inches |