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 is sent as ASCII hex data.

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

ParameterDescription
dDrive letter: R (RAM), E (flash), B (both)
name.GRFFilename to store as (e.g., LOGO.GRF)
totalTotal number of bytes in the graphic
bprBytes per row
dataASCII hex representation of the image

Example

~DGR:LOGO.GRF,00080,004,FFFF00FF00FFFFFF00FF00FFFF

Download a small graphic to RAM as LOGO.GRF

Try it in the playground View all ZPL commands