Epson LX-86 User Manual - Page 39

Pica Printing, Basic, For X=65 To 105, Lprint Chr$x, Next X: Lprint

Page 39 highlights

If you don't want to do the exercises in BASIC, you don't have to. Many users are quite happy with their printers without ever learning any more about them than how to turn them on and off and how to load paper. Therefore, you shouldn't be intimidated by the information in this manual. In most cases the software that you use for word processing, business, or graphics does the calculating and communicating with the printer for you. In fact, because of Epson's long-standing popularity, many programs are designed to use Epson printers quite easily. Often all you need to do is specify in an installation program that you are using an Epson printer. Then the program sends the correct codes for the various printing functions. The installation process, if there is one, is explained in the manual for your software program. We have designed these chapters so that you can concentrate on using the features of the LX-86 instead of on programming, but a few instructions are necessary. Because the examples in this manual are in Microsoft BASIC (MBASIC), one of the most widely used types of BASIC in personal computers, most users can enter and run the programs exactly as they appear in these pages. If your computer system uses any other kind of BASIC, you may have to make a few changes. Probably the only item you will need to change is the instruction LPRINT, which is the MBASIC command to send something to the printer. Some forms of BASIC use PR#l at the beginning of a program to route information to the printer and PR#O at the end to restore the flow of information to the screen. If you have such a system, just put PR#l at the beginning of your program and then use PRINT instead of LPRINT in the programs. If you have any other system, consult its manual to see if any modifications to our programs are necessary. In Chapter 3 you saw the enlargements of the three LX-86 pitches. Now you'll learn how to produce them. Pica Printing The first exercise is a simple three-line program to print a sample line of characters in pica, the standard pitch. Just type in this program exactly as you see it: 40 FOR X=65 TO 105 50 LPRINT CHR$(X); 60 NEXT X: LPRINT 34

  • 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

If you don’t want to do the exercises in
BASIC,
you don’t have to.
Many users are quite happy with their printers without ever learning
any more about them than how to turn them on and off and how to
load paper. Therefore, you shouldn’t be intimidated by the informa-
tion in this manual. In most cases the software that you use for word
processing, business, or graphics does the calculating and communi-
cating with the printer for you.
In fact, because of Epson’s long-standing popularity, many prog-
rams are designed to use Epson printers quite easily. Often all you
need to do is specify in an installation program that you are using an
Epson printer. Then the program sends the correct codes for the
various printing functions. The installation process, if there is one, is
explained in the manual for your software program.
We have designed these chapters so that you can concentrate on
using the features of the LX-86 instead of on programming, but
a few instructions are necessary. Because the examples in this
manual are in Microsoft BASIC (MBASIC), one of the most widely
used types of BASIC in personal computers, most users can enter
and run the programs exactly as they appear in these pages.
If your computer system uses any other kind of BASIC, you may
have to make a few changes. Probably the only item you will need to
change is the instruction LPRINT, which is the MBASIC command
to send something to the printer. Some forms of BASIC use PR#l at
the beginning of a program to route information to the printer and
PR#O
at the end to restore the flow of information to the screen. If
you have such a system, just put
PR#l
at the beginning of your
program and then use PRINT instead of LPRINT in the programs. If
you have any other system, consult its manual to see if any modifica-
tions to our programs are necessary.
In Chapter 3 you saw the enlargements of the three LX-86 pitches.
Now you’ll learn how to produce them.
Pica Printing
The first exercise is a simple three-line program to print a sample
line of characters in pica, the standard pitch. Just type in this program
exactly as you see it:
40
FOR X=65 TO 105
50 LPRINT CHR$(X);
60 NEXT X: LPRINT
34