Ink level won't be displayed

Asked by which

I have a HP Deskjet 1220C Inkjet Printer and use Ubuntu Jaunty. I'm eager to get information about the levels of the inkjet-tanks, but I get only the result that tey are OK and full - but that's wrong.
Does anybody have a solution for the problem?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Albright
Solved:
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Please run hp-check -t and post the output.

Also run hp-levels -i -g

and post the output.

Thanks.

Aaron

Revision history for this message
which (yxcund1) said :
#2

Hi,
here's the output of hp-check -t and hp-levels -g; I haven't found an option -i.

hp-check -t

HP Linux Imaging and Printing System (ver. 3.9.2)
Dependency/Version Check Utility ver. 14.1

Copyright (c) 2001-8 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux hexe 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 9.04

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.6.2 installed

Checking PyQt 4.x version...
OK, version 4.4.4 installed.

Checking for CUPS...
Status: Scheduler wird ausgeführt
Version: 1.3.9
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.9.2 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=3.9.2.49
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = DESKJET_1220C
device_uri = hp:/usb/DeskJet_1220C?serial=MY2AQ331PQ0O

[installation]
version = 3.9.2.49
date_time = 09/18/09 22:11:18

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  -------------------------------- ----------------
  hp:/usb/DeskJet_1220C?serial=MY2 HP DeskJet 1220C
  AQ331PQ0O

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

warning: No queues found.

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `epkowa:interpreter:001:004' is a Epson Perfection 4490 flatbed scanner

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0x212 at 001:005:
    Device URI: hp:/usb/DeskJet_1220C?serial=MY2AQ331PQ0O
    Device node: /dev/bus/usb/001/005
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/005
# owner: root
# group: lp
user::rw-
user:vic:rw-
group::rw-
mask::rw-
other::r--

-----------
| SUMMARY |
-----------

No errors or warnings.

Done.

hp-levels -g

HP Linux Imaging and Printing System (ver. 3.9.2)
Supply Levels Utility ver. 2.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

hp-levels[7359]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-levels[7359]: debug: Mode=0
hp-levels[7359]: debug: Cache miss: deskjet_1220c
hp-levels[7359]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-levels[7359]: debug: Searching for section [deskjet_1220c] in file /usr/share/hplip/data/models/models.dat
hp-levels[7359]: debug: Found section [deskjet_1220c] in file /usr/share/hplip/data/models/models.dat
hp-levels[7359]: debug: {'hp:/usb/DeskJet_1220C?serial=MY2AQ331PQ0O': ['DESKJET_1220C']}
Using device: hp:/usb/DeskJet_1220C?serial=MY2AQ331PQ0O

hp-levels[7359]: debug: Device URI: hp:/usb/DeskJet_1220C?serial=MY2AQ331PQ0O
hp-levels[7359]: debug: Printer: None
hp-levels[7359]: debug: Connecting to com.hplip.StatusService (try #1)...
hp-levels[7359]: debug: URI: backend=hp, is_hp=True, bus=usb, model=DeskJet_1220C, serial=MY2AQ331PQ0O, dev=, host=, port=1
hp-levels[7359]: debug: Model/UI model: DeskJet_1220C/HP Deskjet 1220c
hp-levels[7359]: debug: Opening device: hp:/usb/DeskJet_1220C?serial=MY2AQ331PQ0O (not for printing)
hp-levels[7359]: debug: I/O mode=6
hp-levels[7359]: debug: device-id=1
hp-levels[7359]: debug: Opened device: hp (backend=hp:/usb/DeskJet_1220C?serial=MY2AQ331PQ0O, is_hp=True, bus=usb, model=DeskJet_1220C, dev=, serial=MY2AQ331PQ0O, host=, port=1)
hp-levels[7359]: debug: Type 1/2 (S: or VSTATUS:) status
hp-levels[7359]: debug: ['$HB0$NC0', 'ff', 'DN', 'IDLE', 'CUT', 'K0', 'C0', 'SM', 'NR', 'KP100', 'CP100']
hp-levels[7359]: debug: {'in-tray2': 0, 'supply-lid': 0, 'agents': [{'type': 1, 'kind': 3, 'health': 0, 'state': 1, 'level': 100}, {'type': 2, 'kind': 3, 'health': 0, 'state': 1, 'level': 100}], 'duplexer': 0, 'in-tray1': 0, 'photo-tray': 0, 'top-lid': 1, 'status-code': 1000, 'media-path': 1, 'revision': 255}
hp-levels[7359]: debug: Sending event 1000 to hpssd...
hp-levels[7359]: debug: Looking for kind=3, type=1...
hp-levels[7359]: debug: found: r0-kind3-type1
hp-levels[7359]: debug: health=0, level=100, level_trigger=0, status_code=1000
hp-levels[7359]: debug: Looking for kind=3, type=2...
hp-levels[7359]: debug: found: r0-kind3-type2
hp-levels[7359]: debug: health=0, level=100, level_trigger=0, status_code=1000
hp-levels[7359]: debug: {'agent1-kind': 3, 'agent1-hp-ink': False, 'top-lid': 1, 'agent2-type': 2, 'agent2-hp-ink': False, 'agent2-ack': False, 'is-hp': True, 'agent1-level': 100, 'in-tray1': 0, 'serial': 'MY2AQ331PQ0O', 'back-end': 'hp', 'agent2-health-desc': 'Good/OK', 'agent1-dvc': 0, 'device-uri': 'hp:/usb/DeskJet_1220C?serial=MY2AQ331PQ0O', 'rr': '000000', 'photo-tray': 0, 'panel-line1': '', 'panel-line2': '', 'agent2-sku': '78 (C6578AN)', 'port': 1, 'agent2-level-trigger': 0, 'rg': '000', 'agent2-desc': 'Tri-color cartridge', 'agent1-known': False, 'agent1-health': 0, 'status-code': 1000, 'revision': 255, 'dev-file': '', 'status-desc': 'Idle', 'agent2-virgin': False, 'agent1-health-desc': 'Good/OK', 'agent2-dvc': 0, 'agent2-kind': 3, 'host': '', 'agent2-health': 0, 'agent2-known': False, 'agent1-id': 0, 'cups-printer': 'DESKJET_1220C', 'agent2-level': 100, 'error-state': 0, 'device-state': 1, 'panel': 0, 'in-tray2': 0, 'agent1-ack': False, 'agent1-virgin': False, 'agent1-level-trigger': 0, 'rs': '000000000', 'agent2-id': 0, 'agent1-type': 1, 'agent1-desc': 'Black cartridge', 'r': 0, 'deviceid': 'MFG:HEWLETT-PACKARD;MDL:DESKJET 1220C;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard DeskJet 1220C;SERN:MY2AQ331PQ0O;VSTATUS:$HB0$NC0,ff,DN,IDLE,CUT,K0,C0,SM,NR,KP100,CP100;VP:0800,FL,B0;BOD:13025;USE:00010002,002CDB;BLK:;', 'cups-uri': 'hp:/usb/DeskJet_1220C?serial=MY2AQ331PQ0O', 'duplexer': 0, 'agent1-sku': '45 (51645A)', 'media-path': 1, 'supply-lid': 0}

Black cartridge
Part No.: 45 (51645A)
Health: Good/OK

----------------------------------------------------------------
|//////////////////////////////////////////////////////////////| (approx. 100%)
----------------------------------------------------------------

Tri-color cartridge
Part No.: 78 (C6578AN)
Health: Good/OK

----------------------------------------------------------------
|//////////////////////////////////////////////////////////////| (approx. 100%)
----------------------------------------------------------------

hp-levels[7359]: debug: Closing device...
hp-levels[7359]: debug: Result-code = 0

Done.

I hope you'll find anything.
Maybe it's important t o tell you that the ink cartridges are not original.

Thanks for your efforts.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Are the ink levels used from another device or refilled?

Thanks.

Aaron

Revision history for this message
which (yxcund1) said :
#4

I think with ink levels you mean the ink cartridges?
As I wrot before, the cartridges are not the originals and they are refilled.

Thank you

Which

Revision history for this message
which (yxcund1) said :
#5

Is there no way to show the levels of refilled ink cartridges?

Revision history for this message
Best Aaron Albright (albrigha-deactivatedaccount) said :
#6

Correct, refilled ink cartridges will not show the correct ink levels. In addition refilling ink cartridges is not recommended or supported by HP and may cause device warranty issues.

Thanks for your support of HPLIP--we appreciate it.

Aaron

Revision history for this message
which (yxcund1) said :
#7

Thanks Aaron Albright, that solved my question.