Oki ML591 MICROLINE Reference Manual - Page 113

Table 52: MML ESC ETX Command, Shift Increment for Character Pitches

Page 113 highlights

The distance represented by the tab (distance from the center of one dot to the center of the next dot) depends on the character pitch in effect when the printer receives the HT command, as follows: Table 52: MML ESC ETX Command - Shift Increment for Character Pitches Pitch 10 cpi 12 cpi 15 cpi* 17.1 cpi 20 cpi Proportional Increment of Shift 1/120" 1/144" 1/180" 1/206" 1/240" 1/120" * 15 cpi applies only to ML520 and ML521. The tab information must be entered as four-digit ASCII numbers separated by commas, and must be in ascending order. For tab values less than 1000, enter a zero for the x, y and/or z digits as appropriate. For example, suppose you want to set tabs by dot columns at 1/2", 2", 4", and 6" from the left margin, using 12 cpi pitch. From the table above, at 12 cpi pitch, each dot produces a shift of 1/144". So, to move over 1/2" from the home position (0001, or 1/144"), the value would be 0071 ([1/2 x 144 dpi] - 1); for 2", the value would be 0287; for 4", 0575; and for 6", 0863. To set these tabs enter the BASIC statement LPRINT CHR$(27);CHR$(3);"0071,0287,0575,0863";CHR$(13) Here are the maximum values for xnynznwn for each pitch and printer model: Table 53: ML ESC ETX Command - XYZW Values for Setting Horizontal Tabs Pitch 10 cpi 12 cpi 15 cpi* 17.1 cpi 20 cpi Maximum xyzw ML320 ML520 0959 0960 1151 1152 N/A 1440 1643 1644 1917 1920 Maximum xyzw ML321 ML521 1631 1632 1956 1956 N/A 2448 2795 2796 3261 3264 * 15 cpi applies only to ML520 and ML521. Note: Using the maximum value for the xnynznwn tab setting may not leave enough room between the tab stop and the right margin for a full character to print. Chapter 8: Horizontal Control Commands 75

  • 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
75
The distance represented by the tab (distance from the center of one dot to the center of the
next dot) depends on the character pitch in effect when the printer receives the HT command,
as follows:
Table 52: MML ESC ETX Command —
Shift Increment for Character Pitches
Pitch
Increment of Shift
10 cpi
1/120"
12 cpi
1/144"
15 cpi*
1/180"
17.1 cpi
1/206"
20 cpi
1/240"
Proportional
1/120"
* 15 cpi applies only to ML520 and ML521.
The tab information must be entered as four-digit ASCII numbers separated by commas, and
must be in ascending order. For tab values less than 1000, enter a zero for the x, y and/or z
digits as appropriate.
For example, suppose you want to set tabs by dot columns at 1/2", 2", 4", and 6" from the left
margin, using 12 cpi pitch. From the table above, at 12 cpi pitch, each dot produces a shift of
1/144". So, to move over 1/2" from the home position (0001, or 1/144"), the value would be
0071 ([1/2 x 144 dpi] - 1); for 2", the value would be 0287; for 4", 0575; and for 6", 0863. To
set these tabs enter the BASIC statement
LPRINT CHR$(27);CHR$(3);"0071,0287,0575,0863";CHR$(13)
Here are the maximum values for x
n
y
n
z
n
w
n
for each pitch and printer model:
Table 53: ML ESC ETX Command —
XYZW Values for Setting Horizontal Tabs
Maximum xyzw
Maximum xyzw
Pitch
ML320
ML520
ML321
ML521
10 cpi
0959
0960
1631
1632
12 cpi
1151
1152
1956
1956
15 cpi*
N/A
1440
N/A
2448
17.1 cpi
1643
1644
2795
2796
20 cpi
1917
1920
3261
3264
* 15 cpi applies only to ML520 and ML521.
Note
:
Using the maximum value for the x
n
y
n
z
n
w
n
tab setting may not leave enough room
between the tab stop and the right margin for a full character to print.