Lexmark Forms Printer 2491 Technical Reference - Page 87

Set Multiple Print Positions, Pitch, Shift Increment, Move to the Left, Begin Uni-directional Printing

Page 87 highlights

Name Dec Hex Description ESC DLE @ 27 16 64 pN 1B 10 40 pN Set Multiple Print Positions a1 a2 p1 p2 a1 a2 p1 p2 Moves the print position to the right or left, as an p3 p4 p3 p4 absolute or relative print position. pN=0 to 127 a1=0 (absolute print position) a1=1 (relative print position) a2=0 (move to the left (backward)) a2=1 (move to the right (forward)) The character pitch determines the distance represented by the tab (distance from the center of one dot to the center of the next dot). Pitch Shift Increment 10 cpi 1/120 12 cpi 1/144 15 cpi 1/360 17.1 cpi 1/411 20 cpi 1/480 The values for p1, p2, p3 and p4 must be entered as four-digit ASCII numbers (use leading zeros if necessary), separated by commas, and in ascending order. To calculate the value, multiply the position for which you want to set a tab by the pitch increment of shift, and then subtract one from the product. For example, to set a tab for 2" from the left margin using 12 cpi pitch, multiply 2 by 144, and then subtract 1. The value would be 0287. ESC % F ESC % E ESC ESC = Maximum values are as follows: Pitch 2480 2481 10 cpi 959 1631 12 cpi 1151 1956 15 cpi 1339 2447 17.1 cpi 1643 2795 20 cpi 1917 3261 27 37 70 n1 1B 25 46 n1 n2 n3 n4 n2 n3 n4 Move to the Left See the command ESC ETX ... CR on page 86 for instructions on calculating the value for n1...n4. (Use the same pitch increment of shift values as the ESC ETX ... CR command.) 27 37 69 n1 1B 25 45 n1 n2 n3 n4 n2 n3 n4 Move to the Right See the command ESC ETX ... CR on page 86 for instructions on calculating the value for n1...n4. (Use the same pitch increment of shift values as the ESC ETX ... CR command.) 27 45 1B 2D Begin Uni-directional Printing 27 61 1B 3D End Uni-directional Printing 87 Section 5: OKI Microline Emulation Mode Printer 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
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227

87
Section 5: OKI Microline Emulation Mode Printer Commands
ESC DLE @ 27 16 64
pN
a1 a2 p1 p2
p3 p4
1B 10 40
pN
a1 a2 p1 p2
p3 p4
Set Multiple Print Positions
Moves the print position to the right or left, as an
absolute or relative print position.
pN
=0 to 127
a1
=0 (absolute print position)
a1
=1 (relative print position)
a2
=0 (move to the left (backward))
a2
=1 (move to the right (forward))
The character pitch determines the distance
represented by the tab (distance from the center of
one dot to the center of the next dot).
Pitch
Shift Increment
10 cpi
1/120
12 cpi
1/144
15 cpi
1/360
17.1 cpi
1/411
20 cpi
1/480
The values for
p1, p2, p3
and
p4
must be entered as
four-digit ASCII numbers (use leading zeros if
necessary), separated by commas, and in
ascending order.
To calculate the value, multiply the position for
which you want to set a tab by the pitch increment
of shift, and then subtract one from the product.
For example, to set a tab for 2" from the left margin
using 12 cpi pitch, multiply 2 by 144, and then
subtract 1. The value would be 0287.
Maximum values are as follows:
Pitch
2480
2481
10 cpi
959
1631
12 cpi
1151
1956
15 cpi
1339
2447
17.1 cpi
1643
2795
20 cpi
1917
3261
ESC % F
27 37 70
n1
n2 n3 n4
1B 25 46
n1
n2 n3 n4
Move to the Left
See the command ESC ETX ... CR on page 86 for
instructions on calculating the value for
n1...n4
.
(Use the same pitch increment of shift values as the
ESC ETX ... CR command.)
ESC % E
27 37 69
n1
n2 n3 n4
1B 25 45
n1
n2 n3 n4
Move to the Right
See the command ESC ETX ... CR on page 86 for
instructions on calculating the value for
n1...n4
.
(Use the same pitch increment of shift values as the
ESC ETX ... CR command.)
ESC -
27 45
1B 2D
Begin Uni-directional Printing
ESC =
27 61
1B 3D
End Uni-directional Printing
Name
Dec
Hex
Description