HP Deskjet F4240 does not print with Debian Lenny 5.0.3

Asked by Nilaundefined Brighteye

HP Deskjet F4240 is recognized by kernel, installed by Operating System, but does not perform any printing jobs.
Here is output of hp-check command :
localhost:/home/user# hp-check

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...
warning: Invalid ppd_dir value: None

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux user 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009 i686 GNU/Linux

Distribution:
debian 5.0.3

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

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt version...
error: NOT FOUND OR FAILED TO LOAD!

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

Checking for CUPS...
Status: планировщик запущен
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.

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.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
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: 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.

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.

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.

Checking for dependency: libpthread - POSIX threads library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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.

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.

Checking for dependency: make - GNU make utility to maintain groups of programs...
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: 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...
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...
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: 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...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

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.

Checking for dependency: scanimage - Shell scanning program...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

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

  Device URI Model
  -------------------------------------------------- -------------------------
  hp:/usb/Deskjet_F4200_series?serial=CN0001Z0G8052B HP Deskjet F4200 series

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

warning: No queues found.

----------------------
| 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'...
error: scanimage not found.

---------------------
| 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 0x2504 at 005:003:
    Device URI: hp:/usb/Deskjet_F4200_series?serial=CN0001Z0G8052B
    Device node: /dev/bus/usb/005/003
    Mode: 0664

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

error: 19 errors and/or warnings.

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

Done.

What else to say? Few dependencies are missing from original packages provided by Debian team. Better I will surround dependencies with "[]" or it becomes complete mess.I could not find [cups-devel],[libnetsnmp-devel],[libpthread] they are missing from database of availible packages. [dbus],[libusb] are actually installed but that is not so according to this log. [gcc] has got four versions i.e. no version,3.4, 4.1, 4.2, 4.3 and I have no idea which one is necessary. [libcrypto] is missing, I've got libcrypto++7 instead. Same story for [libjpeg] - [libjpeg62] is installed by default. [libtool],[make] are shown as required for dependency, but has not been installed during compilation of [hplip]. [python-devel] - Python development files, [PyQt] - Qt interface for Python are not present at availible database of packages. Reportlab - PDF library for Python is named as [python-reportlab] according to Synaptic - package manager. SANE - Scanning library development files are undefined according to packages. [scanimage] is not present.
Ain't that enough?
I got tired in the end printing all this. Finally switched on my System->Administration->Printing menu. Got to my model that was already there and right clicked at that. From context menu, selected Edit. In that window select tab Parameters and change URL of device by pressing the button Change. It will bring out list of possible devices from which I picked up my HP Deskjet F4200 Series printer. Than follows series of questions that you have to answer properly sticking to your model and manufacturer. Final quiz was about PPD settings. First I choose use old then changed to new. Nothing comes out. Just apply the changes preferably new. That's all done for now. Don't forget to power ON your printer in advance! As well as supply some paper in it. Works fine for me now! Even without all that headache reading hp-check output!

Question information

Language:
English Edit question
Status:
Solved
For:
Debian hplip Edit question
Assignee:
No assignee Edit question
Solved by:
Nilaundefined Brighteye
Solved:
Last query:
Last reply:
Revision history for this message
anup (osta6161) said :
#1

Link seems to have expired. If the problem is still existing , please run hp-check -t and post it here.

Thanks,

A

Revision history for this message
Nilaundefined Brighteye (nikobit) said :
#2

and by the way. Upon fixing printer comes out scanner topic. To solve - assign user to group "scanner". In the file /etc/sane.d/v4l.conf comment line which is bothering you while starting XSANE. For me it was /dev/video0. After that I got my scanner up and running!

Revision history for this message
AdrianBeier (adrianbeier) said :
#3

I've been having some issues with my HP Deskjet F4240 printer. It works fine on Windows, but when I try to print from Linux (Debian Lenny 5.0.3), it won't print at all. The error message that shows up is "Error initializing the USB interface."I've checked that everything is wired properly and even tried a different cable (and still no luck). I will also visit https://www.college-paper.org/buy-college-papers-online/ website for help in my papers. I'm also able to see the printer in Ubuntu's "Devices" menu, but when I go to "Printers" and click on it, nothing happens -- not even a confirmation that the printer is enabled or unavailable.