Font & Text Commands
^A - Scalable/Bitmapped Font
Selects font and sets character size
^A - Scalable/Bitmapped Font
Overview
The ^A command selects a font and specifies the character height and width for text printing.
Syntax
^Afo,h,w
Parameters
- f = Font identifier (A-Z, 0-9)
- A = Helvetica
- B = Courier
- D = Times Roman
- E = Gothic
- F = Reserved
- G = Symbol
- H = OCR-A
- T = Times New Roman
- U = Courier New
- V = Reserved
- Z = Special font (defined by printer)
- o = Orientation
- N = Normal (0°)
- R = Rotated 90° clockwise
- I = Inverted 180°
- B = Bottom up (270°)
- h = Character height in dots
- w = Character width in dots (optional, defaults to height)
Description
- Selects which font to use for text
- Sets character dimensions for scalable fonts
- Multiple fonts available depending on printer
- Mandatory for text fields
Usage Notes
- Must precede ^FD for text to use this font
- Font size affects readability and label space
- Typical heights: 20-100+ dots
- Width typically matches height unless proportional
Example
^XA ^FO50,50 ^ADN,50,50 ^FDHello World^FS ^FO50,120 ^ABN,40,30 ^FDSmaller Text^FS ^XZ
Font Selection Table
| Letter | Font Name | Type |
|---|---|---|
| A | Helvetica | Sans-serif |
| B | Courier | Monospace |
| D | Times Roman | Serif |
| E | Gothic | Serif |
| G | Symbol | Symbols |
| H | OCR-A | Machine-readable |
| T | Times New Roman | Serif |
| U | Courier New | Monospace |
Orientation Reference
| Letter | Rotation | Degrees |
|---|---|---|
| N | Normal | 0° |
| R | Right/Rotated | 90° |
| I | Inverted | 180° |
| B | Bottom-up | 270° |
Related Commands
^A@- Use Font Name to Call Font^CF- Change Alphanumeric Default Font^CW- Font Identifier