Printek FormsMaster 8000se Series Horizontal Margins, Set Left and Right Margin, ESC H n1 n2

Models: PrintMaster 850 Series FormsPro 4000se Series FormsMaster 8000se Series

1 166
Download 166 pages 48.2 Kb
Page 107
Image 107
ESC H n1 n2

Printek Emulation

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 H 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 10 still allows a character to be printed in column 10. A right margin at column 75 allows a character to be printed in column 74, but not in column 75.

The leftmost column is column zero. 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 Margin” and “Right Margin” values in the forms 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

H

10

75

Hexadecimal:

1B

48

0A

4B

101

Page 107
Image 107
Printek FormsMaster 8000se Series, PrintMaster 850 Series manual Horizontal Margins, Set Left and Right Margin, ESC H n1 n2