Epson LX-80 User Manual - Page 60

CHAP 7- FORMATTING, Margins

Page 60 highlights

Chapter 7 Page Formatting Although the LX-80 printer has many sophisticated commands to set margins, line spacing, and horizontal and vertical tabs, we won't take up your time with extensive discussions of these because most of these functions are taken care of by applications programs. This chapter merely describes a few commands that the average user might need. If you want more information, you can find all the commands in Appendixes B and C. Margins The LX-80 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 LX-80 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 60, but you can use any numbers you prefer for the margin commands. 10 L,PRINT CHR$( 27) "l"CHR$( 10) ; 20 LPRINT CHR$( 27 ) "Q"CHR$( 60 1 ; Such a program will also allow 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. 55

  • 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

Chapter 7
Page Formatting
Although the LX-80 printer has many sophisticated commands to
set margins, line spacing, and horizontal and vertical tabs, we won’t
take up your time with extensive discussions of these because most of
these functions are taken care of by applications programs. This chap-
ter merely describes a few commands that the average user might
need. If you want more information, you can find all the commands
in Appendixes B and C.
Margins
The LX-80 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 num-
ber 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 LX-80 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
60, but you can use any numbers you prefer for the margin com-
mands.
10
L,PRINT
CHR$(
27)
“l”CHR$(
10)
;
20
LPRINT
CHR$(
27
)
“Q”CHR$(
60
1
;
Such a program will also allow 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.
55