home *** CD-ROM | disk | FTP | other *** search
- PLOTGSX.BAS - a driver for PLOT33. J. Elliott, 6 July 1993.
- ================================================================================
-
- Background: PLOT33 is a portable graphics system. It consists of two sets of
- programs; the first set generate a graphical image in the form of a disc file
- with a .VEC type. The second set (drivers) print this .VEC file. PLOT33 is
- available in PCW-WORLD volume G/102.
-
- This program combines PLOT33 with the CP/M graphics facility, GSX. Before the
- program is used it must be set up.
-
- 1. You will need a disc with about 65k of space on it. This disc will become
- your PLOTGSX disc. Copy onto it these files from your CP/M master disc(s):
-
- GSX.SYS
- GENGRAF.COM
- ASSIGN.SYS
- BASIC.COM
- DD*.PRL (eg DDSCREEN.PRL, DDFXHR8.PRL etc.)
-
- 2. Insert the PLOTGSX disc and type the following commands:
-
- REN GBASIC.COM=BASIC.COM
- GENGRAF GBASIC
-
- 3. Delete GENGRAF.COM. Copy the file PLOTGSX.BAS to the PLOTGSX disc.
-
- - * -
-
- To print a .VEC file, copy it to drive M:, insert the PLOTGSX disc and type
- the command GBASIC PLOTGSX. You will be offered a choice of devices to use:
-
- SCREEN - the screen
- HP7470 - plotter
- FXLR8 - Dot-matrix or bubblejet [not BJ-10e] printer in draft mode.
- FXHR8 - Dot-matrix or bubblejet [not BJ-10e] printer in high quality mode.
- ________________________________________________________________________________
-
- Technical:
-
- The commands are implemented as follows:
-
- C (Colour): The byte is interpreted as:
-
- 0: White (on paper or reverse-video screen)
- 127: Black (on paper or reverse-video screen)
- Other: There are 12 combinations:
-
- | Line style Markers Fill style
- -+-----------------------------------------
- Number 1 | solid . vertical stripes
- 2 | short dash + dotted
- 3 | short dash + horizontal stripes
- 4 | dotted * light grey
- 5 | dotted * diagonal right
- 6 | dash dot ; medium grey 1
- 7 | dash dot ; diagonal left
- 8 | long dash x medium grey 2
- 9 | long dash x crisscross
- 10 | dash dot dot dark grey 1
- 11 | dash dot dot diagonal crisscross
- 12 | solid . dark grey 2
-
- D (Draw): As normal.
- E (Erase): Always clears to white.
- F (Fill): Only uses the above 12 styles, white or black. No other shades
- are available.
- Fill is not implemented for the 8256/8512 screen. You have to buy
- a GSX upgrade disc from Locomotive.
- I (Increment): As normal.
- M (Move) : As normal.
- N (No op) : As normal.
- O (Output) : As normal.
- P (Point) : A marker is plotted.
- Q (Quit) : The computer will wait until you press a key; the program then
- finishes.
- S (String) : GSX text size 1 is used; on the printer this is quite small.
- T (Text) : If device=1, text is printed onscreen; otherwise it is sent to
- the printer.
- U (Upload) : Command ignored.
- X (eXtend) : Command ignored.
-
- To see the available fills, try printing FILLS.VEC.
- ________________________________________________________________________________
-