T480
Programmer’s Guide
T480 Unicode and Fonts
100-14362
Rev A
Page 207
Font Control Commands
Function
Select Font
All
ASCII
[ESC] + 3 <ID>
Hexadecimal
1BH 2BH 31H
Decimal
<27> <43> <51>
Description
The [ESC] + 3 command selects the font for printing. This command is
used to select a previously loaded font based on its alias.
Note:
Selecting font 0 will select the linked font. If the selected font does
not exist, the previous font will remain in effect.
Note:
Selecting font 100 will select bit map font 0. 101 is bitmap font 1
and so on. Up to 7 bitmap fonts may be present.
Function
Define a Stacked or Linked Font
All
ASCII
[ESC] + S <ID
1
> <ID
2
> <ID
2
> … <0>
Hexadecimal
1BH 2BH 53H
Decimal
<27> <43> <83>
Description
The [ESC] + S command defines but does not select a stacked or linked
font set. This command will define a linked list of previously loaded and aliased fonts
into a linked font stack. The font ID is the same ID as in the select font command. Up to
8 fonts may be linked. The last entry must be 0. If the font does not exist, it will not be
made part of the link.
Note:
You must select font 0 to activate the linked font.
Note:
You can not use bitmap fonts as part of a linked font
Function
Select Font by name
All
ASCII
[ESC] + N <FileName> <0>
Hexadecimal
1BH 2BH 31H
Decimal
<27> <43> <51>
Description
The [ESC] + N command selects the font for printing by file name. This
command is used to select a previously loaded font by its file name. If the selected font
does not exist, the previous font will remain in effect.
Note:
This command may be undesirable because it embeds in the
application a file name that you may wish to change in the future. By
using the Alias ID the font name may change, but the application will
remain constant.
Note:
This command may be used to load and select a bitmap font. If a
bitmap font is selected with this command, it will define bitmap font 7 and
select it. Once loaded, it may be reselected by selecting font 107.
Font Size and Spacing
The font typically defines the character size and line spacing. The typical font is
proportional spaced. That is the spacing between characters varies. This is not always