home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / DEMON / AMSTRAD / GRAPH.ARC / PLOTGSX.DOC < prev    next >
Text File  |  1993-07-06  |  3KB  |  86 lines

  1. PLOTGSX.BAS - a driver for PLOT33.                      J. Elliott, 6 July 1993.
  2. ================================================================================
  3.  
  4.   Background: PLOT33 is a portable graphics system. It consists of two sets of
  5. programs; the first set generate a graphical image in the form of a disc file
  6. with a .VEC type. The second set (drivers) print this .VEC file. PLOT33 is
  7. available in PCW-WORLD volume G/102.
  8.  
  9.   This program combines PLOT33 with the CP/M graphics facility, GSX. Before the
  10. program is used it must be set up.
  11.  
  12. 1. You will need a disc with about 65k of space on it. This disc will become
  13.   your PLOTGSX disc. Copy onto it these files from your CP/M master disc(s):
  14.  
  15.   GSX.SYS
  16.   GENGRAF.COM
  17.   ASSIGN.SYS
  18.   BASIC.COM
  19.   DD*.PRL    (eg DDSCREEN.PRL, DDFXHR8.PRL etc.)
  20.  
  21. 2. Insert the PLOTGSX disc and type the following commands:
  22.  
  23.   REN GBASIC.COM=BASIC.COM
  24.   GENGRAF GBASIC
  25.  
  26. 3. Delete GENGRAF.COM. Copy the file PLOTGSX.BAS to the PLOTGSX disc.
  27.  
  28.                             - * -
  29.  
  30.   To print a .VEC file, copy it to drive M:, insert the PLOTGSX disc and type
  31. the command GBASIC PLOTGSX. You will be offered a choice of devices to use:
  32.  
  33. SCREEN - the screen
  34. HP7470 - plotter
  35. FXLR8  - Dot-matrix or bubblejet [not BJ-10e] printer in draft mode.
  36. FXHR8  - Dot-matrix or bubblejet [not BJ-10e] printer in high quality mode.
  37. ________________________________________________________________________________
  38.  
  39. Technical:
  40.  
  41. The commands are implemented as follows:
  42.  
  43. C (Colour): The byte is interpreted as:
  44.  
  45.     0:     White (on paper or reverse-video screen)
  46.     127:   Black (on paper or reverse-video screen)
  47.     Other: There are 12 combinations:
  48.  
  49.                  | Line style  Markers  Fill style
  50.                 -+-----------------------------------------
  51.      Number    1 |  solid         .     vertical stripes
  52.                2 |  short dash    +     dotted
  53.                3 |  short dash    +     horizontal stripes
  54.                4 |  dotted        *     light grey
  55.                5 |  dotted        *     diagonal right
  56.                6 |  dash dot      ;     medium grey 1
  57.                7 |  dash dot      ;     diagonal left
  58.                8 |  long dash     x     medium grey 2
  59.                9 |  long dash     x     crisscross
  60.               10 |  dash dot dot        dark grey 1
  61.               11 |  dash dot dot        diagonal crisscross
  62.               12 |  solid         .     dark grey 2
  63.  
  64. D (Draw):      As normal.
  65. E (Erase):     Always clears to white.
  66. F (Fill):      Only uses the above 12 styles, white or black. No other shades
  67.              are available.
  68.                Fill is not implemented for the 8256/8512 screen. You have to buy
  69.              a GSX upgrade disc from Locomotive.
  70. I (Increment): As normal.
  71. M (Move)     : As normal.
  72. N (No op)    : As normal.
  73. O (Output)   : As normal.
  74. P (Point)    : A marker is plotted.
  75. Q (Quit)     : The computer will wait until you press a key; the program then
  76.               finishes.
  77. S (String)   : GSX text size 1 is used; on the printer this is quite small.
  78. T (Text)     : If device=1, text is printed onscreen; otherwise it is sent to
  79.               the printer.
  80. U (Upload)   : Command ignored.
  81. X (eXtend)   : Command ignored.
  82.  
  83. To see the available fills, try printing FILLS.VEC.
  84. ________________________________________________________________________________
  85.  
  86.