Label Preview
Generate a thermal label preview via GET. Output: SVG (default) or PNG. Supports 9 printer languages: TSC, ZPL, EPL, ESC/POS, CPCL, DPL, SBPL, Star PRNT, IPL.
Credit cost: 3 credits per call
Query Parameters
format?string
Output format. Default: svg. Use png to get a raster image.
Default
"svg"Value in
"svg" | "png"share?boolean
Set share=true to persist the config and receive JSON instead of an image.
Default
"false"Value in
"false" | "true"Response Body
application/json
application/json
curl -X GET "https://api.chartquery.com/v1/label"Empty
{
"error": "Bad Request"
}{
"error": "Internal Error"
}