Convert ZPL DPI
convert_zpl_dpiRescale ZPL between printer resolutions (203/300/600 DPI): coordinates, fonts, barcode module width and label size are scaled. Embedded ^GF/~DG image data is NOT scaled; the response says so instead of silently passing it through.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zpl | Yes | Raw ZPL code | |
| source_dpi | Yes | Resolution the ZPL was written for, in DPI (not dpmm: 203 DPI = 8 dpmm). | |
| target_dpi | Yes | Resolution to rescale to, in DPI. Equal to source_dpi means no scaling. |