Customized settings of cups-pdf are ignored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups-pdf (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cups-pdf
I'd like to customize PDF printing using cups-pdf. However, my modifications in cups-pdf.conf seem to be ignored.
Here is how to reproduce the bug: Edit cups-pdf as below.
Expected result: A test page shoud be printed in grayscale and low resolution.
Actual result: The page prints all right, but the pdf is in color and hi resolution.
cups-pdf.conf is default as installed on Ubuntu 10.04, except for the following:
Modified part of cups-pdf.conf:
###
#
# PDF Conversion Settings
#
###
## Some commented-out lines here
## The GSCall line is modified and commented out:
GSCall %s -q -dCompatibility
===================
Extra info 1:
Also tried to set the GSCall parameter in cups-pdf.conf as follows: GSCall = GhostScript /usr/bin/ps2pdf - no effect
Extra info 2:
I checked debug messages in the /var/log/
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: cups-pdf 2.5.0-12
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Thu Jul 1 20:33:30 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Lpstat:
device for DESKJET-920C: hp:/usb/
device for Generic-
device for Lexmark-
device for Virtual_
Papersize: A4
PpdFiles:
DESKJET-920C: HP Deskjet 920c hpijs, 3.9.8
Generic-
Lexmark-
Virtual_
ProcEnviron:
LANGUAGE=en_GB:en
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: cups-pdf
The problem is the following:
In Ubuntu we have a PDF-based printing workflow. All jobs arriving at CUPS are turned to PDF by filters which ship with the CUPS package. Then the pdftopdf CUPS filter does page management (N-up, reverse order, selected pages, ...) and then PDF data is passed on to the driver or the backend. As the cups-pdf backend already receives PDF this way it does not call Ghostscript any more but simply passes the incoming PDF through into the output file. Therefore the Ghostscript command line in the configuration file is ignored. If we had cups--pdf not supporting the PDF workflow as before we would get incoming PostScript be turned to PDF, then page management applied, after that the PDF turned to PostScript again for cups-pdf turning it to PDF the second time. Even if all is digital this is not without losses. The quality of the resulting file is much worse, especially in terms of resolution and size, perhaps also in color, than the original file. Having only one conversion from PostScript to PDF gives much better output. Newer applications even output PDF directly and so there is no conversion at all.