Make a virtual printer?

Robin Laing Robin.Laing at drdc-rddc.gc.ca
Thu Jul 6 14:18:33 UTC 2006


Tom Horsley wrote:
> I'd like to make a "printer" on my fedora box that actually just
> generates a series of .png files for each page in a print image
> directory.
> 
> I've found all the info I need to pass to ghostscript to get it
> to do this (it has a handy png output driver built in), but
> brain matter starts leaking out my ears when I try to understand
> how to invent a .ppd file and integrate this with cups so I can
> spool things to this "printer".
> 
> Anyone out there ever done such a thing and have some cofig files
> I could steal?
> 
> 

I was looking at Netpbm tools the other day and I just did a search. 
There is 'pstoimg' and 'pstopnm' which will convert a ps file to an image.

Now if you could just pipe your ps file to these tools.  Both use 
Ghostscript to process the ps file.

-- 
Robin Laing




More information about the users mailing list