Skip to command documentation
Supportedstoragejobsession scope
~DB

Download Bitmap Font

~DB configures download Bitmap Font. It applies to the printer session and subsequent formats and changes job or printer-session state used while processing labels.

These are code examples only. This printer or session command does not produce a standalone label image.

Syntax
~DBd:o.x,a,h,w,base,space,#char,©,data
d

Drive to store font

Sets drive to store font. It can be omitted when the documented default is suitable.

Default
R:
Required
No
Documented valuesR:

d variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

d = R:

Uses R: for drive to store font while the other command values stay at representative defaults.

ZPLtilde-db-d-1.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR,data

d = E:

Uses E: for drive to store font while the other command values stay at representative defaults.

ZPLtilde-db-d-2.zpl
~DBE::FONT.FNT,N,24,16,20,10,1,ZPLR,data
o

Name of font

Sets name of font. It can be omitted when the documented default is suitable.

Default
if a name is not specified, UNKNOWN is used
Required
No
Documented valuesFONT

o variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

o = FONT

Uses FONT for name of font while the other command values stay at representative defaults.

ZPLtilde-db-o-1.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR,data

o = EXAMPLE

Uses EXAMPLE for name of font while the other command values stay at representative defaults.

ZPLtilde-db-o-2.zpl
~DBR::EXAMPLE.FNT,N,24,16,20,10,1,ZPLR,data
x

Extension

Sets extension. It can be omitted when the documented default is suitable.

Required
No
Documented valuesFNT

x variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

x = FNT

Uses FNT for extension while the other command values stay at representative defaults.

ZPLtilde-db-x-1.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR,data

x = FNT2

Uses FNT2 for extension while the other command values stay at representative defaults.

ZPLtilde-db-x-2.zpl
~DBR::FONT.FNT2,N,24,16,20,10,1,ZPLR,data
a

Orientation of native font

Sets orientation of native font. It can be omitted when the documented default is suitable.

Required
No
Documented valuesNRIB

a variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

a = N

Uses N for orientation of native font while the other command values stay at representative defaults.

ZPLtilde-db-a-1.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR,data

a = R

Uses R for orientation of native font while the other command values stay at representative defaults.

ZPLtilde-db-a-2.zpl
~DBR::FONT.FNT,R,24,16,20,10,1,ZPLR,data

a = B

Uses B for orientation of native font while the other command values stay at representative defaults.

ZPLtilde-db-a-3.zpl
~DBR::FONT.FNT,B,24,16,20,10,1,ZPLR,data
h

Maximum height of cell (in dots)

Sets maximum height of cell (in dots). It can be omitted when the documented default is suitable.

Default
a value must be specified
Range
1–32000
Required
No
Documented values24

h variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

h = 24

Uses 24 for maximum height of cell (in dots) while the other command values stay at representative defaults.

ZPLtilde-db-h-1.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR,data

h = 25

Uses 25 for maximum height of cell (in dots) while the other command values stay at representative defaults.

ZPLtilde-db-h-2.zpl
~DBR::FONT.FNT,N,25,16,20,10,1,ZPLR,data
w

Maximum width of cell (in dots)

Sets maximum width of cell (in dots). It can be omitted when the documented default is suitable.

Default
a value must be specified
Range
1–32000
Required
No
Documented values16

w variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

w = 16

Uses 16 for maximum width of cell (in dots) while the other command values stay at representative defaults.

ZPLtilde-db-w-1.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR,data

w = 17

Uses 17 for maximum width of cell (in dots) while the other command values stay at representative defaults.

ZPLtilde-db-w-2.zpl
~DBR::FONT.FNT,N,24,17,20,10,1,ZPLR,data
base

Dots from top of cell to character baseline

Sets dots from top of cell to character baseline. It can be omitted when the documented default is suitable.

Default
a value must be specified
Range
1–32000
Required
No
Documented values20

base variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

base = 20

Uses 20 for dots from top of cell to character baseline while the other command values stay at representative defaults.

ZPLtilde-db-base-1.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR,data

base = 21

Uses 21 for dots from top of cell to character baseline while the other command values stay at representative defaults.

ZPLtilde-db-base-2.zpl
~DBR::FONT.FNT,N,24,16,21,10,1,ZPLR,data
space

Width of space or non-existent characters

Sets width of space or non-existent characters. It can be omitted when the documented default is suitable.

Default
a value must be specified
Range
1–32000
Required
No
Documented values10

space variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

space = 10

Uses 10 for width of space or non-existent characters while the other command values stay at representative defaults.

ZPLtilde-db-space-1.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR,data

space = 11

Uses 11 for width of space or non-existent characters while the other command values stay at representative defaults.

ZPLtilde-db-space-2.zpl
~DBR::FONT.FNT,N,24,16,20,11,1,ZPLR,data
#char

Number of characters in font

Sets number of characters in font. It can be omitted when the documented default is suitable.

Default
a value must be specified
Required
No
Documented values1

#char variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

#char = 1

Uses 1 for number of characters in font while the other command values stay at representative defaults.

ZPLtilde-db-char-1.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR,data

#char = 2

Uses 2 for number of characters in font while the other command values stay at representative defaults.

ZPLtilde-db-char-2.zpl
~DBR::FONT.FNT,N,24,16,20,10,2,ZPLR,data
©

Copyright holder

Sets copyright holder. It can be omitted when the documented default is suitable.

Default
a value must be specified
Required
No
Documented valuesZPLR

© variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

© = ZPLR

Uses ZPLR for copyright holder while the other command values stay at representative defaults.

ZPLtilde-db-value-1.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR,data

© = ZPLR2

Uses ZPLR2 for copyright holder while the other command values stay at representative defaults.

ZPLtilde-db-value-2.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR2,data
data

Structured ASCII data that defines each character in the font

Sets structured ASCII data that defines each character in the font. It can be omitted when the documented default is suitable.

Required
No
Documented valuesdata

data variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

data = data

Uses data for structured ASCII data that defines each character in the font while the other command values stay at representative defaults.

ZPLtilde-db-data-1.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR,data

data = X

Uses X for structured ASCII data that defines each character in the font while the other command values stay at representative defaults.

ZPLtilde-db-data-2.zpl
~DBR::FONT.FNT,N,24,16,20,10,1,ZPLR,X

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation