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
d
Drive letter: R, E, or B
name
Object name
format
Source data format: A (uncompressed), B (binary), P (PNG)
ext
File extension: .GRF, .TTF, .PNG, etc.
total
Total number of bytes
bpr
Bytes per row (for graphics)
data
The 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