^CW Font Identifier
Assigns a one-character identifier to a font stored in the printer, either replacing a built-in font of that identifier or adding the stored font as an extra one.
^CWa,d:o.x
^CW parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
aletter of existing font to be substituted, or new font to be addedp. 168 |
The identifier the stored font will answer to. If it matches a built-in font, the stored font replaces that font; otherwise it is added as an additional font. Required |
A through Z and 0 to 9. |
A one-character entry is required. |
ddevice to store font in (optional)p. 168 |
The drive the font is read from. Optional The guide's examples describe a font on R: as stored in DRAM. |
|
R:
|
oname of the downloaded font to be substituted for the built-in, or as an additional fontp. 168 |
The file name of the stored font, without extension. |
Any name, up to 8 characters. |
UNKNOWNUsed when no name is specified. |
xextensionp. 168 |
The file type of the stored font. Firmware.TTE is only supported in firmware V60.14.x, V50.14.x or later. |
|
Not stated in the guide. |
^CW notes and gotchas
-
Gotcha
When the identifier equals that of a built-in font, the stored font takes the place of the built-in one wherever a format calls for it. The guide says this substitution lasts only until the power is turned off.
p. 168 -
Interaction
Once assigned, the identifier is used like any other font name in
pp. 60, 154, 168^A, in the f parameter, and in^CFas the default font.^CFnotes that any font in the printer, including downloaded ones, can be selected with^CW. -
Interaction
pp. 62, 168^A@reaches a stored font by name and drive without assigning an identifier. Use^CWwhen later fields should choose the font with^A. -
Interaction
The guide's AUTOEXEC.ZPL section lists
p. 1763^CWamong the commands that can be set up at power-up: a stored format with that name, placed in the printer's extra memory, is run automatically when the printer is switched on. Its sample file includes a^CWline. -
Note
Every built-in font is referenced by a one-character identifier.
p. 168^CWties such an identifier to a font stored in DRAM, on a memory card, in EPROM or in Flash. -
Note
When the identifier does not match a built-in font, the stored font is an additional font. That assignment stays until a new
p. 168^CWreplaces it or the printer is turned off. - Note
-
Note
Not stated by the guide: whether the font file has to exist at the time
p. 168^CWis sent, or what happens when the file is missing.
^CW example
^XA ^CWZ,R:SIGNFONT.FNT ^XZ ^XA ^FO40,40^AZN,40,40^FDSign text^FS ^XZ
The first format assigns the identifier Z to the stored font SIGNFONT.FNT on drive R:. The second format selects that font with ^AZ like any other font identifier, at normal orientation and 40 by 40 dots. The example assumes the font file is already stored on R:.
Guides that use ^CW
BarcoderX is a .NET SDK for thermal labels and barcodes. See how it prints and exports labels.
Source Zebra, ZPL II, ZBI 2, Set-Get-Do, Mirror, WML Programming Guide, P1134473-11EN Rev A, 2026/07/05, pages 60, 62, 154, 168, 190, 201, 204, 1763.
Written by BarcoderX in its own words. Checked against the guide on 2026-11-14.
ZPL and ZPL II are trademarks of Zebra Technologies Corporation. This reference is written by BarcoderX in its own words from Zebra's published programming guide. BarcoderX is an independent product and is not affiliated with, endorsed by or sponsored by Zebra Technologies.