Oki ML591 MICROLINE Reference Manual - Page 124

Set Length in Defined Unit Command Epson, Vertical Control Commands, Function, ASCII

Page 124 highlights

n. The page length will be the result of multiplying the line pitch by the value of the variable "n." In the IBM emulation, the value of n can be from 1 to 255; in the Epson emulation, it can be from 1 to 127. The actual page length will depend on the line spacing engaged. To set the page length by lines in the MICROLINE Standard emulation, use the command ESC F Hn Ln. The page length will be the result of multiplying the line pitch by the value of the variables Hn Ln. Variables Hn Ln represent a 2-digit ASCII number ranging from 00 to 99. For Hn Ln numbers less than 10, use a zero for Hn. For example, to set a page length of nine lines, enter the BASIC statement LPRINT CHR$(27);"H";"09" The actual page length will depend on the line pitch engaged. Set Page Length in Defined Unit Command (Epson) ߜ ML390 Turbo, ML391 Turbo Function Set Page Length in Defined Unit ASCII Dec Hex ESC ( C 2 0 Lp Hp 27 40 67 50 48 Lp Hp 1B 28 43 32 30 Lp Hp You can use this command to set the page length in multiples of the line spacing established by the Set Unit command (see Chapter 12). Parameters Lp and Hp Parameters Lp and Hp are used to designate the page length, as a mutliple of whatever line spacing is engaged: Page length = [Lp + (Hp x 256)] x line spacing increment engaged Lp and Hp can have any value from 0 to 255 decimal. You can set the page length over a range of from 0 to 22 inches. If you will most often be using one of the standard page lengths available through the printer menu (see "Menu Mode" in your printer manual), it's a good idea to use the printer menu to set the default page length and then use this command whenever you wish to change it temporarily. 86 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
86
n. The page length will be the result of multiplying the line pitch by the value of the variable
“n.” In the IBM emulation, the value of n can be from 1 to 255; in the Epson emulation, it can
be from 1 to 127. The actual page length will depend on the line spacing engaged.
To set the page length by lines in the MICROLINE Standard emulation, use the command ESC F
Hn Ln. The page length will be the result of multiplying the line pitch by the value of the
variables Hn Ln. Variables Hn Ln represent a 2-digit ASCII number ranging from 00 to 99. For
Hn Ln numbers less than 10, use a zero for Hn. For example, to set a page length of nine lines,
enter the BASIC statement
LPRINT CHR$(27);"H";"09"
The actual page length will depend on the line pitch engaged.
Set Page Length in Defined Unit Command (Epson)
±
ML390 Turbo, ML391 Turbo
Function
ASCII
Dec
Hex
Set Page Length
in Defined Unit
ESC ( C 2 0 L
p
H
p
27 40 67 50 48 L
p
H
p
1B 28 43 32 30 L
p
H
p
You can use this command to set the page length in multiples of the line spacing established by
the Set Unit command (see Chapter 12).
Parameters L
p
and H
p
Parameters L
p
and H
p
are used to designate the page length, as a mutliple of whatever line
spacing is engaged:
Page length = [L
p
+ (H
p
x 256)] x line spacing increment engaged
L
p
and H
p
can have any value from 0 to 255 decimal.
You can set the page length over a range of from 0 to 22 inches. If you will most often be using
one of the standard page lengths available through the printer menu (see “Menu Mode” in your
printer manual), it's a good idea to use the printer menu to set the default page length and then
use this command whenever you wish to change it temporarily.