Label Compile
Compile a label definition into printer commands. Returns raw TSC, ZPL, EPL, ESC/POS or other language output ready to send to a thermal printer.
Credit cost: 3 credits per call
Response Body
application/json
application/json
application/json
curl -X POST "https://api.chartquery.com/v1/label/compile""SIZE 40 mm, 30 mm\nGAP 3 mm, 0\nSPEED 4\nDENSITY 8\nDIRECTION 1\nCLS\nTEXT 10,10,\"2\",0,1,1,\"ACME Corp\"\nTEXT 10,35,\"1\",0,1,1,\"SKU: PRD-00123\"\nBAR 5,55,305,1\nBOX 5,5,315,235,2\nPRINT 1"{
"error": "Bad Request"
}{
"error": "Internal Error"
}