Zebra (ZPL) Printers
These options apply only to ZPL output. For printer DPI settings, see Output Resolution.
header
Commands sent to printer at job beginning (Sample: header="^XA^MMC^XZ" to set print mode to cutter).
footer
Commands sent to printer at job ending.
zpl-compression
none, rle, png or zip specifies the image compression for graphics embedded in ZPL.
zpl-lt
Specifies the metric value for the ZPL LT (label top) command (zpl-lt='3.2mm', zpl-lt='-4').
Default unit is mm. If required you can specify other units like in, cm, m, mil, etc.
If empty (zpl-lt=''), the LT command will not be included in the generated ZPL output.
zpl-ls
Specifies the metric value for the ZPL LS command (label shift) (zpl-ls='3.2mm').
Default unit is mm. If required you can specify other units like in, cm, m, mil, etc.
If empty (zpl-ls=''), the LS command will not be included in the generated ZPL output.
zpl-comments
Specifies if zpl comments (including document name, resolution etc.) should be added to the generated zpl data.
Default is no.
zpl-image-crop
Specifies if the generated image that is embedded in the zpl data should be cropped or not (default is on).