ZPL commands

^CW · Font Identifier

Assigns a font file to an identifier A–Z, 0–9 that can then be used with ^A. Using a letter that is already taken replaces the resident font.

Assigns a font file to an identifier (A–Z, 0–9) that can then be used with ^A. Using a letter that is already taken replaces the resident font.

Parameters

  • ^CWi,n - i: Identifier (A–Z, 0–9)
  • ^CWi,n - n: Font file name (e.g. E:ARIAL.TTF)

Example

^XA
^CW1,E:ARIAL.TTF
^FO50,50^A1N,40,40^FDHello^FS
^XZ
ZPL preview: ^CW · Font Identifier

Tip

Shortcut for long font paths: ^CW1,E:MYFONT.TTF → then ^A1N,30,30.