Epson LX-90 User Manual - Parallel 8620 PIC for LX-90 - Page 113

Applesoft BASIC Solutions, QX-10and QX-16Solutions, Graphics

Page 113 highlights

If the printer beeps and stops printing when it is not out of paper, turn the printer off and check to see if the paper is loaded correctly. If the paper is loaded correctly, turn the printer back on and try to print again. If the printer beeps and does not print again, take it to a qualified service person. Applesoft BASIC Solutions Applesoft BASIC does not use PRINT to send data to the screen and LPRINT to send data to the printer as Microsoft BASIC does. Therefore, you need to change the programs in this manual somewhat. In most cases all you need to do is to add two lines to each program and change all instances of LPRINT to PRINT. Add a line at the beginning of the program that states PR#l and a line at the end that states PR#0. For the programs in this manual that contain INPUT statements, put the line that states PR#l after the INPUT statement. QX-l0® and QX-l6TM Solutions The format for the WIDTH statement for the Epson QX-10 and QX-16 computers is: WIDTH LPRINT 255 Graphics There are two common sources of problems with graphics programs in BASIC: 1. Unwanted codes for carriage returns and line feeds may be inserted by BASIC if lines are over 80 columns long or if semicolons are not used at the end of program lines between the graphics command and its data. See Chapter 7 for the proper format for the WIDTH statement and for sample programs that show the proper use of semicolons. 2. If the printer stops during a graphics program, it may not have received enough data. The printer expects a certain number of pin patterns, determined by nl and n2 in the graphics command. It will wait patiently until the quota is full. Note that 9-pin graphics mode requires two bytes for each column of graphics. E-4

  • 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

If the printer beeps and stops printing when it is not out of paper,
turn the printer off and check to see if the paper is loaded correctly. If
the paper is loaded correctly, turn the printer back on and try to print
again. If the printer beeps and does not print again, take it to a
qualified service person.
Applesoft BASIC Solutions
Applesoft BASIC does not use PRINT to send data to the screen
and LPRINT to send data to the printer as Microsoft BASIC does.
Therefore, you need to change the programs in this manual some-
what. In most cases all you need to do is to add two lines to each
program and change all instances of LPRINT to PRINT. Add a line at
the beginning of the program that states PR#l and a line at the end
that states PR#0.
For the programs in this manual that contain INPUT statements,
put the line that states PR#l after the INPUT statement.
QX-l0
®
and QX-l6
TM
Solutions
The format for the WIDTH statement for the Epson QX-10 and
QX-16 computers is:
WIDTH LPRINT 255
Graphics
There are two common sources of problems with graphics pro-
grams in BASIC:
1.
Unwanted codes for carriage returns and line feeds may be inserted
by BASIC if lines are over 80 columns long or if semicolons are not
used at the end of program lines between the graphics command
and its data. See Chapter 7 for the proper format for the WIDTH
statement and for sample programs that show the proper use of
semicolons.
2. If the printer stops during a graphics program, it may not have
received enough data. The printer expects a certain number of pin
patterns, determined by
nl
and
n2
in the graphics command. It
will wait patiently until the quota is full. Note that 9-pin graphics
mode requires two bytes for each column of graphics.
E-4