Download bitmap font – Dascom 7010 Programmers Manual ZPL User Manual
Page 23

23
~DB
Download Bitmap Font
Description:
The ~DB command sets the printer to receive a download bitmap font, defines native cell size,
baseline, space size, and copyright.
This command consists of two portions, a ZPL® command which defines the font and a structured
data segment which defines each character of the font.
Format: ~DBd:o,x,a,h,w,base,space,”char,©,data
Parameters:
d = destination drive to store font
o = name of font
Accepted Values: 1 to 8 alphanumeric characters
Default Value: UNKNOWN.FNT
x = extension
Fixed:. FNT
a = orientation of native font
Fixed: Normal
h = maximum height of cell(in dots)
w = maximum width of cell(in dots)
base = dots from top of cell to character baseline
space = width of space or non-existent characters
#char = number of characters in font
Maximum characters allowed is 256,This must match the number of characters being
downloaded.
©=copyright holder
Maximum length of text string is 63 characters.
¥data = structured ASCII data that defines each character in the font
The # symbol signifies character code parameters which are separated with periods. The
character code is from 1 to 4 characters to allow for large international character sets
to be downloaded to the printer.
The data structure is:
#xxxx,h,w,x,y,i,data
#xxxx = character code