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?


** Attachment added: "/usr/lib/cups/filter/pdftops wrapper script to use 
Ghostscript for PDF-to-Postscript conversion"
   http://launchpadlibrarian.net/12158917/pdftops

-- 
CUPS cannot print PDF files nor can PDF files be added to faxes with hp-sendfax
https://bugs.launchpad.net/bugs/182379
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to