Skip to content

^CF Change Default Font

Sets the font and size used when a field has no ^A.

Text and fonts · Updated 2026-10-20

Syntax

^CFf,h,w

Parameters

ParameterWhat it doesValues
fDefault font.A–Z, 0–9
hDefault height, in dots.0 to 32000
wDefault width, in dots.0 to 32000

Common mistakes

  • ^CF saves repeating ^A on every field; an explicit ^A still wins.

Example

Edit the code and the label redraws. This is the same engine as the API.

Try it

Preview

100%

Questions

What does ^CF do in ZPL?

Sets the font and size used when a field has no ^A.

What is the syntax of ^CF?

^CFf,h,w

What should I watch out for with ^CF?

^CF saves repeating ^A on every field; an explicit ^A still wins.

Related commands