CUPS sends LanguageLevel 2 to printer even if PPD specifies Level 3

Bug #600972 reported by Roel van Os
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: cups

We have a Xerox PostScript color printer here which consistently hangs on certain types of jobs (large JPG images) printed through cups. The Xerox software customer service representative noticed that the PS that goes to the printer is at LanguageLevel 2, even though the PPD prescribes LanguageLevel 3.

I tracked it down to the cpdftocps filter: at line 51 the LanguageLevel is read from the PPD file using a sed script, however as it is written, the value from the PPD will never replace the default value of 2.

The attached patch fixes the problem for us.

Tags: patch
Revision history for this message
Roel van Os (roel-van-os) wrote :
Changed in cups (Ubuntu):
status: New → In Progress
tags: added: patch
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Applied patch to Debian's BZR repository for CUPS. The fix will appear in the next CUPS package for Maverick.

Changed in cups (Ubuntu):
status: In Progress → Fix Committed
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have applied the patch also upstream at

http://www.openprinting.org/download/printing/pdf-printing/

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

This bug was fixed in the package cups - 1.4.4-2

---------------
cups (1.4.4-2) unstable; urgency=low

  [ Till Kamppeter ]
  * debian/local/filters/pdf-filters/filter/fontembed/bitset.h,
    debian/local/filters/pdf-filters/filter/fontembed/sfnt.c,
    debian/local/filters/pdf-filters/filter/texttopdf.c: Fixed bug with
    subsetting certain composite chars (LP: #605479).
  * debian/local/acroread.conf, debian/local/pdftops.conf, debian/cups.install:
    Removed /etc/cups/acroread.conf and /etc/cups/pdftops.conf. These two files
    were used by the alternative pdftops filter from Helge Blischke. As we
    switched back to the original pdftops filter these files are not needed any
    more (LP: #605564).
  * debian/local/filters/cpdftocps: The PostScript level from the PPD file
    was not used, but always the default value "2" instead. This made Xerox
    color laser printers crash on some files. Thanks to Roel van Os for the
    patch (LP: #600972).

  [ Martin Pitt ]
  * debian/control: Reintroduce the libcupsys2{-dev} Provides:, since some
    third-party printer drivers still depend on them. (LP: #433311)
  * debian/control: Have libcups2 break older cups versions. (Closes: #588643)
 -- Martin Pitt <email address hidden> Sat, 24 Jul 2010 19:38:50 +0200

Changed in cups (Ubuntu):
status: Fix Committed → 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.