Oki ML591 MICROLINE Reference Manual - Page 123

Vertical Control Commands, Set Length Commands

Page 123 highlights

Chapter 9: Vertical Control Commands This chapter describes the commands for vertical control including the following: • Page Length Commands • Form Feed Command • Line Feed Commands • Line Spacing Commands • Vertical Position Commands • Top of Form Commands • Top & Bottom Margin Command • Skip Over Perforation Commands • Vertical Tab Commands Set Page Length Commands Set Page Length in Inches Command (IBM/E/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 Page Length in Inches IBM ASCII: ESC C NUL n Dec: 27 67 0 n Hex: 1B 43 00 n Epson ASCII: ESC C NUL n Dec: 27 67 0 n Hex: 1B 43 00 n ML ASCII: ESC G Hn Ln Dec: 27 71 Hn Ln Hex: 1B 47 Hn Ln This command sets the page length in 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 the page length command whenever you wish to change it temporarily. To set the page length in inches in either the IBM or Epson emulation, use the command ESC C NUL n. This sets the page length in increments of 1" times the value of the variable "n." The value of n can be from 1 to 22. To set the page length in inches in the MICROLINE Standard emulation, use the command ESC G Hn Ln. This sets the page length in increments of ½" x the value of the variables Hn Ln. Variables Hn Ln represent a 2-digit ASCII number ranging from 00 to 99. For lengths of less than 4½", use a zero for Hn. For example, to set a page length of 14 inches, enter the BASIC statement LPRINT CHR$(27);"G";"28" Set Page Length in Lines Command (IBM/E/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 Page Length in Lines IBM ASCII: ESC C n Dec: 27 67 n Hex: 1B 43 n Epson ASCII: ESC C n Dec: 27 67 n Hex: 1B 43 n ML ASCII: ESC F Hn Ln Dec: 27 70 Hn Ln Hex: 1B 46 Hn Ln You can set the page length in either inches or lines. 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 the page length command whenever you wish to change it temporarily. To set the page length by lines in either the IBM or Epson emulation, use the command ESC C Chapter 9: Vertical Control Commands 85

  • 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
85
Chapter 9: Vertical Control Commands
This chapter describes the commands for vertical control including the following:
Page Length Commands
Form Feed Command
Line Feed Commands
Line Spacing Commands
Vertical Tab Commands
Vertical Position Commands
Top of Form Commands
Top & Bottom Margin Command
Skip Over Perforation Commands
Set Page Length Commands
Set Page Length in Inches Command (IBM/E/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
Epson
ML
Set Page Length
in Inches
ASCII: ESC C NUL n
Dec: 27 67 0 n
Hex: 1B 43 00 n
ASCII: ESC C NUL n
Dec: 27 67 0 n
Hex: 1B 43 00 n
ASCII: ESC G H
n
L
n
Dec: 27 71 H
n
L
n
Hex: 1B 47 H
n
L
n
This command sets the page length in 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 the
page length command whenever you wish to change it temporarily.
To set the page length in inches in either the IBM or Epson emulation, use the command ESC C
NUL n. This sets the page length in increments of 1" times the value of the variable "n." The
value of n can be from 1 to 22.
To set the page length in inches in the MICROLINE Standard emulation, use the command ESC
G Hn Ln. This sets the page length in increments of ½
" x the value of the variables Hn Ln.
Variables Hn Ln represent a 2-digit ASCII number ranging from 00 to 99. For lengths of less
than 4½
", use a zero for Hn. For example, to set a page length of 14 inches, enter the BASIC
statement
LPRINT CHR$(27);"G";"28"
Set Page Length in Lines Command (IBM/E/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
Epson
ML
Set Page Length in Lines
ASCII: ESC C n
Dec: 27 67 n
Hex: 1B 43 n
ASCII: ESC C n
Dec: 27 67 n
Hex: 1B 43 n
ASCII: ESC F H
n
L
n
Dec: 27 70 H
n
L
n
Hex: 1B 46 H
n
L
n
You can set the page length in either inches or lines. 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 the
page length command whenever you wish to change it temporarily.
To set the page length by lines in either the IBM or Epson emulation, use the command ESC C