ZPL commandsGraphics and images

~DGDownload Graphics

✓Supported by zplkit

Downloads a graphic image to printer memory as hex data. Print it later with ^XG or ^IM.

Format

~DGd:o.x,t,w,data

Parameters

ParameterDescriptionDefault
d:o.xDrive, name and extension of the graphice.g. R:LOGO.GRFDrive R:, name UNKNOWN
tTotal number of bytes in the graphic
wNumber of bytes per row
dataImage data, as ASCII hex (1 bits print black)

Example

Edit it to see what prints
What the ~DG example prints