
Then list line 3050 with this command:
list 3050 (return)
It should appear as follows; 3050 data 0,0 Change the screen
to read
3050 data 0,145
and again push (return) while the cursor is still on that line.
Now, run the program in memory with this command:
run (return)
(type in the word "run"—do not use the (run key). What will
happen is that the program will create a file on the disk you put
in drive 1 earlier, named "ss2 tables". You might want to check
the directory on drive 1 first to be sure you don’t already have
a file with that name there; if so it will be erased. This is a
binary-type program file, not a BASIC program. The steps
detailed above will only have to be done once, unless you
subsequently erase the "ss2 tables" file.
Whenever you want to use the second method of generating
graphics, you must have a disk in drive 1 with this "ss2 tables"
program on it, and the SuperScript disk in drive 0 as usual. But
do not use the usual method of loading SuperScript! (Do not
press SHIFT/RUN.) Enter this command:
dload"ss2" (return)
When the "ready" message appears and the cursor returns,
enter this command:
run (return)
(The BASIC program "ss2" already exists on the SuperScript
disk.) When the start-up menu appears, choose "0. CBM
Matrix Printers" as usual. Now refer to the SuperScript manual,
page 129. The sequences ESC ; and ESC which are listed as
not applicable in the CBM Matrix column, are now available for
you to use at any time. Recall that SuperScript will supply a
cursor-down at the beginning of each line. Any time that you
want graphics to appear on a printed line, just key in ESC (using
the escape key) and all subsequent characters on that same line
will be printed out in graphics/upper case mode. That is,
characters which are lower case on the screen will be upper case
on the printer; and characters which are upper case on the screen
will be graphics on the printer. To switch back to lower case
again on the same line, just key in ESC ; which will show up
on the screen as a graphic (ESC > will also show as a graphic).
You can switch back and forth on the same line as many times
as you like, but remember that each new line will start out in
lower case.
A word of caution: Some of the control keys will print
graphics on the screen, but these will not be output on the printer.
Instead, they will activate special printer functions such as
enhanced printing (double width). This is true for both methods
of generating graphics. Be sure to experiment with the graphics
you want to use before trying to create an important document
with it. A report is being prepared for the fall issue outlining
further changes in the "ss2 maketables" program that should
eliminate this problem.
A further enhancement to the program used to set up the
second method will allow access to the ESC ’ function. If line
3030 is changed to read
3030 data 17,0,141
instead of 3030 data 17,0,0 then the escape apostrophe
sequence can be used to send a carriage return without a line
feed to the printer. This capability could be useful in overprint
ing graphics on the same line, or in underlining. It is necessary
to change the right margin at the end of the preceding line
(double it) unless the line containing the text to be underlined
or overprinted is very short, because a line-feed will be forced
when the count of characters before and after the escape se
quence combined, reaches the right margin number (usually 80).
Then reset the right margin.
GRAPHICS UPDATE & FINALE hy Neil Ctimfer
An earlier report outlines with great detail the procedure
to be used in setting up enhanced graphics capabilities. A few
graphics were still unprintable, in particular those shown on
these keys: 2, 6, 8, 0, C, and the keypad’s /. This report
explains changes that will allow even these graphics to be printed
out.
Load "ss2 maketables" from the SuperScript disk and make
these changes to the program in memory:
Delete lines 2810-2920, replacing them with this line:
2810 data 210,128,128,215,140,128,159,146,128,149,
206, 128
Change line 3030 to read: 3030 data 17, 0, 141
Change line 3050 to read: 3050 data 0, 145
Change line 3140 to read: 3140 data 172,192,162,93,164,
165, 167, 95, 187, 175
Then run the program with a disk (not the SuperScript disk!)
in drive 1. If you prefer, the CBUG library can supply a disk
with the program "grafx maketables", in which these changes
have already been made, as well as the version of "ss2 tables"
which is created by it.
As before, to use graphics you cannot load SuperScript in
the normal way. With SuperScript in drive 0 and "ss2 tables"
in drive 1, dload "ss2",d0 and run. If you use Pre-SuperScript,
hyperdrive, your own logo, and/or other preparatory routines,
you must incorporate these two files in the sequence. One way
is to change the line which loads "superscript*" or"superscript
II" to ss2".
Here’s a summary of the changes the current program will
have on SuperScript when the "CBM Dot Matrix Printer" option
is chosen.
Keystroke Screen Effect on
Sequence graphic 4023 printer
ESC $ reverse $ prints the British Pound sign
ESC ( reverse R prepares printer for reverse
field printing
ESC ) reverse r cancels reverse-field printing
ESC [ reverse W prepares printer for enhanced
printing (W = wide)
ESC ] reverse N cancels enhanced printing
(N=narrow)
ESC ’ rev 1-arrow forces a carriage return on the
printer without a line feed
ESC > reverse u puts printer in temporary Upper
case & graphics
June 1993
11
Kommentare zu diesen Handbüchern