Oki ML591 MICROLINE Reference Manual - Page 112

Table 51: ML ESC HT Command, Maximum Values for x, Set Tabs by Dot Columns Command ML

Page 112 highlights

Function Set Horizontal Tab by Characters ASCII ESC HT x1y1z1 ... x16y16z16 CR Dec 27 9 x1y1z1 ... x16y16z16 13 Hex 1B 09 x1y1z1 ... x16y16z16 0D This command can be used to set up to 16 horizontal tab stops at the intervals of your choice. The actual distance represented by the tab depends on the character pitch in effect when the printer receives the HT command. The tab information must be entered as three-digit ASCII numbers (xyz) separated by commas, and must be in ascending order. For tabs less than 100, enter a zero for the x and/or y digits as appropriate. For example, suppose you wish to set tabs at the 5th, 10th, 15th and 20th columns. The value for x1y1z1 would be 005; the value for x2y2z2 would be 010, etc. So, you would enter the BASIC statement LPRINT CHR$(27);CHR$(09);"005,010,015,020";CHR$(13) Here are the maximum values for xnynzn for each pitch and printer model: Table 51: ML ESC HT Command - Maximum Values for xnynzn Pitch 10 cpi 12 cpi 15 cpi* 17.1 cpi 20 cpi Maximum xyzw ML320 ML520 80 080 96 096 N/A 120 137 137 160 160 Maximum xyzw ML321 ML521 136 136 163 163 N/A 204 233 233 272 272 * 15 cpi applies only to ML520 and ML521. Set Tabs by Dot Columns Command (ML) ߜ ML320 Std., ML321 Std. ߜ ML320 Turbo, ML321 Turbo ߜ ML520, ML521 Function Set Horizontal Tab by Dot Columns ASCII ESC ETX x1y1z1w1 ... x16y16z16w16 CR Dec 27 3 x1y1z1w1 ... x16y16z16w16 13 Hex 1B 03 x1y1z1w1 ... x16y16z16w16 0D This command can be used to set up to 16 horizontal tab stops at the intervals of your choice. Setting tabs by dot columns gives you more precise control than setting tabs by character space. 74 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
74
Function
ASCII
Dec
Hex
Set Horizontal Tab
by Characters
ESC HT x
1
y
1
z
1
...
x
16
y
16
z
16
CR
27 9 x
1
y
1
z
1
...
x
16
y
16
z
16
13
1B 09 x
1
y
1
z
1
...
x
16
y
16
z
16
0D
This command can be used to set up to 16 horizontal tab stops at the intervals of your choice.
The actual distance represented by the tab depends on the character pitch in effect when the
printer receives the HT command.
The tab information must be entered as three-digit ASCII numbers (xyz) separated by commas,
and must be in ascending order. For tabs less than 100, enter a zero for the x and/or y digits as
appropriate.
For example, suppose you wish to set tabs at the 5th, 10th, 15th and 20th columns. The value
for x
1
y
1
z
1
would be 005; the value for x
2
y
2
z
2
would be 010, etc. So, you would enter the BASIC
statement
LPRINT CHR$(27);CHR$(09);"005,010,015,020";CHR$(13)
Here are the maximum values for x
n
y
n
z
n
for each pitch and printer model:
Table 51: ML ESC HT Command —
Maximum Values for x
n
y
n
z
n
Maximum xyzw
Maximum xyzw
Pitch
ML320
ML520
ML321
ML521
10 cpi
80
080
136
136
12 cpi
96
096
163
163
15 cpi*
N/A
120
N/A
204
17.1 cpi
137
137
233
233
20 cpi
160
160
272
272
* 15 cpi applies only to ML520 and ML521.
Set Tabs by Dot Columns Command (ML)
±
ML320 Std., ML321 Std.
±
ML320 Turbo, ML321 Turbo
±
ML520, ML521
Function
ASCII
Dec
Hex
Set Horizontal
Tab
by Dot Columns
ESC ETX x
1
y
1
z
1
w
1
...
x
16
y
16
z
16
w
16
CR
27 3 x
1
y
1
z
1
w
1
...
x
16
y
16
z
16
w
16
13
1B 03 x
1
y
1
z
1
w
1
...
x
16
y
16
z
16
w
16
0D
This command can be used to set up to 16 horizontal tab stops at the intervals of your choice.
Setting tabs by dot columns gives you more precise control than setting tabs by character
space.