Specifications

Table Of Contents
~DY
Download Graphics
Description: ~DY downloads to the printer graphic objects in any supported format.
This command can be used in place of ~DG for more saving and loading options.
Format: ~DYf,b,x,t,w,data
Parameters:
f = font name
b = format downloaded in data field (f)
a = uncompressed bitmap (.GRF, ASCII)
b = uncompressed bitmap (.GRF, binary)
c = AR-compressed bitmap (.GRF, compressed binary)
p = PNG image (.PNG)
x = extension of stored graphic
G = raw bitmap (.GRF)
P = store as compressed (.PNG)
t = total number of bytes in graphic
.GRF images: the size after decompression into memory.
.PNG images: the size of the .PNG file.
w = total number of bytes per row
.GRF images: number of bytes per row.
.PNG images: this data is ignored dimensions are encoded directly
into .PNG data.
data = data
ASCII hexadecimal encoding, ZB64, or binary data, depending on b.
a, p = ASCII hexadecimal or ZB64
b, c = binary
When binary data is sent, all control prefixes and flow control
characters will be ignored until the total number of bytes needed for the
graphic format is received.
Comments: Parameter b, option c is only used by Zebra’s Bar-One
®
software.
For more information on ZB64 encoding and compression, refer to Appendix I in
Volume Two.
ZPL II Programming Guide Volume One: Command Reference for X.10
112