[cups] Only able to print from CUPS web interface ("filter failed" error otherwise)

Mario Sanchez Prada mario at endlessm.com
Mon Nov 10 03:18:08 PST 2014

Hi again,

On 07/11/14 18:14, Mario Sanchez Prada wrote:
> [...]
> I will try that on Monday (I'm leaving now), at least to know whether
> I'm hitting the same issue or not.
So, I've downgraded ghostscript from 9.10 back to 9.07, renamed the
pstocanonij filter as pstocanonij-bin and wrapped it from a shell script
like this:

    export  LANG=C
    exec /usr/lib/cups/filter/pstocanonij-bin "$@"

And that did not make a difference. However, doing a similar thing with
the /usr/lib/cups/filter/pdftops filter (from cups-filters), did work!

I'm now reading through the code of cups and cups-filters to try to
understand why that made such a difference (and also whether there might
be a bug somewhere in CUPS), but I'd appreciate nevertheless if anyone
had any insight on this in the meanwhile.


More information about the cups mailing list