Page 144 - ZPL II Programming Guide
P. 144
124 ZPL Commands
~DB
Parameters Details
© = copyright holder Accepted Values: 1 to 63 alphanumeric characters
Default Value: a value must be specified
data = structured The # symbol signifies character code parameters, which are
ASCII data that separated with periods. The character code is from 1 to 4
defines each characters to allow for large international character sets to be
character in the downloaded to the printer.
font The data structure is:
#xxxx.h.w.x.y.i.data
#xxxx = character code
h = bitmap height (in dot rows)
w = bitmap width (in dot rows)
x = x-offset (in dots)
y = y-offset (in dots)
i = typesetting motion displacement (width, including
inter character gap of a particular character in the font)
data = hexadecimal bitmap description
Example • This is an example of how to use the ~DB command. It shows the first two
characters of a font being downloaded to DRAM.
~DBR:TIMES.FNT,N,5,24,3,10,2,ZEBRA 1992,
#0025.5.16.2.5.18.
OOFF
OOFF
FFOO
FFOO
FFFF
#0037.4.24.3.6.26.
OOFFOO
OFOOFO
OFOOFO
OOFFOO
45541L-004 Rev. A ZPL II Programming Guide 9/15/06