Epson LX-90 User Manual - Apple IIc 8699 PIC for LX-90 - Page 38

Skip-Over-Perforation, Line Spacing, PRINT CHR$4;PR#1, PRINT CHR$27;N;CHR$6

Page 38 highlights

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. You should be aware that a few applications programs reset the printer before each document or file they print. These programs will, of course, cancel your new margin settings. If your program resets the printer, use the program's margin command. Skip-Over-Perforation If you are using continuous paper for printing program listings or other material not controlled by an applications program, you may find that the LX-90 prints right over the perforations between pages. The LX-90 has an ESCape code to prevent this: the ESCape "N" command. You send ESCape "N" followed by the number of lines you want the LX-90 to skip at the bottom of a page. For example, in BASIC the following program will make the LX-90 skip 6 lines after each 60 lines if your printer is set for 11-inch paper: 5 PRINT CHR$(4);"PR#1" 10 PRINT CHR$(27);"N";CHR$(6); 300 PRINT CHR$(4);"PR#0" Since an U-inch page is 66 lines, this will give you one inch of blank space at the bottom of each page. If you prefer to have half of the blank space at the top of the page and half at the bottom, simply set the top of page approximately three lines (½ inch) below the perforation. (See the section on paper loading in the LX-90 manual if you need to refresh your memory on setting the top of page.) Line Spacing Ordinarily you don't have to worry about how the printer moves the paper so that it doesn't print lines of text on top of each other; the LX-90 takes care of this without any special instructions. The line spacing on the LX-90, however, can be changed with an ESCape code. The movement of the paper between lines is called a line feed and the distance the paper moves is called a line space. In ordinary printing the line spacing is 1/6-inch, six lines of print per inch. 36

  • 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

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.
You should be aware that a few applications programs reset the
printer before each document or file they print. These programs will,
of course, cancel your new margin settings. If your program resets the
printer, use the program‘s margin command.
Skip-Over-Perforation
If you are using continuous paper for printing program listings or
other material not controlled by an applications program, you may
find that the LX-90 prints right over the perforations between pages.
The LX-90 has an ESCape code to prevent this: the ESCape "N" com-
mand. You send ESCape "N" followed by the number of lines you
want the LX-90 to skip at the bottom of a page. For example, in
BASIC the following program will make the LX-90 skip 6 lines after
each 60 lines if your printer is set for 11-inch paper:
5
PRINT CHR$(4);"PR#1"
10 PRINT CHR$(27);"N";CHR$(6);
300 PRINT CHR$(4);"PR#0"
Since an U-inch page is 66 lines, this will give you one inch of blank
space at the bottom of each page. If you prefer to have half of the
blank space at the top of the page and half at the bottom, simply set
the top of page approximately three lines (½ inch) below the perfora-
tion. (See the section on paper loading in the LX-90 manual if you
need to refresh your memory on setting the top of page.)
Line Spacing
Ordinarily you don’t have to worry about how the printer moves
the paper so that it doesn’t print lines of text on top of each other; the
LX-90 takes care of this without any special instructions. The line
spacing on the LX-90, however, can be changed with an ESCape code.
The movement of the paper between lines is called a
line
feed
and
the distance the paper moves is called a
line space.
In ordinary print-
ing the line spacing is 1/6-inch, six lines of print per inch.
36