Label Convert
label_convertConvert printer commands between languages such as TSC, ZPL, EPL, and ESC/POS to produce thermal labels across compatible printer models.
Instructions
Label Convert. Convert printer commands from one language to another. POST source, from, and to. from is the source language (tsc, zpl, epl, …). to is the target (tsc, zpl, escpos, …). Credit cost: 5 credits per call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"from": "<from>",
"to": "<to>"
},
"name": "label_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target language. Allowed values: tsc, zpl, epl, cpcl, dpl, sbpl, escpos, starprnt, ipl. Default: "tsc". | |
| dpi | No | Override DPI on the converted output. | |
| from | Yes | Source language. Allowed values: tsc, zpl, epl, cpcl, dpl, sbpl, ipl. Default: "tsc". | |
| speed | No | Override print speed, 1-18. | |
| copies | No | Override copies. Minimum 1. | |
| fields | No | Comma-separated list of fields to keep in the response, with dot notation for nested fields (e.g. name,location.city). Does not change the credit cost. | |
| source | Yes | Raw printer commands to convert. Also send from and to. | |
| density | No | Override print darkness, 0-15. |