User`s manual

FEATURES AND FONTS
AXIS AX-3 Cobra+ Technical Reference 59
Set HMI in the printer.
This is the last step in the font selection algorithm and it makes the HMI setting in the
printer according to what was defined in the font definition string.
Note: If the same FGID is defined twice in the parameter list, it is assumed by the
protocol converter that the first definition should be used for documents in portrait, and
the second one for documents in landscape.
Changing the Horizontal Spacing for a Font
Normally the HMI byte in the font definition string has a value corresponding to the
pitch of the defined font, e.g. is $48 defined for all 10 cpi fonts in the parameter list.
It can in some cases be useful to modify the character spacing, for example if a few
characters are printed outside the printable area at the right. In such a situation we
should slightly increase the character density to make all characters fit within the page.
The character density can be changed by modification of the HMI byte in the font
definition sequence. The change is then automatically activated by the HMI setting
after the next selection of the font.
Example: (applies only to HP LaserJet compatible Printer Drivers)
We have a user that only gets 78 of 80 characters printed when he uses the font Gothic
Text 10 (FGID 40). We therefore want to reduce the distance between each print
position for that font with 2/80 * 100% = 2.5%. This means that the HMI value should
be reduced by 2.5%. The new HMI value is 72 ($48) * 0.975 = 70 ($46), which
corresponds to a pitch of 720/70 cpi = 10.3 cpi.
Notes: 1. FGID 40 ($28) is defined in parameter #158. The definition string is unchanged
except for the HMI byte.
2. Function #205 saves the setting permanently.
3. Extended Emulation Mode has to be active. See page 33.
Result: The character density is 10.3 cpi for the Gothic Text 10 font and the text width is
reduced with 2.5%.
%P
=158,$00,$28,$46,$00,$1B,$28,$73,$36,$54
Note 1
=205
Note 2
%