Oki ML591 MICROLINE Reference Manual - Page 118

Set Relative Dot Position Command IBM, Horizontal Control Commands, Function, ASCII

Page 118 highlights

Set Relative Dot Position Command (IBM) ߜ ML390 Turbo, ML391 Turbo ߜ ML590, ML591 Function Set Relative Dot Position to Right Set Relative Dot Position to Left ASCII ESC d n1 n2 ESC e n1 n2 Dec 27 100 n1 n2 27 64 n1 n2 Hex 1B 101 n1 n2 1B 65 n1 n2 These commands move the printhead to the left or right of the current print position in increments of 1/120". The number of increments equals n1 + (n2 x 255). The maximum value is 1632. Set Relative Dot Position Command (Epson) ߜ ML320 E/I, ML321 E/I ߜ ML390 Turbo, ML391 Turbo ߜ ML520, ML521 ߜ ML590, ML591 Function ASCII Dec Hex Set Relative Dot Position ESC \ Ln Hn 27 92 Ln Hn 1B 5C Ln Hn This command lets you move the print position very precisely to either the right or the left of the current print position. Overscore characters don't print in the space between the two positions. For the ML390 Turbo and ML391 Turbo printers, this command will move in increments established by the Set Unit command (see Chapter 12). The default basic increment of movement in the LQ mode is 1/80"; in the Utility mode, 1/120". Parameters Ln and Hn These parameters set the amount and direction of the movement. To determine their value, first decide the distance you want to move the text or graphics, in dots, then multiply the distance by 120 dots per inch. Next, divide the result by 256 Assign the whole number result to Hn and the remainder to Ln. Set Absolute Dot Position Command (Epson) ߜ ML320 E/I, ML321 E/I ߜ ML320 Turbo, ML321 Turbo ߜ ML390 Turbo, ML391 Turbo ߜ ML520, ML521 ߜ ML590, ML591 Function Set Absolute Dot Position ASCII Dec Hex ESC $ Ln Hn 27 36 Ln Hn 1B 24 Ln Hn This command lets you place text or graphics very precisely on the page. It uses the left margin as a reference point, and moves the print position in 1/60" increments. Parameters Ln and Hn These variables determine the amount of movement. To calculate their values, multiply the distance you wish to move by 60, then divide the result by 256 and assign the whole number result to Hn and the remainder to Ln. For example: to move the print position over 2": 80 Chapter 8: Horizontal Control Commands

  • 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 8: Horizontal Control Commands
80
Set Relative Dot Position Command (IBM)
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
ASCII
Dec
Hex
Set Relative Dot Position to Right
ESC d n
1
n
2
27 100 n
1
n
2
1B 101 n
1
n
2
Set Relative Dot Position to Left
ESC e n
1
n
2
27 64 n
1
n
2
1B 65 n
1
n
2
These commands move the printhead to the left or right of the current print position in
increments
of 1/120". The number of increments equals n
1
+ (n
2
x 255). The maximum value is
1632.
Set Relative Dot Position Command (Epson)
±
ML320 E/I, ML321 E/I
±
ML520, ML521
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
ASCII
Dec
Hex
Set Relative Dot Position
ESC \ L
n
H
n
27 92 L
n
H
n
1B 5C L
n
H
n
This command lets you move the print position very precisely to either the right or the left of
the current print position. Overscore characters don’t print in the space between the two
positions.
For the ML390 Turbo and ML391 Turbo printers, this command will move in increments
established by the Set Unit command (see Chapter 12). The default basic increment of
movement in the LQ mode is 1/80"; in the Utility mode, 1/120".
Parameters L
n
and H
n
These parameters set the amount and direction of the movement. To determine their value, first
decide the distance you want to move the text or graphics, in dots, then multiply the distance
by 120 dots per inch. Next, divide the result by 256 Assign the whole number result to H
n
and
the remainder to L
n
.
Set Absolute Dot Position Command (Epson)
±
ML320 E/I, ML321 E/I
±
ML320 Turbo, ML321 Turbo
±
ML520, ML521
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
ASCII
Dec
Hex
Set Absolute Dot
Position
ESC $ L
n
H
n
27 36 L
n
H
n
1B 24 L
n
H
n
This command lets you place text or graphics very precisely on the page. It uses the left margin
as a reference point, and moves the print position in 1/60" increments.
Parameters L
n
and H
n
These variables determine the amount of movement. To calculate their values, multiply the
distance you wish to move by 60, then divide the result by 256 and assign the whole number
result to H
n
and the remainder to L
n
.
For example:
to move the print position over 2":