Printek Emulation
Page 7-13
Vertical Margins
Printing is allowed only within the top and bottom margins. Exceeding the bottom
margin will set the current line to the top margin of the next form.
Set Top and Bottom Margins ESC V n1 n2
Sets the top margin to line n1 and the bottom margin to line n2 at the current line
spacing. 0≥n1≥255, 0≥n2≥255. If line spacing is changed after setting the margins,
the position of the margins will not change. Vertical margins are cleared by ESC FF
n.
The top and bottom margins are both inclusive. For example, a top margin at line 6
still allows text to be printed on line 6, but not on line 5. A bottom margin at line 59
still allows text to be printed on line 59, but not on line 60.
The first line is line zero. The top margin must be above the bottom margin. The
bottom margin must be below the top margin. The margins cannot exceed the form
length. Invalid margins will be ignored. Overrides the "Top Mar:" and "Btm Mar:"
values in the "Setup: FORM" menu.
Example: The following escape sequence will set a top margin at line 6, and will set
a bottom margin at line 59. For a standard 11 inch form with 6 lpi line spacing, this
would result in one inch top and bottom margins.
Escape Sequence: ESC V 6 59
Hexadecimal: 1B 56 06 3B