would be sent
to
the printer.
To
set
the
HMI
for
12
pitch, the
Ec&kUJH escape sequence would be sent.
HMI defaults when
character
font
orientation, symbol set, pitch,
proportional spacing,
or
height
of
the
invoked
font
is
changed.
HMI also defaults when switching between primary
and
secondary fonts (using Shift In and Shift Out). Thus,
for
example,
if
you set
the
HMI
to
a
different
value
than
the character
font
pitch, then shift
out
to
an
alternate character font, and then shift
back, it will be necessary
to
re-specify the HMI. When HMI
defaults, it
is set according
to
the width
of
the Space character
of
the selected
font
When proportional fonts
are
selected, only the Space character is
affected
by
the
HMI;
the
default
HMI
is
equal
to
the width
of
the Space character.
When
non-proportional fonts are selected,
all printable characters (including Space
and
Backspace) are
affected
by
the
HMI setting (by changing the HMI, a lO-pitch
font
could be printed
at
12 cpi,
for
example).
SETTING
AND CLEARING SIDE
MARGINS
SETfING
SIDE
MARGINS
The
left
and
right margins can be set by sending
the
following
escape sequences
to
the
printer:
Set
left
margin
Ec&a#L
Set right margin Ec&a#M
#
=Column number
The value field (#) specifies the column number, with the first
column in a line being column zero.
If
a column number
is
specified
that
would place the
left
margin
to
the
right
of
the right
margin (or vice versa),
the
command will be ignored. Column
positions vary depending
on
the print pitch
of
the
character
font
in
use.
(Proportional character fonts use the
width
of
the SPACE
character
to
determine column positions.) The
default
margins
are
column zero (left margin)
and
the rightmost printable limit
(right margin). NOTE:
See Appendix D
of
the
LaserJet
Printer
2-13