Comment 45 for bug 321932

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

Some remarks:

- This problem only occurs if Ghostscript is fed with PDF. This is the case for current Ubuntu and Debian distributions, as they use a PDF-based printing workflow (CUPS turns incoming data to PDF, pre-processes the PDF (N-up, selected pages, ...), and sends PDF to the Ghostscript/driver process). Other distributions or older Ubuntu/Debian versions feed only PostScript into Ghostscript and then this problem does not occur.

- The mentioned changes in CUPS' mime.convs change the workflow of CUPS to be PostScript-based, eliminating feeding of PDF into Ghostscript. This makes the problem disappear.

- CUPS accepts .types and .convs files not only in /etc/cups/ but also in /usr/share/cups/mime/. The latter was introduced as the Debian p[ackaging system considers everything in /etc/ as config files. This makes package updates work more reliably. For personal changes create .types and .convs files in /etc/cups. Rules in the files in /etc/cups have priority against rules for the same purpose in files in /usr/share/cups/mime/.