CommandsGraphics
^ID - Image Delete
Selectively deletes stored objects, images, fonts, and formats
^ID - Image Delete
Overview
The ^ID command deletes objects, images, fonts, formats, and other stored items from storage areas selectively or in groups. This instruction can be used within a printing format to delete objects just prior to saving new ones, or it can be used in a standalone format simply to delete objects. The command supports wildcards for flexible deletion operations.
Syntax
^IDd:o.x
Parameters
- d = Source device
- R: = DRAM
- B: = Flash Memory
- o = Name of object to delete (1-8 alphanumeric characters, supports * wildcard)
- x = Extension (3 alphanumeric characters, supports * wildcard)
Description
- Selectively deletes stored objects from printer memory
- Supports wildcard patterns for flexible deletion
- Can delete graphics, formats, fonts, and other stored items
- More selective than
^EG(which deletes all graphics at once) - Useful for cleanup before saving new objects
- Can be used within formats or standalone
Usage Notes
- Supports wildcard patterns using the asterisk (*) character
- The pattern
*.*deletes all items with the specified extension - More selective than
^EGcommand - Can be executed within a label format
- Works with both DRAM and Flash memory
- Useful for version management of stored objects
Example - Delete All Formats
^XA^IDR:*.ZPL^XZExample - Delete Specific Graphics
^XA^IDR:SAMPLE1.GRF^XZExample - Delete Multiple Objects with Same Name
^XA
^IDR:SAMPLE.*^XZExample - Delete All Graphics
^XA^IDR:*.*^XZExample - Usage Within Format
^XA
^FO25,25^A0,18,10^FDDelete then Save^FS
^IDR:OLDLOGO.GRF^FS
^ISR:NEWLOGO.GRF,Y
^XZWildcard Patterns
| Pattern | Effect |
|---|---|
LOGO.GRF | Deletes only LOGO.GRF |
LOGO.* | Deletes all files named LOGO with any extension |
*.GRF | Deletes all .GRF files |
*.* | Deletes all files (use with caution) |
Related Commands
^EG- Erase Downloaded Graphic (bulk deletion of all graphics)~EG- Erase Downloaded Graphic (tilde format)^EF- Erase Format (for stored formats)~DG- Download Graphic^XG- Recall Graphic^IS- Image Save^IL- Image Load