Comment 6 for bug 182379

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

The CUPS wrapper script for the pdftops filter (/usr/lib/cups/filter/pdftops) seems to be for the XPDF edition of pdftops which supports the "-cfg" option.

Simply replacing poppler-utils by xpdf-utils (from universe) via

sudo apt-get install xpdf-utils

fixes the problem. Another possibility is using Ghostscript as PDF filter for CUPS, replacing /usr/lib/cups/filter/pdftops by the attached script. This way I even succeeded to print a 400-pages PDF which made pdftops crashing. Note that the attached Ghostscript-based PDF filter does not support all CUPS options.

So to fix this bug we have the following possibilities:

1. Replace poppler-utils by xpdf-utils. This would require a MIR for xpdf-utils
2. Patch poppler-utils with the "-cfg" functionality taken from xpdf-utils
3. Use a Ghostscript-based PDF filter. Note here that the attached script needs some improvement to support the PDF-filter-related CUPS options
4. Return to CUPS' original PDF filter (needs more space on CDs and requires more security updates as it duplicates XPDF/Poppler code)

WDYT? Which solution should we go for?