convert_zpl_dpi
Rescale ZPL label coordinates between printer resolutions (203/300/600 dpi) and flag embedded bitmap data that is not rescaled.
Instructions
Rescale ZPL coordinates between printer resolutions (203/300/600 dpi). Embedded ^GF/~DG bitmap data is NOT rescaled — when present, a Warnings block precedes the output instead of silently passing.
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": {
"zpl": "<zpl>"
},
"name": "convert_zpl_dpi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zpl | Yes | Raw ZPL code to convert | |
| source | No | Source resolution in dpi (152, 203, 300 or 600) | |
| target | No | Target resolution in dpi (152, 203, 300 or 600) |