Lexmark Dot Matrix Technical Reference - Page 86

Set Horizontal Tabs by Dot Columns, Pitch, Shift Increment, ESC HT CR, Indent from Left Margin

Page 86 highlights

Name Dec Hex Description ESC ETX ... 27 3 x1 y1 1B 03 x1 y1 Set Horizontal Tabs by Dot Columns CR z1 w1...x16 z1 w1...x16 Sets tab stops for up to 16 positions. The character y16 z16 y16 z16 w16 pitch determines the distance represented by the w16 13 0D 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/180 17.1 cpi 1/206 20 cpi 1/240 The values for x, y, z and w 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 HT CR ESC % B 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 9 13 1B 09 0D ESC HT CR Clears horizontal tabs set by character spacing. 27 37 66 n1 1B 25 42 n1 n2 n3 n4 n2 n3 n4 Indent from Left Margin 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.) 86 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

Section 5: OKI Microline Emulation Mode Printer Commands
86
ESC ETX ...
CR
27 3
x1 y1
z1 w1...x16
y16 z16
w16
13
1B 03
x1 y1
z1 w1...x16
y16 z16 w16
0D
Set Horizontal Tabs by Dot Columns
Sets tab stops for up to 16 positions. 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/180
17.1 cpi
1/206
20 cpi
1/240
The values for x, y, z and w 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 HT
CR
27 9 13
1B 09 0D
ESC HT CR
Clears horizontal tabs set by character spacing.
ESC % B
27 37 66
n1
n2 n3 n4
1B 25 42
n1
n2 n3 n4
Indent from Left Margin
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.)
Name
Dec
Hex
Description