Bug 745632 - Ink level reporting in the CUPS driver
Summary: Ink level reporting in the CUPS driver
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: rawhide
Hardware: i686
OS: Linux
low
low
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-12 21:16 UTC by Cybertimber2011
Modified: 2018-04-02 13:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---


Attachments (Terms of Use)
Troubleshooter results from PSC-1600 (224.36 KB, text/plain)
2011-10-13 22:11 UTC, Cybertimber2011
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 567859 0 None None None Never
Launchpad 567860 0 None None None Never

Description Cybertimber2011 2011-10-12 21:16:18 UTC
Description of problem:
System-config-printer does not show ink level

Version-Release number of selected component (if applicable):
rpm -qi system-config-printer
Version: 1.3.7
Release 1.fc16

rpm -qi hplip-libs
Version 3.11.10
Release 2.fc16

rpm -qi hplip-common
Version 3.11.10
Release 2.fc16

How reproducible:
Always

Steps to Reproduce:
1. Connect printer
2. Let drivers load (if not already loaded)
3. Check ink/toner level via system-config-printing
  
Actual results:
Message saying "Marker levels are not reported for this printer"

Expected results:
Ink levels

Additional info:
Persists after reboot.

Comment 1 Tim Waugh 2011-10-13 10:29:55 UTC
Please run the printing troubleshooter and attach the troubleshoot.txt file it produces:
https://fedoraproject.org/wiki/Printing/Debugging#Printing_troubleshooter

Comment 2 Cybertimber2011 2011-10-13 22:11:29 UTC
Created attachment 528116 [details]
Troubleshooter results from PSC-1600

Troubleshooter results from PSC-1600

Comment 4 Tim Waugh 2011-10-14 09:00:28 UTC
I believe this model requires driver support for ink level reporting.

I noticed that you're using a generic driver for this printer, possibly due to bug #742989.

Could you please remove the queue, then disconnect and reconnect the printer?  I'm hoping that GNOME will attempt to install hpijs if not already installed, and set up the queue using the correct driver this time.

What does this command say, after that?

grep -H '^*NickName:' /etc/cups/ppd/*.ppd

Comment 5 Cybertimber2011 2011-10-14 11:32:54 UTC
Installed, driver now says "Make and Model: PSC 1600 Series", but no ink levels reported.

grep -H '^*NickName:' /etc/cups/ppd/*.ppd
/etc/cups/ppd/CLP-310-Series.ppd:*NickName:      "Samsung CLP-350 Foomatic/Postscript (recommended)"
/etc/cups/ppd/Photosmart-C4400-series.ppd:*NickName: "HP Photosmart c4400 Series, hpcups 3.11.10"
/etc/cups/ppd/PSC-1600-series.ppd:*NickName: "HP PSC 1600 Series, hpcups 3.11.10"

Comment 6 Tim Waugh 2011-10-14 12:23:17 UTC
Great, glad driver selection is working properly for you now.

I had a thought about the ink level reporting: I think for HP printers it's done by the backend and not the driver.

Could you please use system-config-printer to change the device for the printer to HPLIP, so that the device URI starts with "hp" instead of "usb"?  Then try printing a small job.. it should update the ink levels I think.

Comment 7 Cybertimber2011 2011-10-14 18:05:46 UTC
No dice. Does not update after printing, and pressing the refresh button gives an error.
HPLIP-3.11.10-3.fc16.i686

Device URI hp:/usb/PSC_1600_series?serial=MY58MF31C0L0
Make and Model: HP PSC 1600 Series, hpcpus 3.11.10


FWIW: I also tried the hpijs driver from PSC 1600 (recommended).  This one give me the "Print Self-Test Page" and "Clean Print Heads" options, but they don't work... printer tries to print for some reason, but just feeds the paper and stop.

Comment 8 Cybertimber2011 2011-10-14 18:09:57 UTC
The error when pressing "Refresh" on the Ink/Toner levels page when using the hpcups driver is
- There was an error during the CUPS operation. 'client-error-document-format-not-supported'.  

That's with the Device URI starting with hp:/

But you mentioned it happened on the back end, so I did try printing and see if it refreshed, but it didn't

Just wanted to clarify what I tried.

Comment 9 Tim Waugh 2011-10-17 15:42:41 UTC
OK, it looks like the HPLIP drivers still only report coarse-grained ink level information, i.e. they will tell you when you are running low on ink, but won't tell you any more than that.

It would be nicer for the hpcups driver to report fine-grained levels, i.e. some percentage indication per supply.  Marking as FutureFeature.

Comment 10 Cybertimber2011 2011-10-17 21:05:59 UTC
Thanks Tim

I was starting to wonder if it was something like that since I tried so many HP printers and saw no ink levels.

Comment 11 Adam Goode 2016-06-09 13:13:27 UTC
I believe this is still a problem. Both upstream bugs seem to be ignored. I filed another bug asking them to make it easier for them to accept contributions. Not sure if that will help.

https://bugs.launchpad.net/hplip/+bug/1590772

Comment 12 Fedora Admin XMLRPC Client 2016-06-24 10:36:43 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 13 Zdenek Dohnal 2017-01-11 18:19:14 UTC
Hi Adam,

if you want to contribute to hplip in Fedora, we maintain github repository with the newest source files from released tarballs https://github.com/zdohnal/hplip . I know it is not the best solution, it is better than nothing.

Comment 14 Adam Goode 2018-04-02 13:12:49 UTC
Thanks, I will take a look.


Note You need to log in before you can comment on or make changes to this bug.