Oki ML591 MICROLINE Reference Manual - Page 117

Table 57: IBM/E/ML ESC DLE @ Command, Maximum P, Values for 9-Pin Models

Page 117 highlights

Table 57: IBM/E/ML ESC DLE @ Command - Maximum P1P2P3P4 Values for 9-Pin Models Pitch 10 cpi 12 cpi 15 17.1 20 cpi ML320 Turbo, ML520 1920 2304 2880 3291 3840 ML321 Turbo, ML521 3264 3916 4896 5595 6528 Table 58: IBM/E/ML ESC DLE @ Command - Maximum P1P2P3P4 Values for 24-Pin Models Print Quality Letter Quality Utility ML390 Turbo, ML590 2280 1920 ML391 Turbo, ML591 4896 3264 Set Relative Dot Position Command (IBM) ߜ ML320 Turbo, ML321 Turbo ߜ ML520, ML521 Function ASCII Dec Hex Set Relative Dot Position ESC | Ln Hn 27 124 Ln Hn 1B 7C 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 and underline characters don't print in the space between the two positions. 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, based on 120 dots per inch. If you want to move to the right, multiply the distance by 120 dpi, then divide the result by 256. Assign the whole number result to Hn and the remainder to Ln. For example, to move 3" to the right: (3 x 120)/256 = 1 with a remainder of 104, so Hn = 1 and Ln = 104. If you want to move to the left, multiply the distance you wish to move by 120 dpi, then subtract the result from 65536. Take that value and divide it by 256: assign the whole number result to Hn and the remainder to Ln. For example, to move 3" to the left: 3 x 120 = 360 65536 - 360 = 65176 65176/256 = 254 (Hn), with a remainder of 152 (Ln) Chapter 8: Horizontal Control Commands 79

  • 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
79
Table 57: IBM/E/ML ESC DLE @ Command —
Maximum P
1
P
2
P
3
P
4
Values for 9-Pin Models
Pitch
ML320 Turbo, ML520
ML321 Turbo, ML521
10 cpi
1920
3264
12 cpi
2304
3916
15
2880
4896
17.1
3291
5595
20 cpi
3840
6528
Table 58: IBM/E/ML ESC DLE @ Command —
Maximum P
1
P
2
P
3
P
4
Values for 24-Pin Models
Print Quality
ML390 Turbo, ML590
ML391 Turbo, ML591
Letter Quality
2280
4896
Utility
1920
3264
Set Relative Dot Position Command (IBM)
±
ML320 Turbo, ML321 Turbo
±
ML520, ML521
Function
ASCII
Dec
Hex
Set Relative Dot Position
ESC | L
n
H
n
27 124 L
n
H
n
1B 7C 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 and underline characters don’t print in the space between
the two positions.
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, based on 120 dots per inch.
If you want to move to the right, multiply the distance by 120 dpi, then divide the result by
256. Assign the whole number result to H
n
and the remainder to L
n
. For example, to move 3" to
the right: (3 x 120)/256 = 1 with a remainder of 104, so H
n
= 1 and L
n
= 104.
If you want to move to the left, multiply the distance you wish to move by 120 dpi, then
subtract the result from 65536. Take that value and divide it by 256: assign the whole number
result to H
n
and the remainder to L
n
. For example, to move 3" to the left:
3 x 120 = 360
65536 - 360 = 65176
65176/256 = 254 (H
n
),
with a remainder of 152 (L
n
)