Chartquery

Label Convert

POST
/v1/label/convert

Cross-compile printer commands between languages. 7 source x 9 target = 63 conversion paths. TSC to ZPL, ZPL to ESC/POS, EPL to CPCL and more.

Credit cost: 5 credits per call

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/label/convert"
{  "to": "zpl",  "from": "tsc",  "output": "^XA\n^PW320\n^LL240\n^FO10,10^A0N,20,20^FDHello World^FS\n^PQ1\n^XZ",  "warnings": [],  "width_dots": 320,  "height_dots": 240,  "elements_count": 1,  "output_encoding": "utf-8"}
{  "error": "Bad Request"}
{  "error": "Internal Error"}