Esc ( v, X 256)+ d – Compuprint MDP40B Programmer Manual User Manual
Page 20

A-18
The default unit is 1/360 inch. The new position is measured in defined units from the
current top-margin position. Moving the print position below the bottom-margin
position moves the vertical print position to the top-margin position on the next page
ejects a cut sheet, if loaded.
The printer ignores this command if the command would move the print position more
than 179/360 inch in the negative direction or if the command would move the print
position in the negative direction after a graphics command is sent on the current line
or above the point where graphics have previously been printed.
ESC ( v
Sets relative vertical print position. (EPSON ESC/P2)
ASCII Code
ESC ( v n
1
n
2
d
1
d
2
Hexadecimal Value 1B 28 76 n
1
n
2
d
1
d
2
Decimal Value
27 40 118 n
1
n
2
d
1
d
2
Range
n
1
= 2
n
2
= 0
0 < d
1
< 255
0 < d
2
< 127
This command moves the vertical print position up or down from the current position,
as specified by the following formula
Vertical position = (d
2
x 256)+d
1
) x (defined unit) + (current position)
For positive (down) movement: