IBM Quietwriter III 5202 Manual page 91

Table of Contents

Advertisement

,......_
,........
ESC X
Set Horizontal Margins
ESC
X
m n
The parameter value
m
represents the
left
margin and
n
repres-
ents the right margin. The margins
are
specified in print positions
and converted to a horizontal
position in
inches based upon the
currently
active
pitch.
The
value of
m
must
be
greater
than
or
equal to
1
and
less
than or equal to the
maximum
value given in
the
table below.
If
these limits are
exceeded,
the
left
margin is
set to 1.
The
value
of
n
must be greater than or equal tom and
less than or equal
to the maximum value
given in
the
table below.
If
these values are
exceeded,
the right
margin
is set to the
maximum
limit.
Maximum
Values
Pitch
m
n
10
129 132
12
154
158
15
193
190
17
221 226
PS
154
158
The previous
margin
values (in inches) are used if a value of zero
is
used form
or
n respectively. The
CR
control will return the
print position to the
new
left
margi
n. The
next character or bit
image graphics command will be subject to the new right margin.
If
a
character
exceeds
the right margin,
it
will
be
printed at the left
margin
of the next
line.
Bit
image
graphics data is truncated
if
it
exceeds the right margin.
When
the printer is
initial
ized,
the
left
margin is set
to
1
and the right margin
is
set to
8.0
or
13.2
inches,
depending on the position of setup switch 2 in Switch Group
1.
For
example,
to
set the
left
margin at
10
and the right margin at
90:
LPRINT CHR$(27)
;
CHR$(88)
;
CHR$(10)
;
CHR$ ( 90)
;
Reference
4-41

Advertisement

Table of Contents
loading

Table of Contents