^CW Font Identifier

Fonts and text blocks ZPL caret command

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.

Format ^CWa,d:o.x

^CW parameters

Parameters of ^CW
ParameterMeaningAccepted valuesDefault
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:drive R:
  • E:drive E:
  • B:drive B:
  • A:drive A:
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.

UNKNOWN

Used 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.

  • .FNTfont
  • .TTFTrueType font
  • .TTETrueType extension

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 ^A, in the f parameter, and in ^CF as the default font. ^CF notes that any font in the printer, including downloaded ones, can be selected with ^CW.

    pp. 60, 154, 168
  • Interaction

    ^A@ reaches a stored font by name and drive without assigning an identifier. Use ^CW when later fields should choose the font with ^A.

    pp. 62, 168
  • Interaction

    The guide's AUTOEXEC.ZPL section lists ^CW among 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 ^CW line.

    p. 1763
  • Note

    Every built-in font is referenced by a one-character identifier. ^CW ties such an identifier to a font stored in DRAM, on a memory card, in EPROM or in Flash.

    p. 168
  • Note

    When the identifier does not match a built-in font, the stored font is an additional font. That assignment stays until a new ^CW replaces it or the printer is turned off.

    p. 168
  • Note

    The guide's examples show ^CW in a format of its own, between ^XA and ^XZ, with nothing else in it.

    p. 168
  • Note

    Not stated by the guide: whether the font file has to exist at the time ^CW is sent, or what happens when the file is missing.

    p. 168

^CW example

example.zplZPL
^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.