Page 143 - ZPL II Programming Guide
P. 143
ZPL Commands 123
~DB
~DB
Download Bitmap Font
Description The ~DB command sets the printer to receive a downloaded bitmap font and
defines native cell size, baseline, space size, and copyright.
This command consists of two portions, a ZPL II command defining the font and a structured
data segment that defines each character of the font.
Format ~DBd:o.x,a,h,w,base,space,#char,©,data
This table identifies the parameters for this format:
Parameters Details
d = drive to store Accepted Values: R:, E:, B:, and A:
font Default Value: R:
o = name of font Accepted Values: 1 to 8 alphanumeric characters
Default Value: if a name is not specified, UNKNOWN is used
x = extension Fixed Value: .FNT
a = orientation of Fixed Value: normal
native font
h = maximum height Accepted Values: 1 to 32000
of cell (in dots) Default Value: a value must be specified
w = maximum width Accepted Values: 1 to 32000
of cell (in dots) Default Value: a value must be specified
base = dots from Accepted Values: 1 to 32000
top of cell to Default Value: a value must be specified
character
baseline
space = width of Accepted Values: 1 to 32000
space or Default Value: a value must be specified
non-existent
characters
#char = number of Accepted Values: 1 to 256 (must match the characters being
characters in font downloaded)
Default Value: a value must be specified
9/15/06 ZPL II Programming Guide 45541L-004 Rev. A