User`s manual
Section 5: Fonts
48 Axis AFP User’s Manual
User Definable Fonts
This section describes how to select a printer specific, soft loaded, or cartridge res-
ident font by a FGID number. Up to 128 additional fonts can be linked to FGID
numbers by the user. The FGID numbers 3840 to 3967 (0F00-0F7F in hexadec-
imal) are reserved by IBM for user defined fonts.
When an FGID between 3840 and 3967 is used, Axis AFP translates it to a call
for a user font UF0 to UF127 in the printer (i.e. FGID 3840 to UF0, FGID 3841
to UF1, etc.).
The user fonts UF0 to UF127 are mapped to printer fonts by sending a PostScript
sequence to the printer. This can be done with the sequence programmed into the
Power On String parameter or sending it to the printer from a PC using the PC-
Host Sharing.
Example: Two fonts, Palatino-Bold and Bookman-Demi are defined to be addressed from
the system as FGIDs 3840 and 3843:
The font size will be scaled according to the Font Width specified by the applica-
tion. If DEFAULT or no Font Width is specified by the application, a scaling for
10 CPI is performed.
You may also define a scaling in the definition by inserting a “<scalevalue>
scalefont” operator between the “findfont” and “def” operators in the
previous example. The resulting font size will then be the product of <scalevalue>
and the Font Width.
serverdict begin 0 exitserver % exit the server loop
/UF0 /Palatino-Roman findfont def % Define FGID 3840
/UF3 /Bookman-Demi findfont def % Define FGID 3843
<Ctrl-D> % End-of-File (code 04)
Fonts defined according to this example will contain a limited character set.
Use the method described in Extended Font Mapping below to obtain a full
character set.










