^CF — Change the Default Font

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

^CF — Change the Default Font

Goal

Change the default font with ^CF.

Description

^CF sets the default alphanumeric font and size, so plain ^FD fields need no ^A at all.

Example

^XA
^CF0,30
^FX Default font is now 0 at 30 dots.
^FO20,20^FDDefault font text^FS
^FO20,60^FDSecond line, same font^FS
^XZ

Rendered ^CF label

Result

No ^A anywhere — both lines inherit font 0 at 30 dots.

Article author: Arthur Isaev

Related articles
RFID
ZPL
ZPL course: 54 lessons
ZPL FAQ
RFID tools

Search this site

Channel @aofeed Chat @aofeedchat

Contacts and cooperation:
I recommend our hosting beget.ru
Write to info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: