Label Validate
Validate printer commands for errors, warnings and best practices. Checks parameter ranges, command order and structure.
Credit cost: 1 credit per call
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/label/validate"{ "infos": 0, "valid": false, "errors": 1, "issues": [ { "level": "error", "command": "TEXT", "message": "CLS must appear before label elements" }, { "level": "warning", "message": "No GAP command found" } ], "warnings": 1}{ "error": "Bad Request"}{ "error": "Internal Error"}