Specifications

Table Of Contents
~DG
Download Graphics
Description: The ~DG (Download Graphic) command performs the following
functions:
1. Puts the printer into graphics mode.
2. Names the graphic (this name is used to recall it into a label).
3. Defines the size of the graphic.
4. Downloads the hexadecimal string to the printer.
Format: ~DGd:o.x,t,w,data
Parameters:
d = destination device to store image
Accepted Values: a non-volatile RAM device
Default Value: R: (DRAM)
o = image name
Accepted Values: 1 to 8 alphanumeric characters
Default Value: If no name is entered, UNKNOWN is used.
x = filename extension
Fixed: .GRF
t = total number of bytes in graphic
Refer to the formula on the following page.
w = number of bytes per row
Refer to the formula on the following page.
data = ASCII hexadecimal string defining image
The data string defines the image and is an ASCII hexadecimal
representation of the image. Each character represents a horizontal
nibble of four dots.
ZPL II Programming Guide Volume One: Command Reference for X.10
105