Esc h, Esc i – Compuprint MDP40B Programmer Manual User Manual

Page 165

Advertising
background image

C-23

ESC H

Set absolute horizontal position. (Olivetti PR2, PR40+, 2845)

ASCII Code

ESC H n

Hexadecimal Value

1B 48 n

Decimal Value

27 72 n

Moves the current position, from wherever it is, to character position n of the current
line.

This position depends on the selected print pitch; the decimal value of n defines, as an
absolute value, the new current position with respect to the start of the line to which
the decimal value 1 is to be assigned.

If the value n moves the current position beyond the end of the line, it prints the
current line, executes a line feed and moves the current position to the start of the
new line.

If the value n moves the current position back with respect to the current value, it
prints without executing line feeds and moves the current position to the value
indicated.

The command opens a printing field. If parameter n is set to 0, it moves the current
position to 1.

ESC I

Set relative vertical position. (Olivetti PR2, PR40+, 2845)

ASCII Code

ESC I n

Hexadecimal Value

1B 49 n

Decimal Value

27 73 n

Prints the current line and feeds the form n line feeds; the actual value of this
movement depends on the selected vertical spacing. If the LF+CR feature has been
selected in the printer Set-Up, the printing position is set at the left margin.

Advertising