^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
| Parameter | What it does | Values |
|---|---|---|
f | Default font. | A–Z, 0–9 |
h | Default height, in dots. | 0 to 32000 |
w | Default 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.
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.