Printing Copies Of The Graphics Screen; Overcoming Aspect Ratio Problems; Using The Printer With Pascal; Directories And Program Listings - Epson 8133 User Manual

New apple ii intelligent parallel interface
Table of Contents

Advertisement

MIT LOGO
TO ENLARGE
OUTDEV 1
PRINT1 CHAR 27
PRINT1 [W1]
PRINT [SOME ENLARGED TEXT]
OUTDEVO
END
MIT LOGO
TOPRINTPIC
OUTDEV 1
PRINT1 CHAR 9
PR1NT1 [GD]
OUTDEVO
END
APPLE LOGO
TO ENLARGE
.PRINTER 1
TYPECHAR27
TYPE[W1l
PRINT [SOME ENLARGED TEXT]
.PRINTERO
END
APPLE LOGO
TO PRINTPIC
.PRINTER
1
TYPE CHAR 9
TYPE [GD]
.PRINTERO
END
11111111111111111111111111111111111111111
USING THE PRINTER
1111111111111111111111111111111111111111
WITH PASCAL
Since PASCAL is a compiled language, the way you use the printer
is slightly different from when you are using an interpreted language
like LOGO or BASIC. Data can be transferred to the printer using the
Transfer? option in the Filer:, or the printer can be treated as a file
inside a program. You should install the interface card in slot
I.
PASCAL then assigns VOLUME #6: to the PRINTER:, as you will see if
you look at the volumes which are on-line with the V option in the
Filer:.
DIRECTORIES AND PROGRAM LISTINGS
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
If you want to print a directory, you would normally send the data only
to the screen, but it is possible to send it to the printer, either by
specifying the volume number or PRINTER:. The following examples
give a directory of the APPLEl: disk in drive 4.
Typing L whilst in the Filer: will give the prompt:
Dir Listing of?
You can then respond with any of the following combinations:
#4:, #6:
APPLE1:, #6:
#4:, PRINTER:
APPLE1:, PRINTER:
An extended directory can be obtained in a similar way by pressing E
in the Filer:.
In order to print listings or text files, you can treat the printer as the
device to which they are transferred. For example, to print a file
named PATOUT.TEXT, you would simply type T from the Filer:, and at
the Transfer? prompt, reply with PATOUT.TEXT, adding the volume
name if necessary. Then, when the prompt To where? is given, reply
with
#
6:, or PRINTER:, and the text file will be listed on the printer.
PRINTING COPIES OF THE GRAPHICS SCREEN
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
The majority of programs written in LOGO involve graphics. It is
possible to copy the graphics screen by the same methods as with
BASIC, namely using the sequence <CTRL>-1 G and the additional
codes for double height, etc. The following procedure illustrates the
method of printing the graphics page to produce a double size screen:
OVERCOMING ASPECT RATIO PROBLEMS
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
The aspect ratio problem can also be solved. There is a command
to set the screen height in LOGO called .ASPECT (MIT) or
SETSCRUNCH (APPLE). Experiment with different values depending
on the printer you have and whether or not you are rotating the screen
image.
60
61

Advertisement

Table of Contents
loading

Table of Contents