Plain English

A more versatile version of ~DG — downloads fonts, graphics, or other objects in various formats (PNG, TTF, etc.) to the printer's storage.

When to use

When downloading TrueType fonts, PNG images, or other non-GRF objects to the printer.

Syntax

~DYd:name,format,ext,total,bpr,data

Parameters

ParameterDescription
dDrive letter: R, E, or B
nameObject name
formatSource data format: A (uncompressed), B (binary), P (PNG)
extFile extension: .GRF, .TTF, .PNG, etc.
totalTotal number of bytes
bprBytes per row (for graphics)
dataThe object data

Example

~DYE:MYFONT,A,.TTF,28000,0,<font data>

Download a TrueType font to flash storage

Try it in the playground View all ZPL commands