^IM Image Move
Moves a stored image straight into the bitmap at the field position, the same as ^XG but without magnification.
^IMd:o.x
^IM parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
dlocation of stored objectpp. 248, 373 |
The storage device the image is read from. |
|
The search priority. This entry does not list the order; the |
oobject namep. 248 |
The name the image was stored under. |
1 to 8 alphanumeric characters. |
UNKNOWNIf no name is given, UNKNOWN is used. |
xextensionp. 248 |
The extension of the stored image. The guide labels .GRF and .PNG as fixed values for this parameter. |
The guide calls the extension a fixed value and lists both. |
Not stated in the guide. |
^IM notes and gotchas
-
Gotcha
The guide says
p. 248^IMmay need less formatting time than^XGbecause it does not magnify, but only if the image sits on an 8-, 16- or 32-bit boundary. -
Note
The command performs a direct move of an image from the storage area into the bitmap. The guide says it is identical to
p. 248^XGexcept that it has no sizing parameters. -
Note
The image can be placed anywhere with
p. 248^FO. The guide's example prints one stored image at five positions in its original size. -
Note
The
p. 183~DYentry gives an example in which^FO0,0and^IMbring a stored PNG file to the position 0,0 of the label. -
Note
Not stated by the guide: how the 8-, 16- or 32-bit boundary is met for a given image.
p. 248
^IM example
~DGR:BOX8.GRF,8,1,FF818181818181FF ^XA ^FO100,60^IMR:BOX8.GRF^FS ^XZ
The first line stores a small 8 by 8 dot image named BOX8.GRF in R: (the same ~DG line as in the ~DG record). The format then moves that image to the field origin 100 dots from the left and 60 dots down, at its original size.
Guides that use ^IM
BarcoderX is a .NET SDK for thermal labels and barcodes. See how it prints and exports labels.
Source Zebra, ZPL II, ZBI 2, Set-Get-Do, Mirror, WML Programming Guide, P1134473-11EN Rev A, 2026/07/05, pages 175, 176, 183, 201, 204, 247 to 249, 373.
Written by BarcoderX in its own words. Checked against the guide on 2026-11-14.
ZPL and ZPL II are trademarks of Zebra Technologies Corporation. This reference is written by BarcoderX in its own words from Zebra's published programming guide. BarcoderX is an independent product and is not affiliated with, endorsed by or sponsored by Zebra Technologies.