InputSlot PPD option generally does not work in CUPS 1.5.x

Bug #872527 reported by Till Kamppeter
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned
Precise
Fix Released
High
Unassigned

Bug Description

CUPS adds the option setting "AP_D_InputSlot=" to every job. This overrides the InputSlot option and so the InputSlot setting and even the default setting for InputSlot in the PPD get never used, rendering InputSlot useless.

This way one cannot select the input paper tray, neither via the printing dialog when sending a job nor by the default setting done in system-config-printer.

At least for some printers one can select the tray by the front panel menus as a workaround.

A small patch (attached) solves the problem. It simply makes the AP_D_InputSlot option being ignore when its argument is empty.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
Changed in cups (Ubuntu):
importance: Undecided → High
milestone: none → oneiric-updates
Changed in cups (Ubuntu):
status: New → Fix Committed
Changed in cups (Ubuntu Precise):
status: New → Fix Committed
Changed in cups (Ubuntu Oneiric):
status: Fix Committed → Triaged
Changed in cups (Ubuntu Precise):
importance: Undecided → High
Changed in cups (Ubuntu Oneiric):
status: Triaged → In Progress
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Uploaded the fixed CUPS to both the Debian BZR repository (for Debian unstable and for Precise) and also to oneiric-proposed where it is waiting for approval now. A debdiff of the changes is attached.

Changed in cups (Ubuntu Oneiric):
status: In Progress → Fix Committed
tags: added: patch-accepted-debian
Revision history for this message
Martin Pitt (pitti) wrote :

Till, thanks! Note that cups is already in proposed, so it should move to -updates first. Then I'll process the new SRU.

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

I have reported the problem also upstream now: http://www.cups.org/str.php?L3957

tags: added: patch-forwarded-upstream
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Till, 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
Lars Karlitski (larsu)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Verified that the InputSlot option works correctly with the proposed SRU by Lars Uebernickel. In addition, I have verified it also on a second Oneiric machine.

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

Thanks, Lars, for verifying this SRU.

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

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

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

  * debian/patches/do-not-suppress-inputslot-setting-with-empty-ap-d-inputslot.patch:
    CUPS adds the option setting "AP_D_InputSlot=" to every job. This overrides
    the InputSlot option and so the InputSlot setting and even the default
    setting for InputSlot in the PPD get never used, rendering InputSlot
    useless (LP: #872527).
 -- Till Kamppeter <email address hidden> Tue, 11 Oct 2011 23:32:43 +0200

Changed in cups (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  [ Till Kamppeter ]
  * debian/patches/do-not-suppress-inputslot-setting-with-empty-ap-d-inputslot.patch:
    CUPS adds the option setting "AP_D_InputSlot=" to every job. This overrides
    the InputSlot option and so the InputSlot setting and even the default
    setting for InputSlot in the PPD get never used, rendering InputSlot
    useless (LP: #872527).
  * debian/patches/cups-avahi.patch: Updated patch from upstream (Red Hat)
    to fix crashes of the CUPS daemon when using the timeout function call
    functionality (LP: #860691, LP: #860498).

  [ Martin Pitt ]
  * debian/local/apparmor-profile: Also allow cups to map libraries under
    /usr/local/. (LP: #860765)
  * cups-avahi.patch: Make sure to guard against retrying the Avahi connection
    whilst already doing so. Thanks to Tim Waugh for the patch! (LP: #877967)

  [ Michael Vogt ]
  * debian/control: Add Conflicts/Replaces: libcupsys2 to ensure that the apt
    resolver can calculate the upgrade in a multiarch scenario where a old
    libcupsys2 package is installed (LP: #874835)
 -- Martin Pitt <email address hidden> Wed, 19 Oct 2011 14:57:50 +0200

Changed in cups (Ubuntu Precise):
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.