PostScript level2 is always generated with pdftops renderer

Bug #1294370 reported by Alex Korobkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups-filters (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I built cups-filters 1.0.44 for Ubuntu 12.04 with pdftops being poppler's pdftops. I'm using it with Ricoh MP C3300 PosrtScript PPD [1], and looking at the code it should call pdftops with -level3 parameter. However, it looks like HP printer detection takes place and -level2 is always generated.

Here is strace output:
[pid 7373] execve("/usr/bin/pdftops", ["pdftops", "-level2", "-noembtt", "-origpagesizes", "-nocenter", "-r", "300", "/tmp/p2.pdf", "-"], [/* 28 vars */] <unfinished ...>

Shouldn't it generate level3 unless the printer is HP laserjet?

1. http://www.openprinting.org/ppd-o-matic.php?driver=Postscript-Ricoh&printer=Ricoh-Aficio_MP_C3300&show=1

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

Please follow the instructions of the section "CUPS error_log" on https://wiki.ubuntu.com/DebuggingPrintingProblems for a print job with which you observe the problem. Do not compress the error_log file when you attach it.

Changed in cups-filters (Ubuntu):
status: New → Incomplete
Revision history for this message
Alex Korobkin (korobkin) wrote :

Error log for a sample job.

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

Problem is a little typo which I have fixed in the upstream BZR repository now, see attachment.

Changed in cups-filters (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Alex Korobkin (korobkin) wrote :

There are two blocks of code with identical condition checking for HP printers in that file, should both be patched?

Revision history for this message
Alex Korobkin (korobkin) wrote :

nm, the other one doesn't have this problem.

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups-filters - 1.0.49-0ubuntu1

---------------
cups-filters (1.0.49-0ubuntu1) trusty; urgency=medium

  * New upstream release
     - pdftops: Use Poppler also for Toshiba printers (LP: #998087).
     - pdftops: Fixed typo which always made PostScript level 2 being
       generated when using Poppler's pdftops (LP: #1294370).
 -- Till Kamppeter <email address hidden> Mon, 24 Mar 2014 12:58:18 +0100

Changed in cups-filters (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.