Epson LQ-1000 User Manual - Page 76

Formatting, Margins, LPRINT CHR$271CHR$l0

Page 76 highlights

If your keyboard does not have one of the keys that you need, you will have to send the proper ASCII number to the printer in another way, such as a programming language like BASIC. Page Formatting Although the LQ printer has many sophisticated commands to set margins, line spacing, horizontal and vertical tabs and character spacing, this section won't take up your time with extensive discussions of these because most are taken care of by applications programs. Instead, this section describes a few commands that the average user might need. For more information, see Appendix I, where all the commands are listed and described. Margins The LQ allows you to set the left and right margins with simple ESCape sequences. The left margin command is ESCape "1" followed by the number of the column you choose for the left margin. The right margin command is ESCape "Q" followed by the column number of the right margin you want. (For the left margin command, be sure to use a lowercase letter 1, not the numeral one.) If your word processing program does not allow you to change the margins, you can send margin commands to your LQ with BASIC or another programming language before you print your documents. For example, if you prefer wider margins than your word processing program gives you, run the following BASIC program before printing. This program gives you a left margin of 10 and a right margin of 70, but you can use any numbers you prefer for the margin commands. NEW 10 LPRINT CHR$(27)"1"CHR$(l0); 20 LPRINT CHR$(27)"Q"CHR$(70); A program like this also allows you to choose the margins you prefer for program listings. Just remember that once you run a program that sets margins, those margins are in effect until you change them with new margin commands or turn off or reset the printer. 5-18

  • 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
  • 181
  • 182
  • 183
  • 184
  • 185

If your keyboard does not have one of the keys that you need, you
will have to send the proper ASCII number to the printer in another
way, such as a programming language like BASIC.
Page Formatting
Although the LQ printer has many sophisticated commands to set
margins, line spacing, horizontal and vertical tabs and character spac-
ing, this section won’t take up your time with extensive discussions of
these because most are taken care of by applications programs.
Instead, this section describes a few commands that the average user
might need. For more information, see Appendix I, where all the com-
mands are listed and described.
Margins
The LQ allows you to set the left and right margins with simple
ESCape sequences. The left margin command is ESCape “1” followed
by the number of the column you choose for the left margin. The right
margin command is ESCape “Q” followed by the column number of
the right margin you want. (For the left margin command, be sure to
use a lowercase letter 1, not the numeral one.)
If your word processing program does not allow you to change the
margins, you can send margin commands to your LQ with BASIC or
another programming language before you print your documents.
For example, if you prefer wider margins than your word processing
program gives you, run the following BASIC program before print-
ing. This program gives you a left margin of
10
and a right margin of
70, but you can use any numbers you prefer for the margin com-
mands.
NEW
10 LPRINT CHR$(27)"1"CHR$(l0);
20 LPRINT CHR$(27)"Q"CHR$(70);
A program like this also allows you to choose the margins you
prefer for program listings. Just remember that once you run a pro-
gram that sets margins, those margins are in effect until you change
them with new margin commands or turn off or reset the printer.
5-18