^ID — Delete Object
Plain English
**Permanently removes** a stored file from a printer storage device — formats (`.ZPL`), graphics (`.GRF`/`.PNG`), fonts (`.FNT`), or arbitrary downloaded files (`.DAT`). The path uses the standard `d:name.ext` form: `R:` volatile RAM (deletion is moot — it disappears at power-off anyway), `E:` onboard flash (deletion is **persistent** — file is gone after `^XZ` and survives reboot), `B:` optional memory module. **No undo and no confirmation prompt** — the deletion happens immediately when the format is parsed. Wildcards in either name (`LOGO*.GRF`) or extension (`*.ZPL`) match multiple files; `*.*` deletes everything on the device. Fail-safe: deleting a non-existent file is a no-op (no error, no warning).
When to use
For housekeeping during firmware provisioning or template lifecycle (replace v1 of a label with v2 — `^ID` v1 then `^DF` v2). **Do not** include `^ID` in production-print formats — it permanently removes assets that downstream `^XG`/`^XF` recalls depend on. Use the storage prefix that matches what you stored: a `^DF` to `E:` is undone by `^IDE:`. Test with `^WD` first to see what is on the device before issuing wildcard deletes; once gone, the file must be re-uploaded.
Syntax
^IDd:o.x
Parameters
| Parameter | Description |
|---|---|
d | Storage device: `R:` RAM (volatile, fast), `E:` flash (default, persistent), `B:` optional memory module |
o.x | Filename including extension; supports wildcards — `LOGO*.GRF`, `*.ZPL`, `*.*` to delete everything on the device |
Example
^XA ^IDE:FORMAT.ZPL ^XZ
Permanently removes `FORMAT.ZPL` from onboard flash. Survives reboot. No prompt, no undo. If `FORMAT.ZPL` does not exist on `E:`, the command is a no-op (no error). Run `^XA^WDE:*.ZPL^XZ` first to see what is currently stored.