Specifications

Revision C 16/01/96
Chapter 4 "Diablo 630" - 7
Set vertical motion index (VMI)
EscRSn (27)(30)n <1Bh><1Eh>n
This command sets the unit of vertical movement - the vertical motion index or VMI. The VMI is
the vertical distance the print position moves on the page when a line feed is performed. The setting
determines the distance the print position moves when vertical tab commands are invoked.
The VMI is set to be (n–1)/48".
Line feed and reverse line feed operations cause the print position to move vertically a distance equal
to the VMI.
If you change the VMI the number of lines per page is automatically changed as well, so as to
maintain the current page length.
LPRINT CHR$(27); CHR$(30); CHR$(9); 'Set 1/6" VMI
Space
SP (32) <20h>
The SP control code (ASCII code 32) moves the current print position one space to the right. One
space equals the current value of the HMI.
LPRINT CHR$(32); 'Print a space
Backspace
BS (08) <08h>
The BS control code (ASCII code 8) moves the current print position one space to the left. One space
equals the current value of the HMI.
LPRINT CHR$(8); 'Backspace
Backspace 1/120"
EscBS (27)(08)n <1Bh><08h>n
This command moves the print position 1/120" to the left.
If backward printing has been selected with Esc 6, this command moves the print position 1/120" to
the right.
This code can move the print position beyond the left and right margins, but not outside the printable
area.
LPRINT CHR$(27); CHR$(8); 'Backspace 1/120"