Bug 998977

Summary: HPLIP's pstotiff filter is used for application/postscript source documents
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: cups-filtersAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ghostscript-9.10-4.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 998981 (view as bug list) Environment:
Last Closed: 2013-08-23 00:37:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 998981    

Description Tim Waugh 2013-08-20 13:04:43 UTC
Description of problem:
When trying to convert application/postscript to application/vnd.cups-pdf, the pstotiff filter (from HPLIP for faxing support) gets used:

application/postscript
  -> application/pdf via pstopdf (100)
  -> application/vnd.cups-pdf via pdftopdf (66)
  = 166

application/postscript
  -> image/tiff via pstotiff (80)
  -> application/vnd.cups-pdf via imagetopdf (33)
  = 113 

So the pstotiff path wins.

CUPS Raster drivers such as gutenprint seem to be unaffected:

application/postscript
  -> application/vnd.cups-postscript via pstops (66)
  -> application/vnd.cups-raster via gstoraster (100)
  = 166

application/postscript
  -> image/tiff via pstotiff (80)
  -> application/vnd.cups-raster via imagetoraster (100)
  = 180

Version-Release number of selected component (if applicable):
cups-filters-1.0.35-3.fc19.x86_64
hplip-3.13.7-1.fc19.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Set up a queue using a Foomatic driver
2.Submit a PostScript job
3.Examine the filters used (e.g. cupsctl --debug-logging, then view error_log)

Actual results:
pstotiff is used

Expected results:
pstotiff not used

Comment 1 Fedora Update System 2013-08-21 13:40:52 UTC
ghostscript-9.07-12.fc19,cups-filters-1.0.36-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/ghostscript-9.07-12.fc19,cups-filters-1.0.36-2.fc19

Comment 2 Fedora Update System 2013-08-22 00:46:47 UTC
Package ghostscript-9.07-12.fc19, cups-filters-1.0.36-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ghostscript-9.07-12.fc19 cups-filters-1.0.36-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15111/ghostscript-9.07-12.fc19,cups-filters-1.0.36-2.fc19
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-08-23 00:37:43 UTC
ghostscript-9.07-12.fc19, cups-filters-1.0.36-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2013-09-26 15:20:09 UTC
ghostscript-9.10-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ghostscript-9.10-4.fc20

Comment 5 Fedora Update System 2013-10-01 02:08:15 UTC
ghostscript-9.10-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.