What ^DY does
^DY sends an image (PNG, BMP, GRF), font, or other object to the printer's memory so it can be recalled by name later with ^XG or ^IM. It is the modern way to store logos and reusable graphics on the printer.
Syntax
^DYd:o.x,b,a,t,w,dataParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
d:o.x | Destination drive, name and extension | — | — |
b | Download format | A ASCII, B binary, P PNG… | — |
a | Object type / extension of the stored file | — | — |
t | Total number of bytes in the object | — | — |
w | Bytes per row (for bitmaps) | — | — |
data | The object data itself | — | — |
Example
^XA
^DYR:LOGO,P,P,8004,,<png bytes>
^XZStore once, then recall on every label with ^XGR:LOGO.GRF.
Paste this into the free ZPL viewer to see it render, or convert it to PDF.
Notes & tips
- Recall the stored object with ^XG or ^IM.
- Storing a logo once saves resending it on every label.
Related commands
See the full ZPL command reference for all 92 documented commands.
