Oki ML591 MICROLINE Reference Manual - Page 108

Table 44: IBM ESC X Command, Default Settings for Right Margin, Left and Right Margin Commands Epson

Page 108 highlights

Parameter m Parameter m sets the right margin and can be any value from 0 to 255. Note: Be sure to specify a right margin that is at least one more than the left margin. The only time you should use a value of 0 for the right margin is if you don't want to change the value for the right margin when you are changing the value for the left margin. The default settings for the right margin are specified in the table below. Table 44: IBM ESC X Command - Default Settings for Right Margin Pitch 10 cpi/proportional 12 cpi 15 cpi 17.1 cpi 20 cpi Narrow Carriage Models 80 96 120 137 160 Wide Carriage Models 136 163 204 233 255 Left and Right Margin Commands (Epson) ߜ ML320 E/I, ML321 E/I ߜ ML320 Turbo, ML321 Turbo ߜ ML390 Turbo, ML391 Turbo ߜ ML520, ML521 ߜ ML590, ML591 Function Set Left Margin Set Right Margin ASCII ESC l n ESC Q n Dec 27 108 n 27 81 n Hex 1B 6C n 1B 51 n These commands set the margins by character columns. The actual position of the margin depends on the current pitch: a margin of 10 columns will come out as one inch in 10 cpi and one-half inch in 20 cpi. If the current pitch is proportional, the margin is set as though it were 10 cpi. However, once you've set a margin, its absolute position remains the same, even if you change the pitch, until you specifically reset the margin. This saves you the work of adjusting margins with every pitch change in your document. Sending the left margin command will cancel any horizontal tab stops you may have set, returning the printer to its default setting (tab stops every eight columns). You should always send margin commands at the beginning of a line. 70 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
70
Parameter m
Parameter m sets the right margin and can be any value from 0 to 255
.
Note:
Be sure to specify a right margin that is at least one more than the left margin. The only
time you should use a value of 0 for the right margin is if you don't want to change the
value for the right margin when you are changing the value for the left margin.
The default settings for the right margin are specified in the table below.
Table 44: IBM ESC X Command —
Default Settings for Right Margin
Pitch
Narrow Carriage Models
Wide Carriage Models
10 cpi/proportional
80
136
12 cpi
96
163
15 cpi
120
204
17.1 cpi
137
233
20 cpi
160
255
Left and Right Margin Commands (Epson)
±
ML320 E/I, ML321 E/I
±
ML320 Turbo, ML321 Turbo
±
ML520, ML521
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
ASCII
Dec
Hex
Set Left Margin
ESC l n
27 108 n
1B 6C n
Set Right Margin
ESC Q n
27 81 n
1B 51 n
These commands set the margins by character columns. The actual position of the margin
depends on the current pitch: a margin of 10 columns will come out as one inch in 10 cpi and
one-half inch in 20 cpi. If the current pitch is proportional, the margin is set as though it were
10 cpi. However, once you've set a margin, its absolute position remains the same, even if you
change the pitch, until you specifically reset the margin. This saves you the work of adjusting
margins with every pitch change in your document.
Sending the left margin command will cancel any horizontal tab stops you may have set,
returning the printer to its default setting (tab stops every eight columns).
You should always send margin commands at the beginning of a line.