![background image](http://html1.mh-extra.com/html/okidata/ol400e-series/ol400e-series_application-note_3683512013.webp)
Set top margin
ASCII: ESC & l # E Dec: 27 38
108 # 69
#=number of lines
Set left margin
ASCII: ESC & a # L Dec: 27 38
97 # 76
#=number of columns
Set right margin
ASCII: ESC & a # M Dec: 27
38 97 # 77
#=number of columns
Clear left and right margins
ASCII: ESC 9 Dec: 27 57
Set line spacing in lines per
inch(lpi)
ASCII: ESC & l # D Dec: 27 38
108 # 68
#=lines per inch (lpi): must be
1, 2, 3, 4, 6 (default), 8, 12, 16,
24, or 48
Set text length
ASCII: ESC & l # F Dec: 27 38
108 # 70
#=number of lines
Horizontal tab
ASCII HT Dec: 9
Set horizontal motion index
(HMI)
ASCII: ESC & k # H Dec: 27
38 107 # 72
set in increments
Set horizontal cursor position
(decipoints)
ASCII: ESC & a # H Dec: 27
38 97 # 72
set in increments
Set horizontal cursor position
(dots)
ASCII: ESC * p # X Dec: 27 42
112 # 88
set in increments
Set vertical motion index (VMI) ASCII: ESC & l # C Dec: 27 38
108 # 67
set in increments: 0 # 126
Move cursor vertically to line
indicated (VMI unit)
ASCII: ESC & a # R Dec: 27
38 97 # 82
#=number of lines: if value of #
is negative, movement is
relative to current cursor
position; if value of # is
positive, movement is
absolute.
OL400e/410e Feature
Command
Notes
Specify vertical cursor position
(decipoints)
ASCII: ESC & a # V Dec: 27
28 38 97 # 86
set in increments: if value of #
is negative, position is upward,
relative to current cursor
position; if value of # is
positive, position is downward,
relative to current cursor
position.
Specify vertical cursor position
(dots)
ASCII: ESC * p # Y Dec: 27 42
122 # 89
set in increments: if value of #
is negative, movement is up; if
value of # is positive,
movement is down.
Move to indicated column
ASCII: ESC & a # C Dec: 27
38 97 # 67
#=number of column
Push (save) cursor position
ASCII: ESC & f 0 S Dec: 27 38
102 48 83