Gemini User’s Manual
by | of character | EMPH$. | J = 4, line 310 shifts | |
Gemini into the | and emphasized | mode by sending | ||
both the DBL$ and EMPH$ commands. |
|
| ||
| Line 320 is the heart of the program. This | line prints out the |
entire table. The rest of the program prints the titles and headings, or sets the print size and style. In line 320, the character string MSGl$(set to “ABC”by line 150) is printed in whatever mode the printer is in as a result of preceding the transmission of the SUPER$ command string (remember line 40?) and the character string MSG2$ is printed. The superscript mode is cancelled by sending the CANS$ string [CHR$(27); CHR$(84), or by ESC$ “T”].
The subscript mode is invoked by sending the SUB$ command string. The third character string in line 320, MSG3$ (which is “Yy”),is then printed, only to be cancelled by the CAN$ command again. Finally, the
Why did we have to cancel the
You might notice that line 320 is used six times to print one line. Line 330 is used to cancel the
Line 340 is the bottom of the inner K loop. Line 350 is responsibie for printing the words “+ emphasized” after the last line of each table. You might want to direct your attention to - Chapter 9, or to Appendix M, to learn the purpose of the ESC “A”
n functional control code. We used this control code to reset the spacing between lines.
-
-
-
-
-
When Gemini is initialized, the spacing is set to
The ESC$; “A”;n function code allows us to vary the spacing between lines. When the spacing control codes are sent to the printer, the spacing for the line feed is set to n/72 inch. Thus, if n is set to be 12, the spacing in 12172,which is I/, of an inch. If n is less than 12,the spacing between lines will be less than the normal
70