Philippe R?tornaz has written a SANE backend for HP Laserjet M1005 MFP that can be downloaded from: http://www.zarb.org/~couriousous/ This link can be reached from www.sane-project.org. However, the page just includes the driver. Just in the case than someone needs help to compile and install that driver, I would like to post the steps that I have done in an ubuntu 7.04 system:
* Get the sources of package sane-devel: mkdir ~/src cd ~/src apt-get source sane-backends * Download hpljm1005.c from http://www.zarg.org/~couriosous/hpljm1005.c: and copy the file to ~/src/sane-backends-1.0.18/backend * Modify build files: Add hpljm1005 in sane-backends-1.0.18/configure, at line 37 (variable "BACKENDS"). * Create file /etc/sane.d/hpljm1005.conf with the following lines: # # Configuration file for the HPLJM1005 backend # # HPLJM1005 usb 0x03f0 0x3b17 device auto * install necessary packages to build sudo apt-get build-dep sane-backends * build sane-backends cd ~/src/sane-backends ./configure make Compile manualy .libs/libsane-hpljm1005.so.1.0.18 since the file generated lacks some symbols. I have added ../sanei/.libs/sanei_init_debug.o ../sanei/sanei_constrain_value.o to the files used in the compilation generated by the original Makefile: : gcc -shared .libs/hpljm1005.o .libs/hpljm1005-s.o .libs/sane_strstatus.o ../sanei/.libs/sanei_init_debug.o ../sanei/sanei_constrain_value.o ../sanei/.libs/sanei_config.o ../sanei/.libs/sanei_usb.o /usr/lib/libusb.so -lpthread -lm /usr/lib/libjpeg.so /usr/lib/libtiff.so -L/usr/lib /usr/lib/libieee1284.so -ldl -Wl,-soname -Wl,libsane.so.1 -o .libs/libsane-hpljm1005.so.1.0.18 * Generate the modified package: dpkg-buildpackage -rsudo * Install the packages generated: cd ~/src sudo dpkg -i *.deb -- Santiago.Dominguez at carm.es Santiago Dom?nguez Barrios Tlf 968-362853. Fax: 968-366277 Jefe de Servicio de Gesti?n Inform?tica Consejer?a de Agricultura y Agua Comunidad Aut?noma Regi?n de Murcia Pl. Juan XXIII s/n 30008
