Set Horizontal Motion Index (Hmi); Reset Horizontal Motion Index (Hmi) - Brother HL-Series Technical Reference Manual

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96
5. Commands
5.1. Basic printer operation
The most common printer operations are described in this section. Some are invoked using control codes
alone - the rest require escape sequences. For the sake of completeness three instructions which are part
of the Diablo 630 mode instruction set, but which the HL Series printers ignore are included.
Bell
BEL
Ÿ
BEL (ASCII code 7) is ignored.

Set horizontal motion index (HMI)

EscUSn
Ÿ
This command sets the unit of horizontal movement - the horizontal motion index or HMI. The HMI
is the horizontal distance the print position moves on the page when a space is printed. The setting is
used for determining the character pitch when monospaced text is printed, and for establishing the
distance the print position changes when horizontal tab commands are invoked.
Ÿ
The HMI is set to be (n–1)/120".
Ÿ
You can use this command to alter the HMI setting while using proportional spacing. However, since
character pitch is only applicable to monospaced text the new setting will only affect space and tab
operations until you switch to monospacing, at which point the new HMI setting will determine the
new character pitch.
LPRINT CHR$(27); CHR$(31); CHR$(13); 'Set 1/10" HMI

Reset horizontal motion index (HMI)

EscS
Ÿ
This command resets the horizontal motion index (HMI) to the default value for the current
character font. (You select a character font using the control panel).
LPRINT CHR$(27); CHR$(83); 'Reset HMI
(07)
<07h>
(27)(31)n
<1Bh><1Fh>n
(27)(83)
<1Bh><53h>
Chapter 4 "Diablo 630" - 6

Advertisement

Table of Contents
loading

Table of Contents