User`s manual

FEATURES AND FONTS
AXIS AX-3 Cobra+ Technical Reference 58
Font Selection A font selection command from the host makes the protocol converter go through a
number of steps before the according font is selected in the printer.
Determine pitch (character spacing) for the requested FGID number.
This is the first step in the font selection algorithm. See the table on page 51 for a list of
pitch values and FGID numbers.
Select a default font with the correct pitch in the printer.
Guided by the pitch for the requested FGID number, the protocol converter sends a
default font selection sequence that guarantees that a font with the correct pitch is
selected in the printer. The default font selection sequences are resident in parameter
#140 to parameter #149 in the parameter list.
Search for the requested FGID number in the list of font definition strings
(parameter #150 to parameter #199).
The first two bytes of a font definition string in the protocol converter is the FGID
number of the font. If the requested font is defined, i.e. the FGID number can be found
in the parameter list, the information in the following bytes is used for continued font
selection.
Determine the Symbol Set to be used.
When the requested FGID number is found among the font definition strings, the
fourth byte (ASCII Character Set) is read out and processed. If the byte is set to 0,
parameter #054 is used for determination of which character set to use in the protocol
converter and the printer. Any other value determines which character set that should
be used.
Select Symbol Set in the printer.
One of the selection sequences in parameter #115 to parameter #119 selects the
character set that has been defined by parameter #054 or in the font definition string.
Send the additional font selection sequence to the printer.
After the character set selection is made, the font selection sequence defined in the font
definition string is sent to the printer. This additional sequence only needs to contain
differences from the default font selection sequence. It may also be empty for fonts that
are correctly selected with only the default sequence.
Determine the Horizontal Motion Index (HMI) to be set in the printer.
In this step, the third byte of the font definition string is read out and processed. The
value in this byte is set in units of 1/720 inch and for fixed pitch fonts it determines the
distance between two horizontal print positions. For a proportional font is the width of
the space character determined. A setting of 0 in this byte causes the protocol converter
to disable word processing functions like justification, boldface printing and word
overstrike, and no HMI setting is made in the printer.