What ^XG does
^XG places an image that was previously downloaded to the printer with ~DG. Recalling is far more efficient than re-sending the bitmap on every label, so logos are usually downloaded once and recalled by name.
Syntax
^XGd:o.x,mx,myParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
d:o.x | Memory location and object name | — | — |
mx | Magnification X | 1–10 | 1 |
my | Magnification Y | 1–10 | 1 |
Example
^XA
^FO50,50^XGR:LOGO.GRF,1,1^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Related commands
See the full ZPL command reference for all 92 documented commands.
