~DG - Download Graphic
Plain English
Downloads a graphic image (like a logo) to the printer's memory so it can be recalled later with ^XG or ^IM. The image data is ASCII hex, or a ZB64 envelope (`:B64:`/`:Z64:`) — the same encodings `^GF` accepts.
When to use
When you need to store a logo or graphic on the printer for repeated use across many labels.
Syntax
~DGd:name.GRF,total,bpr,data
Parameters
| Parameter | Description |
|---|---|
d | Drive letter: R (RAM), E (flash), B (both) |
name.GRF | Filename to store as (e.g., LOGO.GRF) |
total | Total number of bytes in the graphic |
bpr | Bytes per row |
data | Image bitmap: ASCII hex, or a `:B64:<base64>:<crc>` / `:Z64:<base64>:<crc>` (ZB64) envelope |
Example
~DGR:LOGO.GRF,00080,004,FFFF00FF00FFFFFF00FF00FFFF
Download a small graphic to RAM as LOGO.GRF