Oki ML591 MICROLINE Reference Manual - Page 135

Vertical Control Commands, Function, ASCII, Parameters L, and H, Forward, Reverse

Page 135 highlights

Function ASCII Set Relative Vertical ESC ( v Ln Hn Lp Hp Print Position Dec 27 40 118 Ln Hn Lp Hp Hex 1B 28 76 Ln Hn Lp Hp This command lets you move the print position very precisely either upward (up to 0.5-inch) or downward (up to 46.2 inches) from the current print position, in increments established by the Set Unit command (see Chapter 12). Parameters Ln and Hn Normally Ln is set to 2 and Hn is set to 0. Parameters Lp and Hp These parameters can have a value of 0 to 255 and are used to set the actual amount of vertical movement, using the following equation: [Lp + (Hp x 256)] x increment set by ESC ( U Ln Hn Pn command For reverse (upward) movement, set bit 6 of Hp to 1. For forward (downward) movement, set bit 6 of Hp to 0. 1/360" Forward Reverse Table 67: Epson ESC ( v Command - Hexadecimal Values for Lp Hp 1/180" 0001-3FFF 7F40-7FFF 1/120" 0001-207F 7FA7-7FFF 1/90" 0001-15AA 7FC5-7FFF 1/72" 0001-103F 7FD4-7FFF 1/60" 0001-0CFF 7FDD-7FFF 0001-0AD5 7FE3-7FFF Notes: If the reverse line feed value exceeds the Top of Form position or the top margin, the print position will start at the TOF or top margin position. If the forward line feed value exceeds the bottom margin, the print position will start at the top margin position on the following page. If Skip Over Perforation is set and the forward line feed value exceeds the skip over perforation area, the print position will start athe Top of Form position on the next page. Chapter 9: Vertical Control Commands 97

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180

Chapter 9: Vertical Control Commands
97
Function
ASCII
Dec
Hex
Set Relative Vertical
Print Position
ESC ( v L
n
H
n
L
p
H
p
27 40 118 L
n
H
n
L
p
H
p
1B 28 76 L
n
H
n
L
p
H
p
This command lets you move the print position very precisely either upward (up to 0.5-inch) or
downward (up to 46.2 inches) from the current print position, in increments established by the
Set Unit command (see Chapter 12).
Parameters L
n
and H
n
Normally L
n
is set to 2 and H
n
is set to 0.
Parameters L
p
and H
p
These parameters can have a value of 0 to 255 and are used to set the actual amount of vertical
movement, using the following equation:
[L
p
+ (H
p
x 256)] x increment set by ESC ( U L
n
H
n
P
n
command
For reverse (upward) movement, set bit 6 of H
p
to 1. For forward (downward) movement, set bit
6 of H
p
to 0.
Table 67: Epson ESC ( v Command —
Hexadecimal Values for L
p
H
p
1/360”
1/180”
1/120”
1/90”
1/72”
1/60”
Forward
0001-3FFF
0001-207F
0001-15AA
0001-103F
0001-0CFF
0001-0AD5
Reverse
7F40-7FFF
7FA7-7FFF
7FC5-7FFF
7FD4-7FFF
7FDD-7FFF
7FE3-7FFF
Notes:
If the reverse line feed value exceeds the Top of Form position or the top margin, the
print position will start at the TOF or top margin position.
If the forward line feed value exceeds the bottom margin, the print position will start at
the top margin position on the following page. If Skip Over Perforation is set and the
forward line feed value exceeds the skip over perforation area, the print position will
start athe Top of Form position on the next page.