hplip reports communication error for deskjet 930c although the printer works ok. Am using Ubuntu 9.10.

Asked by Graham White

Whilst the deskjet 930c works ok and prints from Ubuntu 9.10, when I use the HPLIP programme to ascertain ink levels an error 5012 is reported as a communication error. Any ideas how I can fix this. I have ran hp-check -t in the terminal and this reports the pp status as yes and says all packages are ok except for cupsddk-drivers which I cannot get to load.

hp-check[30289]: info: :
Initializing. Please wait...
Ubuntu

9.10

scheduler is running

1.4.1

Linux graham-desktop 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux

hp-check[30289]: info: :
hp-check[30289]: info: :---------------
hp-check[30289]: info: :| SYSTEM INFO |
hp-check[30289]: info: :---------------
hp-check[30289]: info: :
hp-check[30289]: info: :Basic system information:
hp-check[30289]: info: :Linux graham-desktop 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux

hp-check[30289]: info: :
hp-check[30289]: info: :Distribution:
hp-check[30289]: info: :ubuntu 9.10
hp-check[30289]: info: :
hp-check[30289]: info: :Checking Python version...
hp-check[30289]: info: :OK, version 2.6.4 installed
hp-check[30289]: info: :
hp-check[30289]: info: :Checking PyQt 4.x version...
hp-check[30289]: info: :OK, version 4.6 installed.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for CUPS...
hp-check[30289]: info: :Status: scheduler is running
hp-check[30289]: info: :Version: 1.4.1
hp-check[30289]: info: :error_log is set to level: warn
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dbus/python-dbus...
hp-check[30289]: info: :dbus daemon is running.
hp-check[30289]: info: :python-dbus version: 0.83.0
hp-check[30289]: info: :
hp-check[30289]: info: :
hp-check[30289]: info: :------------------------------------
hp-check[30289]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[30289]: info: :------------------------------------
hp-check[30289]: info: :
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).
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: CUPS DDK - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[30289]: info: :To install this dependency, execute this command:
hp-check[30289]: info: :sudo aptitude install --assume-yes cupsddk cupsddk-drivers
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: CUPS image - CUPS image development files...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: DBus - Message bus system...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: libtool - Library building support services...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: libusb - USB library...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: Python devel - Python development files...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: Python XML libraries...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: SANE - Scanning library...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :
hp-check[30289]: info: :----------------------
hp-check[30289]: info: :| HPLIP INSTALLATION |
hp-check[30289]: info: :----------------------
hp-check[30289]: info: :
hp-check[30289]: info: :
hp-check[30289]: info: :Currently installed HPLIP version...
hp-check[30289]: info: :HPLIP 3.9.8 currently installed in '/usr/share/hplip'.
hp-check[30289]: info: :
hp-check[30289]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[30289]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.8

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.9.8.36
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes

hp-check[30289]: info: :
hp-check[30289]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[30289]: info: :# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

hp-check[30289]: info: :
hp-check[30289]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[30289]: info: :[last_used]
printer_name =
working_dir = .
device_uri = "hp:/par/DESKJET_930C?device=/dev/parport0"

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[installation]
version = 3.9.8.36
date_time = 21/01/10 16:58:49

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address =
voice_phone =

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
device_list =
interval = 5

hp-check[30289]: info: :
hp-check[30289]: info: :--------------------------
hp-check[30289]: info: :| DISCOVERED USB DEVICES |
hp-check[30289]: info: :--------------------------
hp-check[30289]: info: :
hp-check[30289]: info: :No devices found.
hp-check[30289]: info: :
hp-check[30289]: info: :---------------------------------
hp-check[30289]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[30289]: info: :---------------------------------
hp-check[30289]: info: :
hp-check[30289]: info: :
hp-check[30289]: info: :HPDESKJET-930C
hp-check[30289]: info: :--------------
hp-check[30289]: info: :Type: Printer
hp-check[30289]: info: :Device URI: hp:/par/DESKJET_930C?device=/dev/parport0
hp-check[30289]: info: :PPD: /etc/cups/ppd/HPDESKJET-930C.ppd
hp-check[30289]: info: :PPD Description: HP Deskjet 930c hpijs, 3.9.8
hp-check[30289]: info: :Printer status: printer HPDESKJET-930C is idle. enabled since Thu 21 Jan 2010 16:01:38 GMT
 ready to print

error: Unable to communicate with device (code=12): hp:/par/DESKJET_930C?device=/dev/parport0
error: Device not found
error: Communication status: Failed
hp-check[30289]: info: :
hp-check[30289]: info: :
hp-check[30289]: info: :----------------------
hp-check[30289]: info: :| SANE CONFIGURATION |
hp-check[30289]: info: :----------------------
hp-check[30289]: info: :
hp-check[30289]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[30289]: info: :'hpaio' in '/etc/sane.d/dll.d/hplip'...
hp-check[30289]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking output of 'scanimage -L'...
hp-check[30289]: info: :WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, path=/, member=Introspect

No scanners were identified. If you were expecting something different,

check that the scanner is plugged in, turned on and detected by the

sane-find-scanner tool (if appropriate). Please read the documentation

which came with this software (README, FAQ, manpages).

hp-check[30289]: info: :
hp-check[30289]: info: :---------------------
hp-check[30289]: info: :| PYTHON EXTENSIONS |
hp-check[30289]: info: :---------------------
hp-check[30289]: info: :
hp-check[30289]: info: :Checking 'cupsext' CUPS extension...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking 'pcardext' Photocard extension...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking 'hpmudext' I/O extension...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :Checking 'scanext' SANE scanning extension...
hp-check[30289]: info: :OK, found.
hp-check[30289]: info: :
hp-check[30289]: info: :
hp-check[30289]: info: :
hp-check[30289]: info: :---------------
hp-check[30289]: info: :| USER GROUPS |
hp-check[30289]: info: :---------------
hp-check[30289]: info: :
hp-check[30289]: info: :graham adm dialout cdrom audio plugdev fuse lpadmin netdev admin sambashare

hp-check[30289]: info: :
hp-check[30289]: info: :-----------
hp-check[30289]: info: :| SUMMARY |
hp-check[30289]: info: :-----------
hp-check[30289]: info: :
error: 2 errors and/or warnings.
hp-check[30289]: info: :
hp-check[30289]: info: :Summary of needed commands to run to satisfy missing dependencies:
hp-check[30289]: info: :sudo aptitude install --assume-yes cupsddk cupsddk-drivers
hp-check[30289]: info: :
hp-check[30289]: info: :Please refer to the installation instructions at:
hp-check[30289]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[30289]: info: :
hp-check[30289]: info: :Done.

HP Linux Imaging and Printing System (ver. 3.9.8)
Device Information Utility ver. 5.2

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.

Using device: hp:/par/DESKJET_930C?device=/dev/parport0

error: Unable to communicate with device (code=12): hp:/par/DESKJET_930C?device=/dev/parport0
error: Unable to open device hp:/par/DESKJET_930C?device=/dev/parport0.

Done.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
anup (osta6161) said :
#1

Please run hp-check -t and post it here. Also run hp-info and post it here.

Thanks for the support to the HPLIP!

A

Revision history for this message
Graham White (graham-white1) said :
#2

anup wrote:
> Your question #97985 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/97985
>
> Status: Open => Needs information
>
> anup requested for more information:
> Please run hp-check -t and post it here. Also run hp-info and post it
> here.
>
> Thanks for the support to the HPLIP!
>
> A
>
>
Hi
Have posted info requested
BR
Graham White

Revision history for this message
anup (osta6161) said :
#3

Below KB article might be helpful in trouble-shooting parallel port problems:

http://hplipopensource.com/node/217

Thanks for the support to HPLIP!

A

Can you help with this problem?

Provide an answer of your own, or ask Graham White for more information if necessary.

To post a message you must log in.