Oki ML591 MICROLINE Reference Manual - Page 116

Table 55: IBM/E/ML ESC DLE @ Command, Shift Increments for 9-Pin Models, Parameter a, Pitch

Page 116 highlights

Parameter a1 This parameter establishes whether the print position is absolute or relative: a1 = 0: Absolute print position a1 = 1: Relative print position Parameter a2 This parameter determines whether the movement will be to the left or right: a2 = 0: Move to right (forward) a2 = 1: Move to left (backward) Parameters P1 P2 P3 P4 These parameters represent a four-digit ASCII number for the value of the amount of movement to take place. If the value you wish to assign is less than four digits, use zeros for the first digit(s). The actual amount of movement depends on the pitch engaged: Table 55: IBM/E/ML ESC DLE @ Command - Shift Increments for 9-Pin Models Pitch 10 cpi 12 cpi 15 cpi 17.1 cpi 20 cpi Proportional Shift Increment 1/240" 1/288" 1/360" 1/411" 1/480" 1/240" for IBM & Epson, same as the corresponding value for each cpi for ML Std. Table 56: IBM/E/ML ESC DLE @ Command - Shift Increments for 24-Pin Models Print Quality Letter Quality Utility Shift Increment 1/360" 1/240" Suppose you have your pitch set at 20 cpi and want your ML 520 printer to move to a relative dot position (a1 = 1) 1" backwards (a2 = 1). From the table above, at 20 cpi your shift will be in increments of 1/480", so the value of P1P2P3P4 would be 0480. Send the BASIC statement LPRINT CHR$(27);CHR$(16);"@";"1";"1";"0480" The table below gives the maximum values which can be designated for P1P2P3P4 for each model printer, for each pitch, with the default margins engaged. Note: If you send a location value outside the set left or right margin, this command will be ignored. 78 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
78
Parameter a
1
This parameter establishes whether the print position is absolute or relative:
a
1
= 0: Absolute print position
a
1
= 1: Relative print position
Parameter a
2
This parameter determines whether the movement will be to the left or right:
a
2
= 0: Move to right (forward)
a
2
= 1: Move to left (backward)
Parameters P
1
P
2
P
3
P
4
These parameters represent a four-digit ASCII number for the value of the amount of movement
to take place. If the value you wish to assign is less than four digits, use zeros for the first
digit(s). The actual amount of movement depends on the pitch engaged:
Table 55: IBM/E/ML ESC DLE @ Command —
Shift Increments for 9-Pin Models
Pitch
Shift Increment
10 cpi
1/240"
12 cpi
1/288"
15 cpi
1/360"
17.1 cpi
1/411"
20 cpi
1/480"
Proportional
1/240" for IBM & Epson, same as the
corresponding value for each cpi for ML Std.
Table 56: IBM/E/ML ESC DLE @ Command —
Shift Increments for 24-Pin Models
Print Quality
Shift Increment
Letter Quality
1/360"
Utility
1/240"
Suppose you have your pitch set at 20 cpi and want your ML 520 printer to move to a relative
dot position (a
1
= 1) 1" backwards (a
2
= 1). From the table above, at 20 cpi your shift will be in
increments of 1/480", so the value of P
1
P
2
P
3
P
4
would be 0480. Send the BASIC statement
LPRINT CHR$(27);CHR$(16);"@";"1";"1";"0480"
The table below gives the maximum values which can be designated for P
1
P
2
P
3
P
4
for each
model printer, for each pitch, with the default margins engaged.
Note
:
If you send a location value outside the set left or right margin, this command will be
ignored.