^CF Change the Alphanumeric Default Font

Fonts and text blocks ZPL caret command

Sets the default font, character height and character width for alphanumeric fields, so that ^A need not be repeated in every field.

Format ^CFf,h,w

^CF parameters

Parameters of ^CF
ParameterMeaningAccepted valuesDefault
fspecified default fontp. 154

The font used for every alphanumeric field that does not name its own.

The guide says that if the default font is not changed, no alphanumeric field command is used, or an invalid font value is entered, the data prints in font A.

A through Z and 0 to 9.

A

The guide gives A as the initial value at power up.

hindividual character height (in dots)p. 154

The default character height for alphanumeric fields.

Defining only the height or only the width forces the magnification to be proportional to the value given.

0 to 32000 dots

9

The guide gives 9 as the initial value at power up.

windividual character width (in dots)p. 154

The default character width for alphanumeric fields.

Defining only the height or only the width forces the magnification to be proportional to the value given. If neither height nor width is given, the last ^CF values, or the ^CF defaults, are used.

0 to 32000 dots

The guide gives 5 as the initial value at power up, or the last permanently saved value.

^CF notes and gotchas

  • Interaction

    A field that has its own ^A uses those values instead. The ^A entry says the ^CF font is used for any ^FD that is not preceded by an ^A.

    pp. 60, 154
  • Interaction

    Any font in the printer, including downloaded fonts, EPROM fonts and fonts A to Z and 0 to 9, can also be selected with ^CW.

    p. 154
  • Note

    The guide describes ^CF as a way to simplify programs: font information is listed once and the repeated font entries are left out of the fields. Its shortcut examples do this with ^CF followed by plain fields.

    pp. 154, 1766, 1767
  • Guide issue

    ^CF accepts 0 to 32000 for h and w, while ^A lists 10 to 32000 for scalable fonts and says 0 lets the font matrix decide. The ^CF entry does not say how values below 10 are treated.

    pp. 60, 61, 154

^CF example

example.zplZPL
^XA
^CF0,40,40
^FO40,40^FDDefault font^FS
^FO40,100^A0N,25,25^FDOverride^FS
^XZ

^CF sets font 0 at 40 by 40 dots as the default. The first field has no ^A, so it uses that default. The second field has its own ^A, which applies to that field only.

Guides that use ^CF

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, 61, 154, 190, 201, 204, 1766, 1767.

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.