Epson LX-90 User Manual - IBM PC Jr. 8690 PIC for LX-90 - Page 34

CHAP 6- FORMATTING, Margins

Page 34 highlights

6 Chapter Page Formatting Although the LX-90 printer has many sophisticated commands to set margins, line spacing, and horizontal and vertical tabs, this chapter won't take up your time with extensive discussions of these because most are taken care of by applications programs. Instead, this chapter describes a few commands that the average user might need. For more information, see Appendixes B and C, where all the commands are listed and described. Margins The LX-90 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-90 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 . NEW 10 LPRINT CHR$(27)"1"CHR$(l0); 20 LPRINT CHR$(27)"Q"CHR$(60); 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. 29

  • 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

Chapter
6
Page Formatting
Although the LX-90 printer has many sophisticated commands to
set margins, line spacing, and horizontal and vertical tabs, this chap-
ter won’t take up your time with extensive discussions of these because
most are taken care of by applications programs. Instead, this chapter
describes a few commands that the average user might need. For more
information, see Appendixes B and C, where all the commands are
listed and described.
Margins
The LX-90 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-90 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 .
NEW
10 LPRINT CHR$(27)"1"CHR$(l0);
20 LPRINT CHR$(27)"Q"CHR$(60);
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.
29