Printek 4503 User Manual

Page of 167
DEC LA120 Emulation
Page 5-16
Horizontal Margins
Printing is allowed only within the left and right margins.  Exceeding the right margin
will cause line wrap, setting the current print position to the left margin and
advancing the paper one line.
Set Left and Right Margin
ESC [ n1 ; n2 s
Sets the left margin to column n1 and the right margin to column n2 at the current
character spacing.  0
n1
255, 0
n2
255.  If character spacing is changed after
setting the margins, the position of the margins will not change.
The margin settings are inclusive.  For example, a left margin at column 11 allows a
character to be printed in column 11, but not in column 10.  A right margin at column
75 allows a character to be printed in column 75, but not in column 76.
The leftmost column is column one.  If n1 or n2 is zero (or is omitted), the
corresponding margin is not changed.  The left margin must be left of the right
margin and 
13.4 inches.  The right margin must be right of the left margin and 
13.6
inches.  Invalid margins will be ignored.  Overrides the "Left Mar:" and "Right Mar:"
values in the "Setup: FORM" menu.
Example:  The following escape sequence will set a one inch left margin, and will set
a right margin 7.5 inches from the left edge of the form, if character spacing is
currently 10 cpi.  For a standard 8.5 inch wide form, this would result in a one inch
right margin.
Escape Sequence:
ESC
[
1
0
;
7
5
s
Hexadecimal:
1B
5B
31
30
3B
37
35
73
Example:  The following escape sequence will set the left margin to column 10,
without affecting the right margin.
Escape Sequence:
ESC
[
1
0
s
Hexadecimal:
1B
5B
31
30
73
Example:  The following escape sequence will set the right margin to column 75,
without affecting the left margin.
Escape Sequence:
ESC
[
;
7
5
s
Hexadecimal:
1B
5B
3B
37
35
73