Render CPCL label
cpcl_previewRender CPCL label code and return a PNG preview. The preview assumes 203 dpi and is an interpretation of the CPCL manual covering a core command subset — no physical printer validation. labels in the response is the TOTAL number of labels the stream prints (a stream may contain several, each ended by PRINT); pass index to render a different one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpcl | Yes | Raw CPCL code | |
| index | No | Label index in the stream |