Oki ML591 MICROLINE Reference Manual - Page 136

Top of Form Commands IBM/ML, Set Format Command Epson

Page 136 highlights

Set Absolute Vertical Position Command (Epson) ߜ ML390 Turbo, ML391 Turbo Function Set Absolute Vertical Print Position ASCII Dec Hex ESC ( V Ln Hn Lp Hp 27 40 86 Ln Hn Lp Hp 1B 28 56 Ln Hn Lp Hp This command lets you place text or graphics very precisely on the page. It uses the top margin as a reference point, and moves the print position in increments established by the Set Unit command (see Chapter 12). Parameters Ln and Hn Normally Ln is set to 2 and Hn is set to 0. Parameters Lp and Hp These parameters are used to set the actual amount of vertical movement, using the following equation: [Lp + (Hp x 256)] x increment set by ESC ( U Ln Hn Pn command Top of Form Commands (IBM/ML) ߜ ML320 E/I, ML321 E/I ߜ ML320 Std., ML321 Std. ߜ ML320 Turbo, ML321 Turbo ߜ ML390 Turbo, ML391 Turbo ߜ ML520, ML521 ߜ ML590, ML591 Function Set Top of Form IBM ASCII: ESC 4 Dec: 27 52 Hex: 1B 34 ML ASCII: ESC 5 Dec: 27 53 Hex: 1B 35 When you send these commands, a new top of form is set at the current position of the printhead. In both emulations, you can also set a new top of form using the front panel (see "Top of Form" in the index of your printer manual). Set Page Format Command (Epson) ߜ ML390 Turbo, ML391 Turbo Function Set Top & Bottom Margins ASCII ESC ( c 2 0 Lt Ht Lb Hb Dec 27 40 99 50 48 Lt Ht Lb Hb Hex 1B 28 63 32 30 Lt Ht Lb Hb This command is used to set the top and bottom margins as a multiple of the line spacing increment established by the Set Unit command (see Chapter 12).. Parameters Lt and Ht Parameters Lt and Ht are used to set the top margin, as a mutliple of whatever line spacing is engaged: Top margin = [Lt + (Ht x 256)] x line spacing increment engaged 98 Chapter 9: Vertical 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 9: Vertical Control Commands
98
Set Absolute Vertical Position Command (Epson)
±
ML390 Turbo, ML391 Turbo
Function
ASCII
Dec
Hex
Set Absolute
Vertical
Print Position
ESC ( V L
n
H
n
L
p
H
p
27 40 86 L
n
H
n
L
p
H
p
1B 28 56 L
n
H
n
L
p
H
p
This command lets you place text or graphics very precisely on the page. It uses the top margin
as a reference point, and moves the print position in increments established by the Set Unit
command (see Chapter 12).
Parameters L
n
and H
n
Normally L
n
is set to 2 and H
n
is set to 0.
Parameters L
p
and H
p
These parameters are used to set the actual amount of vertical movement, using the following
equation:
[L
p
+ (H
p
x 256)] x increment set by ESC ( U L
n
H
n
P
n
command
Top of Form Commands (IBM/ML)
±
ML320 E/I, ML321 E/I
±
ML320 Turbo, ML321 Turbo
±
ML520, ML521
±
ML320 Std., ML321 Std.
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
IBM
ML
Set Top of Form
ASCII: ESC 4
Dec: 27 52
Hex: 1B 34
ASCII: ESC 5
Dec: 27 53
Hex: 1B 35
When you send these commands, a new top of form is set at the current position of the
printhead. In both emulations, you can also set a new top of form using the front panel (see
"Top of Form" in the index of your printer manual).
Set Page Format Command (Epson)
±
ML390 Turbo, ML391 Turbo
Function
ASCII
Dec
Hex
Set Top & Bottom Margins
ESC ( c 2 0 L
t
H
t
L
b
H
b
27 40 99 50 48
L
t
H
t
L
b
H
b
1B 28 63 32 30
L
t
H
t
L
b
H
b
This command is used to set the top and bottom margins as a multiple of the line spacing
increment established by the Set Unit command (see Chapter 12)..
Parameters L
t
and H
t
Parameters L
t
and H
t
are used to set the top margin, as a mutliple of whatever line spacing is
engaged:
Top margin = [L
t
+ (H
t
x 256)] x line spacing increment engaged