[mod.computers.laser-printers] Calcompatible Routines

KB13@TE.CC.CMU.EDU (Ken Burner) (03/06/86)

	It's been awhile since I hacked Calcomp plotter routines and
they may have changed, but I recall getting full Fortran source code
with the purchase of the license.  The documentation was poor, but the
code was fairly easily modified to do what I wanted to do.  All routines
ultimately call PLOT to cause some action on the plotter.  To support
some new device -- e.g., PostScript -- or to see the actual vector plot
commands sent to the plotter, all you need to do is hack PLOT (which
sends X-Y coordinates and a pen-up/-down code to the plotter) and link
your version into the application program along with the rest of the
Calcomp library routines.  There may be more elegant ways to do plotting
in PostScript, but this seems a fairly simple way to do the conversion
quickly.

    -Ken Burner
-------