Hi,

I have a HP LaserJet Pro CM1415fn, connected via network. Printing works fine 
as described
in the package README of the hplip command.

However, I tried to configure scanning, but struggled a bit.

I added hpaio to /etc/sane.d/dll.conf,

scanimage -L

then showed me the printer:
device `hpaio:/net/HP_LaserJet_CM1415fn?ip=10.0.0.36' is a Hewlett-Packard 
HP_LaserJet_CM1415fn all-in-one

However, scanning, produced error:
for example hp-scan:
...
Using device hpaio:/net/HP_LaserJet_CM1415fn?ip=10.0.0.36
Opening connection to device...
error: SANE: Error during device I/O (code=9)

I also tried scanimage > output.pnm
but got similar I/O error.

Then in /var/log/messages I found stuff like:

Jun 14 08:16:40 communicator hp-scan: hp-scan[3549]: error: SANE: Error during 
device I/O (code=9)
Jun 14 08:21:59 communicator scanimage: common/utils.c 189: unable to load 
library libhpmud.so.0: File not found
Jun 14 08:21:59 communicator scanimage: common/utils.c 189: unable to load 
library libhpmud.so.0: File not found
Jun 14 08:21:59 communicator scanimage: common/utils.c 221: Invalid Library 
hanlder pLibHandler = NULL.

yay, so to overcome the problem I did:
ln -s /usr/local/lib/libhpmud.so.2.0 /usr/local/lib/libhpmud.so.0.0

and voila, scanning works!

not sure if this is now a fault of  sane-backends or hplip?

I'm on a only few weeks old amd64 snapshot:

hpaio-3.14.4p0 HP sane(7) scanner backend
hpcups-3.14.4p0 HP native CUPS driver
hpijs-3.14.4 HP ghostscript driver (spooler independent)
hplip-3.14.4p0 HP Linux Imaging and Printing
hplip-common-3.14.4 HPLIP applications common files
hplip-gui-3.14.4 HPLIP graphical tools
sane-backends-1.0.24p0 API for accessing scanners, backends
xsane-0.999 scanner frontend for SANE

cheers,
Sebastian

Reply via email to