[cairo] PostScript to PCL, OR alternative to PS in Cairo.

Ralph Giles giles at ghostscript.com
Thu Jul 27 00:12:07 PDT 2006


On Thu, Jul 27, 2006 at 10:38:38AM +0530, rush ta wrote:

> The printer used will b the low end inkjet printers. That don't support PS
> printing.

But they support PCL printing? IIRC low end inkjet printers generally 
only have a raster interface these days.

> 1. Is there any script which can achive PS to PCL conversion.

Ghostscript can do this, for example with the laserjet or pxl* output 
devices. You should be able to do a stripped down build to fit in a 
32 MB system image. Note that if your application isn't GPL you may need 
a commercial license. 

If it's a particular printer, you might look at the Gutenprint project 
for free inkjet drivers. You may be able to generate a raster with 
cairo and have the gutenprint driver halftone it and format a stream 
appropriate for your printer.

> 5. Any other version of CUPS striped down only for PS. that can b cross
> compiled.

CUPS just calls Ghostscript and Gutenprint to print to inkjet drivers, 
so you can save yourself a step there.

A bit off topic, but hopefully that's helpful.

 -r



More information about the cairo mailing list