can print but not scan with hp deskjet f2410 - fixed

Asked by mickfp

I fixed this by installing hpoj then running /etc/init.d/hpoj setup as suggested.
--------------------------------------------------------------------------------------------------------

I've got a shiny new hp desktop f2410 runing on an up-to-date Debian 5.0.3.

I can print fine but not scan.

lsusb shows -
Bus 005 Device 009: ID 03f0:7611 Hewlett-Packard

The HPLIP can't find the printer. When I put in the usb address it identifies it as
HP Deskjet d2400 series Foomatic/hpijs but when I click through to finish it returns "printer error"

When I run gimp and try file->acquire->xsane
/var/log/syslog shows:

Oct 21 23:32:01 localhost scanimage: io/hpmud/model.c 524: no Deskjet_F2400_series attributes found in /usr/share/hplip/data/models/models.dat
Oct 21 23:32:01 localhost scanimage: io/hpmud/model.c 535: no Deskjet_F2400_series attributes found in /usr/share/hplip/data/models/unreleased/unreleased.dat
Oct 21 23:32:01 localhost scanimage: io/hpmud/musb.c 1969: ignoring hp:/usb/Deskjet_F2400_series?serial=CN97O1S25M05H4 support=0

running hp-check -t gives

HP Linux Imaging and Printing System (ver. 2.8.6b)
Dependency/Version Check Utility ver. 14.0

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 fpb0 2.6.26-2-686 #1 SMP Wed Aug 19 06:06:52 UTC 2009 i686 GNU/Linux

Distribution:
debian 5.0

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

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
error: SIP not installed or version not found.

Checking for CUPS...
Status: scheduler is running
error: Version: (Not available. CUPS may not be installed or not running.)

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...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "apt-get install --force-yes -y libcupsys2-dev cupsys-bsd"

Checking for dependency: dbus - Message bus system...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "apt-get install --force-yes -y libdbus-1-dev"

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...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "apt-get install --force-yes -y libssl-dev"

Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "apt-get install --force-yes -y libjpeg62-dev"

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "apt-get install --force-yes -y libsnmp-dev"

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

Checking for dependency: libtool - Library building support services...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "apt-get install --force-yes -y libtool"

Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "apt-get install --force-yes -y libusb-dev"

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 - Qt interface for Python...
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...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "apt-get install --force-yes -y python-dev"

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...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
su -c "apt-get install --force-yes -y libsane-dev"

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 2.8.6b 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=2.8.6b

[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=2.8.6.20b

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

No devices found.

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

No devices found.

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

Deskjet_F2400
-------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/Deskjet_F2400_series?serial=CN97O1S25M05H4
PPD: /etc/cups/ppd/Deskjet_F2400.ppd
PPD Description: HP Deskjet d2400 series Foomatic/hpijs, hpijs 2.8.6b
printer Deskjet_F2400/zzz is idle. enabled since Wed 21 Oct 2009 23:30:30 EST23:30:30 EST
error: Unsupported model: Deskjet_F2400_series

Deskjet_F2400/zzz
-----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/Deskjet_F2400_series?serial=CN97O1S25M05H4
error: Unsupported model: Deskjet_F2400_series

epsoncx3900
-----------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: usb://EPSON/Stylus%20CX3900
PPD: /etc/cups/ppd/epsoncx3900.ppd
PPD Description: Epson Stylus CX3805 Foomatic/gutenprint-ijs-simplified.5.0
Printer Paused: printer epsoncx3900 disabled since Wed 21 Oct 2009 10:05:43 EST -
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp2410cups2
-----------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: usb://HP/Deskjet%20F2400%20series?serial=CN97O1S25M05H4
PPD: /etc/cups/ppd/hp2410cups2.ppd
PPD Description: HP PSC 2400 series Foomatic/hpijs, hpijs 2.8.6b
Printer status: printer hp2410cups2 is idle. enabled since Wed 21 Oct 2009 18:05:54 EST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

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

'hpaio' in '/etc/sane.d/dll.conf'...
error: Not found. SANE backend 'hpaio' NOT properly setup (needs to be added to /etc/sane.d/dll.conf).

Checking output of 'scanimage -L'...

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).

---------------------
| 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 0x7611 at 005:009:
    Device URI: hp:/usb/Deskjet_F2400_series?serial=CN97O1S25M05H4
    Device node: /dev/bus/usb/005/009
    Mode: 0664

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

error: 16 errors and/or warnings.

Summary of needed commands to run to satisfy missing dependencies:
su -c "apt-get install --force-yes -y libcupsys2-dev cupsys-bsd"
su -c "apt-get install --force-yes -y libdbus-1-dev"
su -c "apt-get install --force-yes -y libssl-dev"
su -c "apt-get install --force-yes -y libjpeg62-dev"
su -c "apt-get install --force-yes -y libsnmp-dev"
su -c "apt-get install --force-yes -y libtool"
su -c "apt-get install --force-yes -y libusb-dev"
su -c "apt-get install --force-yes -y python-dev"
su -c "apt-get install --force-yes -y libsane-dev"

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Done.

This is my money machine so I don't really want to start force installing what look like development and/or superceded packages.

Any help would be much appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
mickfp
Solved:
Last query:
Last reply:
Revision history for this message
Suma Byrappa (suma-byrappa) said :
#1

Hi,

You are using an old version of HPLIP. Can you please upgrade to the latest HPLIP available and let me know if it helps?

Regards,
Suma

Revision history for this message
mickfp (mickfp) said :
#2

Suma,

Thanks for the help.

I tried the printer on a similar setup using hplip-3.9.8.run.

The system couldn't find the printer even when I put in the usb address manually.

I can currently print and scan but have to restart the printer between scanning and printing.

mickfp.

Revision history for this message
Suma Byrappa (suma-byrappa) said :
#3

Hi,

Can you post the output of "hp-check -t" with your hplip-3.9.8 installation? Also, please post the output of commands "hp-probe" and "hp-mkuri".

Have you tried using "print" and "scan" features from HP Device Manager UI? You can run it using "hp-toolbox", setup a device usingthe menu option "Device" and try using print and scan from "Actions" tab. Let me know your observation on this.

Thanks,
Suma

Revision history for this message
mickfp (mickfp) said :
#4

Suma,

hp-toolbox/hp-setup can't find the printer. When I put in the address it correctly identifies it but then nothing else.

Here's hp-check -t then hp-probe and hp-mkuri ---

(hp-check says "error: Unsupported model: Deskjet_F2400_series" which must be a worry)

ibm20:~# hp-check -t

HP Linux Imaging and Printing System (ver. 3.9.8)
Dependency/Version Check Utility ver. 14.0

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 ibm20 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux

Distribution:
debian 5.0

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

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
error: SIP not installed or version not found.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.8
error_log is set to level: warn
note: For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file /etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with 'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log

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: 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 - Qt interface for Python...
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 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...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
To install this dependency, execute this command:
su -c "apt-get install --force-yes -y sane"

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

Currently installed HPLIP version...
HPLIP 3.9.8 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.8

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

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
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=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no

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

No devices found.

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

Deskjet_F2400_2
---------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/Deskjet_F2400_series?serial=CN97O1S25M05H4
PPD: /etc/cups/ppd/Deskjet_F2400_2.ppd
PPD Description: HP Deskjet d2400 series Foomatic/hpijs, hpijs 2.8.6.20b - HPLIP 2.8.6.b
Printer status: printer Deskjet_F2400_2 is idle. enabled since Thu 05 Nov 2009 19:47:59 EST
error: Unsupported model: Deskjet_F2400_series

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

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

Checking output of 'scanimage -L'...

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).

---------------------
| 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 0x7611 at 004:006:
    Device URI: hp:/usb/Deskjet_F2400_series?serial=CN97O1S25M05H4
    Device node: /dev/bus/usb/004/006
    Mode: 0664

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

error: 3 errors and/or warnings.

Summary of needed commands to run to satisfy missing dependencies:
su -c "apt-get install --force-yes -y sane"

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Done.
ibm20:~#
ibm20:~#
ibm20:~#
ibm20:~#
ibm20:~#
ibm20:~# hp-probe

HP Linux Imaging and Printing System (ver. 3.9.8)
Printer Discovery Utility ver. 4.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.

warning: hp-probe should not be run as root.

--------------------------
| CHOOSE CONNECTION TYPE |
--------------------------

  Num. Connection Type Connection Type Description
  -------------------- -------------------- ----------------------------------------
  0* usb Universal Serial Bus (USB)
  1 net Network/Ethernet/Wireless (direct
                                              connection or JetDirect)
  2 par Parallel Port (LPT:)

Enter number 0...2 for connection type (q=quit, enter=usb*) ?

--------------------
| DEVICE DISCOVERY |
--------------------

warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
warning: check to make sure your devices are properly connected and powered on.

Done.
ibm20:~#
ibm20:~#
ibm20:~#
ibm20:~#
ibm20:~#
ibm20:~# lsusb
Bus 004 Device 006: ID 03f0:7611 Hewlett-Packard
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
ibm20:~# hp-mkuri -b 004 -d 006
hp:/usb/Deskjet_F2400_series?serial=CN97O1S25M05H4
hpaio:/usb/Deskjet_F2400_series?serial=CN97O1S25M05H4

Revision history for this message
mickfp (mickfp) said :
#5

Fixed this by installing hplip-3.9.10.

Prints and scans fine now.