Horizontal margins – Printek 4503 User Manual
Page 77
IBM Proprinter Emulation
Page 4-17
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 X
n1 n2
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 left margin is inclusive, but the right margin is exclusive. For example, a left
margin at column 11 still allows a character to be printed in column 11. A right
margin at column 76 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, 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
X
11
76
Hexadecimal:
1B
58
0B
4C