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

Cancelling Codes, Resetting the Printer, PRINT CHR$18

Page 25 highlights

Now run the program to see the line printed in compressed mode. ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'abcdefghi Cancelling Codes As you saw in the third version of the print pitch program, you must cancel a code when you don't want it any more. With very few exceptions, the LX-90 modes stay on until they are cancelled. It is important to remember this because an LX-90 mode can stay on even if you change from BASIC to another type of software. For example, if you run the program above and print a memo with a word processing program afterward, the memo is printed in compressed because the printer is still in compressed mode. To cancel compressed, use ASCII 18. In BASIC, you use this format: PRINT CHR$(18) To avoid having one program interfere with the printing modes of another, you can cancel a mode one of two ways: l With a specific cancelling code, such as the ESCape "I"' used above to cancel elite and the ASCII 18 to cancel compressed. Each mode has a cancelling code, which you can find in the discussion of the code and in Appendix B. Pica is an exception to this rule. To cancel pica, turn on elite or compressed. l By resetting the printer, a method explained in the next section. Resetting the Printer Resetting your LX-90 cancels all modes that are turned on. You can reset the printer with one of two methods: l Sending the reset code (Escape "@") l Turning the printer off and back on. Either one of these methods returns the printer to what are called its defaults, which are the standard settings that are in effect every time you turn the printer on. The two effects of resetting the printer that you should be concerned with are: it returns the printing to singlestrike pica, thus cancelling any other pitches or enhancements 22

  • 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

Now run the program to see the line printed in compressed mode.
ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'abcdefghi
Cancelling Codes
As you saw in the third version of the print pitch program, you
must cancel a code when you don’t want it any more. With very few
exceptions, the LX-90 modes stay on until they are cancelled. It is
important to remember this because
an
LX-90 mode can stay
on even
if
you change
from BASIC to another type of software. For example,
if you run the program above and print a memo with a word process-
ing program afterward, the memo is printed in compressed because
the printer is still in compressed mode. To cancel compressed, use
ASCII 18. In BASIC, you use this format:
PRINT CHR$(18)
To avoid having one program interfere with the printing modes of
another, you can cancel a mode one of two ways:
l
With a specific cancelling code, such as the ESCape “I”’ used above
to cancel elite and the ASCII 18 to cancel compressed. Each mode
has a cancelling code, which you can find in the discussion of the
code and in Appendix B. Pica is an exception to this rule. To cancel
pica, turn on elite or compressed.
l
By resetting the printer, a method explained in the next section.
Resetting the Printer
Resetting your LX-90 cancels all modes that are turned on. You can
reset the printer with one of two methods:
l
Sending the reset code (Escape “@“)
l
Turning the printer off and back on.
Either one of these methods returns the printer to what are called its
defaults, which are the standard settings that are in effect every time
you turn the printer on. The two effects of resetting the printer that
you should be concerned with are: it returns the printing to single-
strike pica, thus cancelling any other pitches or enhancements
22