This paper describes how to set up output for the Hewlett-Packard Plotter from a SPROGS program.
1. Use the experimental SPROGS system, which can be accessed from :SPROGS.SPROGS macro.
2. Set up and select device 512. The basic plot size is 10000 × 10000. Alternatively, the routine:
HPACK
will set up region 1 with limits 0,0,1023,1023 and will map it onto region 0 with limits 0,0,9999,9999.
3. No hardware characters are available. The PLOT order is ignored.
Output is sent to the FORTRAN I/O stream·number 99. This stream is not attached to a peripheral by the default program segment, so a user must provide his own. The extra line required is of the form:
OUTPUT 99=LPn
LPn must be assigned to a file by using:
#LPn MYFILE
Subsequent listing of this file on the Hewlett-Packard will produce the required picture.
5. Lines will be drawn so that pen movement is minimised, to cut down wear. Long lines will be split: to avoid bending (the plotter works at approximately 1 second per line, but has no means of slowing the data rate if the pen motion would take longer). Advance Frame orders cause a message, starting with **, to be printed at the Teletype. Also, colour selection will cause printing of a message (since there are a number of different colour pens available). Neither of these messages will stop the plotter, however. Thus subsequent frames will overwrite each other and no time is provided for swapping pens.
6. The macro:
FRSPLIT
has been provided to separate a normal multiple frame/colour HewlettPackard file into separate files, each of which will start with a message (either frame advance or colour number). Listing such files separately will enable paper and pens to be changed as required. Full details appear in 1906 Internal User Notice 93.