Font & Text Commands
^CW - Font Identifier
Associates letter designation with font file
^CW - Font Identifier
Overview
The ^CW command creates a custom font alias, associating a single letter with a font file for easier reference.
Syntax
^CWa,d:o.x
Parameters
- a = Font alias letter (A-Z, 0-9)
- d:o.x = Device:font.extension
- d = Device (R:, E:, B:, A:)
- o = Font name
- x = File extension
Description
- Creates a shorthand reference to a font file
- Simplifies font selection in labels
- Allows use of letter designation for custom fonts
- Useful for complex or long font filenames
Usage Notes
- Define aliases before using them in ^A commands
- One alias maps to one font file
- Overrides built-in font letters if used
- Persists in format until changed
Example
^XA ^CWACUSTOMFONT,E:MYFONT.TTF ^FO50,50 ^ADN,50,50 ^FDUsing custom font alias^FS ^XZ
Related Commands
^A- Scalable Font^A@- Use Font Name to Call Font~DT- Download TrueType Font
Best Practices
- Use mnemonic alias letters (e.g., C for Corporate)
- Define all aliases at start of format
- Document which aliases you use
- Avoid overriding common font letters