Calls a font by its full file name on the printer instead of the one-character name used by ^A.
^A@o,h,w,d:f.x^A selects a font by a single letter or digit; ^A@ names the font file itself (drive, name, extension), so fonts you downloaded and TrueType fonts can be used in a field.
Once a name is given it stays in effect: a later ^A@ without a name keeps using the same font until a new name is sent.
Labelixa's preview draws this command.
^XA
^FO100,100^A@N,50,50,B:CYRI_UB.FNT^FDZebra Printer Fonts^FS
^FO100,150^A@N,40,40^FDSame font, smaller^FS
^XZLooks for CYRI_UB.FNT in non-volatile memory (B:) and prints at 50×50 dots; the second field reuses the font at 40×40 without naming it again.
| Parameter | Description | Values | Default |
|---|---|---|---|
o | field orientation: normal, 90° clockwise, inverted 180°, bottom-up 270° | N · R · I · B | N / ^FW |
h | character height in dots; scalable fonts use it as the full cell height, bitmap fonts round it to a multiple of their base height | dots | ^CF |
w | character width in dots, same rules as the height | dots | ^CF |
d | drive that holds the font | R: · E: · B: · A: | R: |
f | font name; an invalid or missing name falls back to the ^CF font, or font A if none is set | *.FNT / *.TTF | ^CF / A |
x | extension; .TTE needs firmware V60.14.x, V50.14.x or later | .FNT · .TTF · .TTE | — |
Zebra ZPL II Programming Guide (P1134473-11EN Rev A), page 62. Zebra guide page →
^A · ^CF · ^FW · ^CW · ^FL · ~DT