zpl.tools
Font & Text Commands

^CF - Change Alphanumeric Default Font

Changes default font for text fields

^CF - Change Alphanumeric Default Font

Overview

The ^CF command changes the default font used for all subsequent text fields until changed again.

Syntax

^CFf,h,w

Parameters

  • f = Font identifier (A-Z, 0-9)
  • h = Character height in dots
  • w = Character width in dots (optional)

Description

  • Sets the default font for entire label or format
  • Eliminates need to repeat font selection for each field
  • Applies to all subsequent text fields
  • Can be overridden by individual ^A commands

Usage Notes

  • Affects all following fields until changed
  • ^A command overrides this setting for specific field
  • Reduces label format size when consistent font used
  • Initial value set at printer startup

Example

^XA ^CF0,50,50 ^FO50,50 ^FDFirst Line (using default)^FS ^FO50,120 ^FDSecond Line (also using default)^FS ^FO50,190 ^ADN,30,30 ^FDThis uses ^A override^FS ^XZ

Font Identifier Reference

LetterFont
AHelvetica
BCourier
DTimes Roman
EGothic
HOCR-A
  • ^A - Scalable/Bitmapped Font
  • ^CW - Font Identifier
  • ^A@ - Use Font Name to Call Font

See Also