Comment 5 for bug 290395

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you also try the following?

First, download this file:

http://www.openprinting.org/download/printing/ghostscript-cups-patches/pdftoraster.c

This is an alternative Ghostscript-based pdftoraster filter.

Install packages needed to compile it:

sudo apt-get install libcups2-dev libcupsimage2-dev

Compile it:

gcc `cups-config --image --libs` -DBINDIR=/usr/bin -DGS=gs -o pdftoraster pdftoraster.c

Install it:

sudo mv /usr/lib/cups/filter/pdftoraster /usr/lib/cups/filter/pdftoraster.orig
sudo cp pdftoraster /usr/lib/cups/filter/
sudo chmod 755 /usr/lib/cups/filter/pdftoraster

Now try to print again. Does the garbage go away?