^A@ Use Font Name to Call Font

Fonts and text blocks ZPL caret command

Selects a font by its complete file name and storage drive instead of the single-character identifier that ^A uses, and sets orientation, height and width for the field.

Format ^A@o,h,w,d:f.x

^A@ parameters

Parameters of ^A@
ParameterMeaningAccepted valuesDefault
ofield orientationp. 62

How the field is rotated.

  • Nnormal
  • Rrotated 90 degrees (clockwise)
  • Iinverted 180 degrees
  • Bread from the bottom up, 270 degrees

N, or the last ^FW value.

hcharacter height (in dots)p. 62

The character height. The guide explains how it is read for scalable and for bitmapped fonts.

No range is given. For a scalable font the value is the height in dots of the whole character block and no magnification factor is needed. For a bitmapped font the value is rounded to the nearest whole multiple of the font's base height and then divided by that base height to obtain the magnification.

The magnification set by w, or the last accepted ^CF value. If neither is given, the font's base height is used.

wwidth (in dots)p. 62

The character width, read in the same way as h.

No range is given. For a scalable font the value is the width in dots of the whole character block. For a bitmapped font the value is rounded to the nearest whole multiple of the font's base width and then divided by that base width to obtain the magnification.

The magnification set by h, or the last accepted ^CF value. If neither is given, the font's base width is used.

ddrive location of fontpp. 62, 63

The storage location the font file is read from.

In the guide's example B: is described as non-volatile printer memory.
  • R:drive R:
  • E:drive E:
  • B:drive B:
  • A:drive A:
R:
ffont namep. 62

The name of the font file, without extension.

A name given once carries over to every later ^A@ that has no font name.

Any valid font.

If the name is invalid or missing, the font set by ^CF is used; if ^CF has set none, font A is used.

xextensionp. 63

The file type of the font.

Firmware.TTE is only supported in firmware V60.14.x, V50.14.x or later.

  • .FNTfont
  • .TTFTrueType font
  • .TTETrueType extension

Not stated in the guide.

^A@ notes and gotchas

  • Interaction

    For an invalid font name, or no name at all, the guide describes a fallback to the ^CF font, and to font A when no ^CF font was set. It mentions no error in that case. Whether a valid name whose file is absent counts as invalid is not stated.

    pp. 62, 154
  • Interaction

    To make a stored font answer to a one-character identifier that ^A can use, assign it with ^CW instead of calling it by name.

    pp. 60, 168
  • Note

    ^A@ is the by-name counterpart of ^A. Once a font name is given, it stands for that font until another name is given to ^A@. The part after the commas has the shape drive, colon, name, dot, extension, for example a drive letter followed by a file name.

    p. 62
  • Note

    The guide's walk-through names one font file on drive B:, sets it at one size and prints a field, then calls ^A@ again without a font name, with the orientation and a smaller size, and prints a second field in the same font.

    p. 63
  • Note

    Not stated by the guide: what limits apply to the length of the font name, and what happens when the named file is missing from the drive. The walk-through says the printer searches the drive and applies the font when it is found; the f parameter gives a fallback only for an invalid or absent name.

    p. 62

^A@ example

example.zplZPL
^XA
^A@N,50,50,B:TAGFONT.FNT
^FO40,40^FDFirst field^FS
^A@N,30,30
^FO40,110^FDSecond field^FS
^XZ

The first ^A@ names a font file TAGFONT.FNT on drive B: and sets normal orientation at 50 by 50 dots for the first field. The second ^A@ gives no font name and a smaller size, so it carries over the font named before. The example assumes a font file of that name is stored on drive B:.

Guides that use ^A@

BarcoderX is a .NET SDK for thermal labels and barcodes. See how it prints and exports labels.

Source Zebra, ZPL II, ZBI 2, Set-Get-Do, Mirror, WML Programming Guide, P1134473-11EN Rev A, 2026/07/05, pages 60, 62, 63, 154, 168, 190, 201, 204, 208.

Written by BarcoderX in its own words. Checked against the guide on 2026-11-14.

ZPL and ZPL II are trademarks of Zebra Technologies Corporation. This reference is written by BarcoderX in its own words from Zebra's published programming guide. BarcoderX is an independent product and is not affiliated with, endorsed by or sponsored by Zebra Technologies.