Oki ML591 MICROLINE Reference Manual - Page 115

Table 54: IBM/ML ESC % B Command, Shift Increments for Left Margin Indents

Page 115 highlights

The distance of the shift depends on the pitch engaged: Table 54: IBM/ML ESC % B Command - Shift Increments for Left Margin Indents 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" Parameters n1 through n4 These parameters represent a four-digit ASCII number. If the value you wish to assign is less than four digits, use zeros for the first digit(s). The value is calculated relative to the home position which is 0001 in from the left margin. For example, suppose you wish to indent 1" from the left margin, using 12 cpi pitch. The print position will be indented 143/144" from the home position (1/144"), so the command to set it is: LPRINT CHR$(27);"%B";"0144" This command will be ignored if you set the print position outside either margin. Set Multiple Print Positions Command (IBM/E/ML) ߜ ML320 Turbo, ML321 Turbo ߜ ML520, ML521 ߜ ML390 Turbo, ML391 Turbo ߜ ML590, ML591 Function Set Multiple Print Positions Command IBM ASCII: ESC DLE @ Pn A1 A2 P1 P2 P3 P4 Dec: 27 16 64 Pn A1 A2 P1 P2 P3 P4 Hex: 1B 10 40 Pn A1 A2 P1 P2 P3 P4 Epson ASCII: ESC DLE @ Pn A1 A2 P1 P2 P3 P4 Dec: 27 16 64 Pn A1 A2 P1 P2 P3 P4 Hex: 1B 10 40 Pn A1 A2 P1 P2 P3 P4 ML ASCII: ESC DLE @ Pn a1 a2 P1 P2 P3 P4 Dec: 27 16 64 Pn a1 a2 P1 P2 P3 P4 Hex: 1B 10 40 Pn a1 a2 P1 P2 P3 P4 This command is used to move the print position either to the right or to the left, either as an absolute print position or a relative print position. Parameter Pn This parameter sets the number of parameter bytes to follow: value = 0 to 127 for ML320/321 Turbo & ML520/521 value = 0 to 255 for ML390/391 Turbo & ML590/591 Chapter 8: Horizontal Control Commands 77

  • 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
77
The distance of the shift depends on the pitch engaged:
Table 54: IBM/ML ESC % B Command —
Shift Increments for Left Margin Indents
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"
Parameters n
1
through n
4
These parameters represent a four-digit ASCII number. If the value you wish to assign is less
than four digits, use zeros for the first digit(s). The value is calculated relative to the home
position which is 0001 in from the left margin.
For example, suppose you wish to indent 1" from the left margin, using 12 cpi pitch. The print
position will be indented 143/144" from the home position (1/144"), so the command to set it
is:
LPRINT CHR$(27);"%B";"0144"
This command will be ignored if you set the print position outside either margin.
Set Multiple Print Positions Command (IBM/E/ML)
±
ML320 Turbo, ML321 Turbo
±
ML520, ML521
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
IBM
Epson
ML
Set Multiple
Print Positions
Command
ASCII: ESC DLE @ P
n
A
1
A
2
P
1
P
2
P
3
P
4
Dec: 27 16 64 P
n
A
1
A
2
P
1
P
2
P
3
P
4
Hex: 1B 10 40 P
n
A
1
A
2
P
1
P
2
P
3
P
4
ASCII: ESC DLE @ P
n
A
1
A
2
P
1
P
2
P
3
P
4
Dec: 27 16 64 P
n
A
1
A
2
P
1
P
2
P
3
P
4
Hex: 1B 10 40 P
n
A
1
A
2
P
1
P
2
P
3
P
4
ASCII: ESC DLE @ P
n
a
1
a
2
P
1
P
2
P
3
P
4
Dec: 27 16 64 P
n
a
1
a
2
P
1
P
2
P
3
P
4
Hex: 1B 10 40 P
n
a
1
a
2
P
1
P
2
P
3
P
4
This command is used to move the print position either to the right or to the left, either as an
absolute print position or a relative print position.
Parameter P
n
This parameter sets the number of parameter bytes to follow:
value = 0 to 127 for ML320/321 Turbo & ML520/521
value = 0 to 255 for ML390/391 Turbo & ML590/591