Bug 772099

Summary: CUPS erroneously reports full waste tray and of-of-ink
Product: [Fedora] Fedora Reporter: Steve Kelem <steve>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-17 08:52:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
troubleshoot.txt
none
Patch from upstream none

Description Steve Kelem 2012-01-05 23:30:24 UTC
Created attachment 551040 [details]
troubleshoot.txt

Description of problem:
When I print on a Xerox 8650, I get error popups saying that the ink is low (it's not) and that the waste tray is full (it's empty).
When I print on my (brand-new) Lexmark, I get a message about OPC at end-of-life.

Version-Release number of selected component (if applicable):


How reproducible:
Every time.

Steps to Reproduce:
1. Print
2. Wait for error popup
3.
  
Actual results:
There's plenty of ink (actually wax) and the waste tray is empty.

Expected results:


Additional info:
According to the Xerox Engineering Department (http://forum.support.xerox.com/t5/Printing/Phaser-8560DN-reports-quot-Ink-toner-empty-quot-quot-Ink-toner/m-p/11085#M2413), this is a bug in Apple's CUPS software (bug id #7265420). It is fixed in Apple OS 10.7.2, which includes fixes to CUPS. We need the fixes for the RPMs so that this will be fixed on Linux too.

Comment 1 Jiri Popelka 2012-01-06 10:24:16 UTC
(In reply to comment #0)
> this is a bug in Apple's CUPS software (bug id #7265420).

As the Apple bug tracking system is not open to public I'm not able to find out which upstream (http://www.cups.org/str.php) bug this is (if there's any). So I have no idea how and when (in which cups version) this should be fixed.

Comment 2 Tim Waugh 2012-01-06 12:59:22 UTC
Created attachment 551143 [details]
Patch from upstream

Could it be this?  For the waste report, at least -- not sure about the marker report without further investigation.

Comment 3 Jiri Popelka 2012-01-06 13:10:41 UTC
Yes, seems to be. So the problem should be already fixed in cups-1.5.0 as shipped with Fedora-16.

Comment 4 Jiri Popelka 2012-01-10 16:43:00 UTC
Steve, could you try this scratch-build ?
http://koji.fedoraproject.org/koji/taskinfo?taskID=3635603

Download all the rpm files for your architecture (x86_64) into
one directory, install them with:
su -c 'yum --nogpgcheck localupdate *.rpm'
and restart cups service.

Comment 5 Steve Kelem 2012-01-17 23:00:41 UTC
I have since upgraded to Fedora 16-x86_64 but still see the problem. I have the following "cups" rpms:

bluez-cups-4.96-3.fc16.x86_64
cups-1.5.0-22.fc16.x86_64
cups-libs-1.5.0-22.fc16.i686
cups-libs-1.5.0-22.fc16.x86_64
cups-pk-helper-0.1.3-3.fc16.x86_64
ghostscript-cups-9.04-7.fc16.x86_64
gutenprint-cups-5.2.7-7.fc16.x86_64
python-cups-1.9.60-1.fc16.x86_64

Comment 6 Tim Waugh 2012-01-18 09:16:34 UTC
You may be seeing a stale "state reason" which is no longer being cleared.

Please follow this procedure:

1. Stop cups:

systemctl stop cups.path cups.socket cups.service

2. Edit /etc/cups/printers.conf and remove the line beginning "Reason " -- it will be between "<Printer ...>" and "</Printer>" for the queue(s) involved.

3. Start cups (systemctl start cups.service)

systemctl start cups.path cups.socket cups.service

Do you still see the problem?  If so, please run the printing troubleshooter and attach the resulting troubleshoot.txt:
https://fedoraproject.org/wiki/Printing/Debugging#Printing_troubleshooter

Comment 7 Fedora End Of Life 2013-01-16 20:26:34 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Steve Kelem 2013-01-16 20:55:24 UTC
The new cups from apple works.
% apt-cache showpkg cups
Package: cups
Versions: 
1.6.1-0ubuntu11.3 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_quantal-updates_main_binary-amd64_Packages) (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_quantal-security_main_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_quantal_main_binary-amd64_Packages
                  MD5: a7a1401ce90f3158b62e46f606e44e35
 Description Language: en
                 File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_quantal_main_i18n_Translation-en
                  MD5: a7a1401ce90f3158b62e46f606e44e35

1.6.1-0ubuntu11 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_quantal_main_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_quantal_main_binary-amd64_Packages
                  MD5: a7a1401ce90f3158b62e46f606e44e35
 Description Language: en
                 File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_quantal_main_i18n_Translation-en
                  MD5: a7a1401ce90f3158b62e46f606e44e35


Reverse Depends: 
  libcupsmime1:i386,cups 1.5.0
  libcups2:i386,cups 1.5.0
  cups:i386,cups
  libcupsmime1,cups 1.5.0
  libcups2,cups 1.5.0
  cups-dbg,cups 1.6.1-0ubuntu11.3
  cups-client,cups
  cups-bsd,cups
  printer-driver-escpr:i386,cups 1.5.0-2~
  printer-driver-foo2zjs:i386,cups 1.5.0-3~
  printer-driver-c2esp:i386,cups 1.5.0-2~
  libcupsmime1:i386,cups 1.5.0
  libcups2:i386,cups 1.5.0
  foomatic-db-engine:i386,cups 1.5.0-3~
  cups-filters:i386,cups 1.5.0-16
  cups-filters:i386,cups 1.5.0-16
  cups:i386,cups
  zentyal-printers,cups
  xubuntu-desktop,cups
  ubuntustudio-desktop,cups
  ubuntu-gnome-desktop,cups
  printer-driver-escpr,cups 1.5.0-2~
  printconf,cups
  lubuntu-core,cups
  libgnomeprint2.2-0,cups
  libgnomecups1.0-1,cups
  kubuntu-desktop,cups
  geogebra,cups
  foomatic-db,cups 1.5.0-3~
  foomatic-db,cups
  cups-pdf,cups
  ubuntu-desktop,cups
  printer-driver-splix,cups
  printer-driver-sag-gdi,cups 1.5.0-3
  printer-driver-sag-gdi,cups
  printer-driver-postscript-hp,cups 1.5.0-11~
  printer-driver-min12xxw,cups
  printer-driver-hpijs,cups 1.4.0
  printer-driver-hpcups,cups
  printer-driver-hpcups,cups 1.4.0
  printer-driver-gutenprint,cups 1.3.0
  printer-driver-foo2zjs,cups 1.5.0-3~
  printer-driver-foo2zjs,cups
  printer-driver-c2esp,cups 1.5.0-2~
  openprinting-ppds,cups 1.5.0-3~
  openprinting-ppds,cups
  libcupsmime1,cups 1.5.0
  libcups2,cups 1.5.0
  indicator-printers,cups 1.5
  hplip,cups 1.1.20
  ghostscript-cups,cups
  foomatic-filters,cups
  foomatic-db-engine,cups 1.5.0-3~
  foomatic-db-engine,cups
  foomatic-db-compressed-ppds,cups 1.5.0-3~
  foomatic-db-compressed-ppds,cups
  cups-filters,cups 1.5.0-16
  cups-filters,cups 1.5.0-16
  cups-dbg,cups 1.6.1-0ubuntu11
  cups-client,cups
  cups-bsd,cups
  bluez-cups,cups
Dependencies: 
1.6.1-0ubuntu11.3 - libavahi-client3 (2 0.6.16) libavahi-common3 (2 0.6.16) libc6 (2 2.15) libcups2 (5 1.6.1-0ubuntu11.3) libcupscgi1 (2 1.4.2) libcupsimage2 (2 1.4.0) libcupsmime1 (2 1.5.0) libcupsppdc1 (2 1.4.0) libdbus-1-3 (2 1.0.2) libgcc1 (2 1:4.1.1) libgnutls26 (2 2.12.6.1-0) libgssapi-krb5-2 (2 1.10+dfsg~) libkrb5-3 (2 1.6.dfsg.2) libpam0g (2 0.99.7.1) libpaper1 (0 (null)) libstdc++6 (2 4.1.1) libusb-1.0-0 (2 2:1.0.8) debconf (18 1.2.9) debconf-2.0 (0 (null)) upstart-job (0 (null)) poppler-utils (2 0.12) procps (0 (null)) ghostscript (2 9.02~) lsb-base (2 3) cups-common (2 1.6.1) cups-client (2 1.6.1-0ubuntu11.3) ssl-cert (2 1.0.11) adduser (0 (null)) bc (0 (null)) cups-ppdc (0 (null)) cups-filters (0 (null)) dpkg (2 1.15.7.2) cups-bsd (0 (null)) foomatic-db-compressed-ppds (16 (null)) foomatic-db (0 (null)) printer-driver-hpcups (0 (null)) hplip (0 (null)) cups-pdf (0 (null)) udev (0 (null)) smbclient (0 (null)) avahi-daemon (0 (null)) colord (0 (null)) foomatic-filters (2 4.0) printer-driver-gutenprint (0 (null)) ghostscript-cups (2 9.02~) cupsddk-drivers (3 1.4.0) cupsddk-drivers:i386 (3 1.4.0) foomatic-filters (3 4.0) foomatic-filters:i386 (3 4.0) ghostscript-cups (3 9.02~) ghostscript-cups:i386 (3 9.02~) cupsddk-drivers (3 1.4.0) cupsddk-drivers:i386 (3 1.4.0) ghostscript-cups (3 9.02~) ghostscript-cups:i386 (3 9.02~) cups:i386 (0 (null)) 
1.6.1-0ubuntu11 - libavahi-client3 (2 0.6.16) libavahi-common3 (2 0.6.16) libc6 (2 2.15) libcups2 (5 1.6.1-0ubuntu11) libcupscgi1 (2 1.4.2) libcupsimage2 (2 1.4.0) libcupsmime1 (2 1.5.0) libcupsppdc1 (2 1.4.0) libdbus-1-3 (2 1.0.2) libgcc1 (2 1:4.1.1) libgnutls26 (2 2.12.6.1-0) libgssapi-krb5-2 (2 1.10+dfsg~) libkrb5-3 (2 1.6.dfsg.2) libpam0g (2 0.99.7.1) libpaper1 (0 (null)) libstdc++6 (2 4.1.1) libusb-1.0-0 (2 2:1.0.8) debconf (18 1.2.9) debconf-2.0 (0 (null)) upstart-job (0 (null)) poppler-utils (2 0.12) procps (0 (null)) ghostscript (2 9.02~) lsb-base (2 3) cups-common (2 1.6.1) cups-client (2 1.6.1-0ubuntu11) ssl-cert (2 1.0.11) adduser (0 (null)) bc (0 (null)) cups-ppdc (0 (null)) cups-filters (0 (null)) dpkg (2 1.15.7.2) cups-bsd (0 (null)) foomatic-db-compressed-ppds (16 (null)) foomatic-db (0 (null)) printer-driver-hpcups (0 (null)) hplip (0 (null)) cups-pdf (0 (null)) udev (0 (null)) smbclient (0 (null)) avahi-daemon (0 (null)) colord (0 (null)) foomatic-filters (2 4.0) printer-driver-gutenprint (0 (null)) ghostscript-cups (2 9.02~) cupsddk-drivers (3 1.4.0) cupsddk-drivers:i386 (3 1.4.0) foomatic-filters (3 4.0) foomatic-filters:i386 (3 4.0) ghostscript-cups (3 9.02~) ghostscript-cups:i386 (3 9.02~) cupsddk-drivers (3 1.4.0) cupsddk-drivers:i386 (3 1.4.0) ghostscript-cups (3 9.02~) ghostscript-cups:i386 (3 9.02~) cups:i386 (0 (null)) 
Provides: 
1.6.1-0ubuntu11.3 - cups:i386 cupsddk-drivers:i386 cupsddk-drivers 
1.6.1-0ubuntu11 - cups:i386 cupsddk-drivers:i386 cupsddk-drivers 
Reverse Provides: 
cups:i386 1.6.1-0ubuntu11.3
cups:i386 1.6.1-0ubuntu11

Comment 9 Jiri Popelka 2013-01-17 08:52:04 UTC
Closing per previous comment, thanks Steve.