Specifications

123
ZPL Commands
~DB
9/15/06 ZPL II Programming Guide 45541L-004 Rev. A
~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
font
Accepted Values: R:, E:, B:, and A:
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
native font
Fixed Value: normal
h = maximum height
of cell (in dots)
Accepted Values: 1 to 32000
Default Value: a value must be specified
w = maximum width
of cell (in dots)
Accepted Values: 1 to 32000
Default Value: a value must be specified
base = dots from
top of cell to
character
baseline
Accepted Values: 1 to 32000
Default Value: a value must be specified
space = width of
space or
non-existent
characters
Accepted Values: 1 to 32000
Default Value: a value must be specified
#char = number of
characters in font
Accepted Values: 1 to 256 (must match the characters being
downloaded)
Default Value: a value must be specified