I/O Error scanning with M1120n over network using HPLIP 3.9.4b
I have a HP LaserJet M1120n that is attached to my network using ethernet. I can print with it just fine but scanning fails with "I/O error" or "Device busy" errors.
I am running Debian Lenny and I have installed hplip and all dependencies from Debian unstable (that's HPLIP version 3.9.4b). I have also used hp-setup to install the latest binary blobs.
According to Question #48156 HPLIP 2.8.10 added support for this printer but you forgot to implement scanning support over the network. Indeed, scanning works when I use my USB cable. HPLIP is now at version 3.9.4b so I assume scanning over the network should work now as well.
According to Question #72163 it should work. That question suggest a hardware problem and see if snmpwalk works correctly. It does:
# snmpwalk -Os -c public -v 1 192.168.1.7 1.3.6.1.
enterprises.
Scanimage -L says:
# scanimage -L
device `hpaio:
Scanimage > image.pnm says:
# scanimage > image.pnm
scanimage: open of device hpaio:/
XSane says:
Failed to open device `hpaio:
Can anyone please help get get scanning to work over the network?
hp-check -t says:
# hp-check -t
HP Linux Imaging and Printing System (ver. 3.9.4b)
Dependency/Version Check Utility ver. 14.3
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.
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 tweety 2.6.26-2-686 #1 SMP Fri Aug 14 01:27:18 UTC 2009 i686 GNU/Linux
Distribution:
debian 5.0.2
HPOJ running?
No, HPOJ is not running (OK).
Checking Python version...
OK, version 2.5.2 installed
Checking PyQt 4.x version...
OK, version 4.4.2 installed.
Checking for CUPS...
Status: scheduler is running
Version: 1.3.8
error_log is set to level: debug
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.82.4
-------
| 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: CUPS image - CUPS image development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
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: PolicyKit - Administrative policy framework...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.
Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
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.4b currently installed in '/usr/share/hplip'.
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.9.4b
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=no
cupsbackend=
cupsfilter=
drv=/usr/
# 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-
foomatic-
foomatic-
cups-ppd-install=no
cups-drv-
internal-
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
Current contents of '/var/lib/
[plugin]
eula = 1
installed = 1
Current contents of '~/.hplip/
[last_used]
device_uri = hp:/net/
[installation]
version = 2.8.10.33
date_time = 01/12/09 21:56:44
-------
| DISCOVERED PARALLEL DEVICES |
-------
No devices found.
-------
| DISCOVERED USB DEVICES |
-------
No devices found.
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
HP_LaserJet_
-------
Type: Printer
Device URI: hp:/net/
PPD: /etc/cups/
PPD Description: HP LaserJet M1120n Foomatic/hpijs-ZJS (recommended)
Printer status: printer HP_LaserJet_
Required plug-in status: Installed
Communication status: Good
-------
| SANE CONFIGURATION |
-------
'hpaio' in '/etc/sane.
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
device `hpaio:
-------
| 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.
---------------
| USER GROUPS |
---------------
root
-----------
| SUMMARY |
-----------
error: 3 errors and/or warnings.
Please refer to the installation instructions at:
http://
Done.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sander Marechal
- Solved:
- Last query:
- Last reply: