^ID Object Delete
Deletes stored objects (graphics, fonts, stored formats) from a storage device, one at a time or in groups with an asterisk wildcard.
^IDd:o.x
^ID parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
dlocation of stored objectp. 245 |
The storage device the object is deleted from. |
|
R:
|
oobject namep. 245 |
The name of the object to delete; an asterisk can stand for any name. The matching entries for^IL, ^IS, ^IM and ^XG say 'alphanumeric characters'; this entry does not use that word and allows the wildcard.
|
Any name of 1 to 8 characters. The asterisk (*) works as a wildcard. |
UNKNOWNIf no name is given, UNKNOWN is used. |
xextensionp. 245 |
The extension of the object to delete; an asterisk can stand for any extension. |
Any extension conforming to Zebra conventions. The asterisk (*) works as a wildcard. |
.GRF
|
^ID notes and gotchas
-
Gotcha
Deleting from R: makes the object unusable at once and returns its memory for storing other things. For A:, B: and E: the object is also unavailable after deletion, but the space only comes back when the printer defragments automatically or is initialized.
p. 246 -
Gotcha
If the named object is not found in R:, E:, B: or A:, the command is ignored.
p. 246 -
Note
The command deletes objects, graphics, fonts and stored formats from storage areas, selectively or in groups. It can be used inside a printing format to clear objects before saving new ones, or in a stand-alone format.
p. 245 -
Note
The guide's examples use *.ZPL to delete stored formats from R:, a name followed by .* to delete every object of that name whatever its extension, and *.GRF to delete every object with the .GRF extension. One more example deletes an old image inside a format before
pp. 245, 246^ISstores a new one. -
Note
The command also frees the uncompressed copy of the object held in DRAM. A name given as *.ZOB deletes all downloaded barcode fonts (or other objects with that extension).
p. 246 -
Note
Not stated by the
pp. 245, 246^IDentry: whether devices other than R: are searched when d is left out. The default for d is R:, while the last comment names all four devices.
^ID example
^XA ^IDR:FRAME1.GRF^FS ^XZ
Deletes the stored image FRAME1.GRF from R: in a stand-alone format. The name is 8 characters or fewer and no wildcard is used, so only that one object is affected.
Guides that use ^ID
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, 245 to 247, 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.