Setting duplex in the print dialog has no effect for some print drivers

Bug #897723 reported by Lars Karlitski
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Fix Released
High
Till Kamppeter
Oneiric
Fix Released
High
Till Kamppeter

Bug Description

This happens for PostScript printers that specify a custom duplex option, i.e. not using the standard CUPS option "two-sided".

A workaround is to always enable duplex in system-config-printer, or to add the printer as "Generic PostScript Foomatic" instead of using its native PPD.

I want to investigate this a bit further before reporting an upstream bug (thus assigning myself for now).

Lars Karlitski (larsu)
Changed in gtk+3.0 (Ubuntu):
assignee: nobody → Lars Uebernickel (larsu)
status: New → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have found some problems in the cpdftocps filter. A fixed version is attached and this one does duplex on jobs where duplex is set via the GTK print dialog.

Changed in gtk+3.0 (Ubuntu):
status: Confirmed → Triaged
affects: gtk+3.0 (Ubuntu) → ubuntu
Changed in ubuntu:
assignee: Lars Uebernickel (larsu) → Till Kamppeter (till-kamppeter)
importance: Undecided → High
affects: ubuntu → cups (Ubuntu)
Changed in cups (Ubuntu Oneiric):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Till Kamppeter (till-kamppeter)
milestone: none → oneiric-updates
Changed in cups (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Uploaded a new CUPS package for Oneiric fixing this bug and bug 893676 to oneiric-proposed. As soon as this upload will get approved another comment with testing instructions will be posted here. Please test the fixed package then and tell here whether it solves your problem.

A debdiff of the changes is attached.

Changed in cups (Ubuntu Oneiric):
status: Triaged → Fix Committed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Updated the uploaded SRU to also fix the regressions on the IPP CUPS backend: bug 881843, bug 877958, bug 879625, and bug 883585

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

This bug was fixed in the package cups - 1.5.0-13

---------------
cups (1.5.0-13) unstable; urgency=low

  [ Till Kamppeter ]
  * debian/patches/ipp-patch-r8950+.patch: Revert the IPP backend to the state
    of CUPS 1.4.x, as the 1.5.x versiuon has major regressions (LP: #877958,
    LP: #879625, LP: #881843, LP: #883585, Closes: #638521, CUPS STR #3966,
    CUPS STR #3967). This patch will get removed as soon as upstream has fixed
    all these regressions. As upstream did not announce any new features for
    the IPP backend in the release notes for 1.5.x, we assume that with this
    step no features will get lost.
  * debian/patches/dont-send-malformed-dbus-messages.patch: Do not send D-Bus
    notifications with too few parameters when there are parameters which
    cannot be added to the D-Bus request, especially invalid UTF-8 strings.
    This made gnome-session-daemon crash (LP: #893676, CUPS STR #3984).
  * debian/local/filters/cpdftocps: The cpdftocps filter (used for PostScript
    printers and for drivers with PPDs which are not PDF-aware) did not
    recognize the duplex setting correctly, making duplex not working on
    many common printers (LP: #897723).
  * debian/local/filters/cpdftocps: Cleaned up the header comments.

  [ Martin-Éric Racine ]
  * [cups.postrm]: purge /etc/cups/ssl/server.[crt|key] and /etc/cups/ssl.

  [ Martin Pitt ]
  * debian/compat: Bump from 5 to 9, this apparently was forgotten in the
    Multi-Arch transition.
 -- Martin Pitt <email address hidden> Fri, 02 Dec 2011 11:05:51 +0100

Changed in cups (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Lars, or anyone else affected,

Accepted cups into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Andreas, Peter, dejot, if the fix of bug 885118 did not already solve your duplex-printing problem, please test the proposed package to fix this bug as described in the previous comment and report here. Thanks.

Revision history for this message
dejot (gkastner) wrote :

Thanks a ton, Till and Martin. The newest build from "oneiric-proposed", cups (1.5.0-8ubuntu6), resolves the issue for me.

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

dejot, thank you very much for testing. Marking the bug as verified.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups - 1.5.0-8ubuntu6

---------------
cups (1.5.0-8ubuntu6) oneiric-proposed; urgency=low

  * debian/patches/ipp-patch-r8950+.patch: Revert the IPP backend to the state
    of CUPS 1.4.x, as the 1.5.x versiuon has major regressions (LP: #877958,
    LP: #879625, LP: #881843, LP: #883585, Closes: #638521, CUPS STR #3966,
    CUPS STR #3967). This patch will get removed as soon as upstream has fixed
    all these regressions. As upstream did not announce any new features for
    the IPP backend in the release notes for 1.5.x, we assume that with this
    step no features will get lost.
  * debian/patches/dont-send-malformed-dbus-messages.patch: Do not send D-Bus
    notifications with too few parameters when there are parameters which
    cannot be added to the D-Bus request, especially invalid UTF-8 strings.
    This made gnome-session-daemon crash (LP: #893676, CUPS STR #3984).
  * debian/local/filters/cpdftocps: The cpdftocps filter (used for PostScript
    printers and for drivers with PPDs which are not PDF-aware) did not
    recognize the duplex setting correctly, making duplex not working on
    many common printers (LP: #897723).
  * debian/local/filters/cpdftocps: Cleaned up the header comments.
 -- Till Kamppeter <email address hidden> Tue, 29 Nov 2011 21:49:41 +0100

Changed in cups (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Revision history for this message
Ashley Robjohns (ashley-robjohns) wrote :

This is still a problem for me and has been around since 11.04 (unsure of CUPS version at the time). What do I need to do to help?

Ubuntu 11.10 (up to date)
CUPS 1.5.0-8ubuntu6
Canon MX870

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

Ashley, please follow the instructions of the sections "CUPS error_log" and "Capturing print job data" on https://wiki.ubuntu.com/DebuggingPrintingProblems. Thanks.

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.