Skip to command documentation
Supportedtextrastersession scope
^CF

Change the Alphanumeric Default Font

^CF configures change the Alphanumeric Default Font. It applies to the printer session and subsequent formats and can change pixels in the rendered label.

Syntax
^CFf,h,w
f

Specified default font

Sets specified default font. It can be omitted when the documented default is suitable.

Range
0–9
Required
No
Documented valuesA09

f variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

f = A

Uses A for specified default font while the other command values stay at representative defaults.

ZPLcaret-cf-f-1.zpl
^XA
^PW640
^LL360
^CFA,48,38
^FO70,105^FDDefault font^FS
^FO28,318^A0N,22,22^FDCaret CF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

f = 0

Uses 0 for specified default font while the other command values stay at representative defaults.

ZPLcaret-cf-f-2.zpl
^XA
^PW640
^LL360
^CF0,48,38
^FO70,105^FDDefault font^FS
^FO28,318^A0N,22,22^FDCaret CF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
h

Individual character height (in dots)

Sets individual character height (in dots). It can be omitted when the documented default is suitable.

Range
0–32000
Required
No
Documented values9032000

h variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

h = 28

Uses 28 for individual character height (in dots) while the other command values stay at representative defaults.

ZPLcaret-cf-h-1.zpl
^XA
^PW640
^LL360
^CF0,28,38
^FO70,105^FDDefault font^FS
^FO28,318^A0N,22,22^FDCaret CF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

h = 48

Uses 48 for individual character height (in dots) while the other command values stay at representative defaults.

ZPLcaret-cf-h-2.zpl
^XA
^PW640
^LL360
^CF0,48,38
^FO70,105^FDDefault font^FS
^FO28,318^A0N,22,22^FDCaret CF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

h = 68

Uses 68 for individual character height (in dots) while the other command values stay at representative defaults.

ZPLcaret-cf-h-3.zpl
^XA
^PW640
^LL360
^CF0,68,38
^FO70,105^FDDefault font^FS
^FO28,318^A0N,22,22^FDCaret CF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
w

Individual character width (in dots)

Sets individual character width (in dots). It can be omitted when the documented default is suitable.

Range
0–32000
Required
No
Documented values5032000

w variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

w = 22

Uses 22 for individual character width (in dots) while the other command values stay at representative defaults.

ZPLcaret-cf-w-1.zpl
^XA
^PW640
^LL360
^CF0,48,22
^FO70,105^FDDefault font^FS
^FO28,318^A0N,22,22^FDCaret CF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

w = 38

Uses 38 for individual character width (in dots) while the other command values stay at representative defaults.

ZPLcaret-cf-w-2.zpl
^XA
^PW640
^LL360
^CF0,48,38
^FO70,105^FDDefault font^FS
^FO28,318^A0N,22,22^FDCaret CF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

w = 54

Uses 54 for individual character width (in dots) while the other command values stay at representative defaults.

ZPLcaret-cf-w-3.zpl
^XA
^PW640
^LL360
^CF0,48,54
^FO70,105^FDDefault font^FS
^FO28,318^A0N,22,22^FDCaret CF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation

ZPLr Command Reference

Independent documentation for the pinned ZPL II 2025 renderer profile. Examples run locally in your browser.

ZPL, ZPL II, Zebra, and Zebra Programming Language are trademarks or registered trademarks of Zebra Technologies Corp. ZPLr is independent and is not affiliated with or endorsed by Zebra Technologies Corp.