home *** CD-ROM | disk | FTP | other *** search
/ Global Amiga Experience / globalamigaexperience.iso / graphic / cad / xcad3000 / xcdoc / plotrol < prev    next >
Text File  |  1995-07-10  |  4KB  |  93 lines

  1.  
  2.    10.1.2 PLOT HPGL
  3.  
  4.  
  5. The PLOT HPGL command is used to create plots on the Hewlett-Packard range
  6. of pen plotters or any plotter that supports the HPGL plotting language or
  7. a compatible language.  
  8.  
  9. Plots can be created at any size supported by the plotter and in up to 7
  10. different colours.
  11.  
  12.  
  13.    COMMAND FORMAT
  14.  
  15.       #PLOT HPGL [modifiers] :Win x1 x2
  16.  
  17.          or
  18.  
  19.       #PLOT HPGL [modifiers] [CR]
  20.  
  21. If the command is terminated with a colon, a plot window can be defined by
  22. entering two locations to define the extents of a window. If the command
  23. is terminated with a return, the entire sheet will be plotted. The bottom
  24. left corner of the window or sheet is used as the plot origin.
  25.  
  26. The plot will be created at a one to one scale with the sheet size and
  27. units.
  28.  
  29.  
  30.    MODIFIERS
  31.  
  32. TO             Requires the name of a file or device to direct all plot
  33.                commands. If this modifier is omitted, then the plot commands
  34.                will be directed to the device PAR: - the parallel port - as
  35.                the plotter is usually connected to this port. If the plotter
  36.                is connected to the serial port then the command
  37.  
  38.                   #PLOT HPGL TO SER:
  39.  
  40.                should be used.
  41.  
  42.                Plot commands can be directed to a disk file for later or
  43.                background plotting.
  44.  
  45. PENSPEED       The PENSPEED command is used to select the pen speed for the
  46.                plotter. Ink pens require a slow speed whereas felt tipped
  47.                pens can use a much faster plotting speed. The range of pen
  48.                speeds available is 2 - 127 cm/sec. Refer to your plotter
  49.                manual for its speed capabilities.
  50.                
  51. SCALE          Can be used to alter the scale of the plot. If the modifier
  52.                is omitted, then a scale of 1.0 will be used.
  53.  
  54. OFFSET         The OFFSET modifier can be used to specify an xy offset for
  55.                the origin of the plot. The modifier requires 2 values
  56.                separated by a comma, these are the x and y values at which
  57.                to offset the plot origin. The values must be entered in
  58.                millimetres. For example:
  59.  
  60.                   #PLOT HPGL OFFSET 30,60
  61.  
  62.                Will offset the origin of the plot by 30 millimetres in the
  63.                x direction and 60 millimetres in the y direction.
  64.  
  65.                Negative values can be used.
  66.  
  67. ROTATE         The ROTATE modifier can be used to specify that the drawing
  68.                should be rotated through 90 degrees prior to being plotted.
  69.  
  70. ORIGIN         The ORIGIN modifier is used to specify the default pen origin
  71.                of the plotter. The modifier can be followed by one of two
  72.                keywords:
  73.  
  74.                   LOWER_LEFT     Used if the plotter origin is at the lower
  75.                                  left corner of the plotting area. This is
  76.                                  the default value.
  77.  
  78.                   CENTRE         Used if the plotter origin is at the centre
  79.                                  of the plotting area.
  80.  
  81. SHADEPITCH     Used to specify the vertical distance between horizontal
  82.                lines used to emulate a colour filled polygon. The value
  83.                must be entered in millimetres. If this modifier is omitted,
  84.                a value of 0.5 mm is used.
  85.  
  86. NOFILL         The NOFILL modifier can be used to inhibit any filled areas
  87.                of a drawing being plotted.
  88.  
  89. MONO           The MONO modifier can be used to create a single colour plot.
  90.                All entities will be plotted using pen 1.
  91.  
  92.  
  93.