Bug 643643

Summary: Bogus low ink warnings
Product: [Fedora] Fedora Reporter: Scott Castaline <skotchman>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: hplip-3.10.9-9.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-14 21:36:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Troubleshoot file - hplip
none
Troubleshoot file - hpijs
none
Troubleshoot File HPIJS
none
PPD File HPLIP
none
PPD File HPIJS
none
PPD File HPIJS none

Description Scott Castaline 2010-10-16 16:53:46 UTC
Description of problem: hpijs drivers continuously report low ink during every print job even though the ink cartridge that was low has been replaced and no others are low. The hplip driver does not have this problem


Version-Release number of selected component (if applicable):
hpijs-3.10.6-1.f13.x86_64 (hplip-3.10.6-1.f13.x86_64)

How reproducible:
Very reproducable

Steps to Reproduce:
1.Send print job to print queue that uses the hpijs driver
2.
3.
  
Actual results:
Warning message bubble shows up on top right of desktop

Expected results:
No warning unless it is actually low on ink

Additional info:
I have 3 print queues to the same printer HP Officejet Pro 7780L. One using the hplip driver and the other 2 using the hpijs driver. The one using the hplip driver does not have this problem but the two using the hpijs both do.

Comment 1 Tim Waugh 2010-10-18 12:02:35 UTC
The hpijs driver is part of HPLIP.  "The HPLIP driver" is hpijs.

Could you please attach a PPD file from one of the queues exhibiting this behaviour, as well as a PPD file from one of the queues that does not exhibit this behaviour?  These files can be found in the /etc/cups/ppd/ directory.

It would also be useful if you could run the printer troubleshooter: System->Administration->Printing, then Help->Troubleshoot.  Point the troubleshooter at one of the queues exhibiting the problem and attach the resulting troubleshoot.txt file to this bug report using the "Add an attachment" link above.

Thanks.

Comment 2 Scott Castaline 2010-10-18 13:34:40 UTC
I have 4 queues configured, the 4th is the HPFAX and I am not including anything on that, however I'm taking the liberty of sending requested info on the others. The first queue is using hplip in default options. The 2nd is using hpijs as my default printer and the duplex option turned on while the 3rd is the same with duplex off.

Comment 3 Scott Castaline 2010-10-18 13:36:03 UTC
Created attachment 454110 [details]
Troubleshoot file - hplip

Queue #1 HPLIP

Comment 4 Scott Castaline 2010-10-18 13:37:38 UTC
Created attachment 454111 [details]
Troubleshoot file - hpijs

Queue #2 HPIJS (Default printer)

Comment 5 Scott Castaline 2010-10-18 13:38:19 UTC
Created attachment 454113 [details]
Troubleshoot File HPIJS

Queue #3

Comment 6 Scott Castaline 2010-10-18 13:41:23 UTC
Created attachment 454120 [details]
PPD File HPLIP

Queue #1

Comment 7 Scott Castaline 2010-10-18 13:42:16 UTC
Created attachment 454122 [details]
PPD File HPIJS

Queue #2 (Default Printer)

Comment 8 Scott Castaline 2010-10-18 13:42:55 UTC
Created attachment 454124 [details]
PPD File HPIJS

Queue #3

Comment 9 Tim Waugh 2010-10-18 15:31:59 UTC
OK, I see: the two drivers here are hpijs (the old-style HPLIP driver) and hpcups (the new raster-based HPLIP driver).

Although hpijs sets marker-supply-low-warning when ink is low, it never clears it.

The test for low ink is in main() -- really it should (a) work out whether ink is low, and (b) write a STATE: message with either '+marker-supply-low-warning' for low ink, or '-marker-supply-low-warning' for ink-not-low.

Comment 10 Tim Waugh 2010-10-18 16:04:31 UTC
Weirdly, hplip-3.9.8 looked like:

switch (error) {
 case BLACK_INK_LOW:
 case BLUE_INK_LOW:
   ...
   fputs ("STATE: +marker-supply-low-warning\n");
   break;
 default:
   fputs ("STATE: -marker-supply-low-warning\n");
}

but hplip-3.10.6 has "+marker-supply" for both.  No idea why they changed that, but I don't think whoever did that really understands IPP state reason management because they removed the only place that cleared that reason. :-(

Comment 11 Fedora Update System 2010-11-11 15:01:40 UTC
hplip-3.10.9-5.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/hplip-3.10.9-5.fc14

Comment 12 Fedora Update System 2010-11-11 15:04:45 UTC
hplip-3.10.9-5.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/hplip-3.10.9-5.fc13

Comment 13 Fedora Update System 2010-11-11 22:24:18 UTC
hplip-3.10.9-5.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update hplip'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/hplip-3.10.9-5.fc13

Comment 14 Fedora Update System 2010-11-14 21:35:41 UTC
hplip-3.10.9-5.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2011-01-12 05:24:32 UTC
hplip-3.10.9-9.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.