[fpc-pascal]Pascal and ghostscript.

Marco van de Voort marcov at stack.nl
Tue Oct 7 16:53:05 CEST 2003


> Please can anyone tell me whether it is possible to "pipe" or "filter"
> the output of Free Pascal through ghostscript in order to plot graphs on
> a laserjet printer ?
> 
> I would like a hard-copy equivalent to the graph unit of Borland Pascal.
> 
> Any counter suggestions also most welcome.

What my approach would be

- make a unit that converts the graph image of the FPC graph unit to
   a pnm structure.
- use Cygwin (or their unix counterpart) tools to convert it to a normal
   graph format, and then have gs print that. (via latex if you have to)




More information about the fpc-pascal mailing list