Deskjet F4240: can scan but cannot print

Asked by Jose

I was able to install HPLIP without any problems and was able to configure printer. I can scan but cannot print.

Thank you

Jose

Output from hp-check -t:

Initializing. Please wait...

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

Basic system information:
Linux localhost.localdomain 2.6.26.3-29.fc9.i686 #1 SMP Wed Sep 3 03:42:27 EDT 2008 i686 i686 i386 GNU/Linux

Distribution:
fedora 9

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

Checking Python version...
OK, version 2.5.1 installed

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

Checking SIP version...
OK, Version 4.7.6 installed

Checking for CUPS...
Status: scheduler is running
Version: 1.3.7
error_log is set to level: info
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.83.0

------------------------------------
| 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 3- Qt interface for Python (for Qt version 3.x)...
OK, found.

Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
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...
OK, found.

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

Currently installed HPLIP version...
HPLIP 2.8.9 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.9

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/HP
ppdbase=/usr/share/cups/model
doc=/usr/share/doc/hplip-2.8.9
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
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=yes
internal-tag=2.8.9.0
restricted-build=no
ui-toolkit=qt3

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

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

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

Cups-PDF
--------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: cups-pdf:/
PPD: /etc/cups/ppd/Cups-PDF.ppd
PPD Description: Generic CUPS-PDF Printer
Printer status: printer Cups-PDF is idle. enabled since Sun 21 Sep 2008 01:48:32 AM CDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
Deskjet-F4200-series
--------------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/Deskjet_F4200_series?serial=CN84M39190052D
PPD: /etc/cups/ppd/Deskjet-F4200-series.ppd
PPD Description: HP Deskjet f4200 series Foomatic/hpijs, hpijs 2.8.9
Printer /usr/lib/cups/backend/hp failederies disabled since Sun 21 Sep 2008 02:15:03 AM CDT -
Communication status: Good

Deskjet_F4200
-------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/Deskjet_F4200_series?serial=CN84M39190052D
PPD: /etc/cups/ppd/Deskjet_F4200.ppd
PPD Description: HP Deskjet f4200 series Foomatic/hpijs, hpijs 2.8.9
Printer /usr/lib/cups/backend/hp faileds idle. enabled since Sun 21 Sep 2008 08:25:10 AM CDT
Communication status: Good

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

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

Checking output of 'scanimage -L'...
device `hpaio:/usb/Deskjet_F4200_series?serial=CN84M39190052D' is a Hewlett-Packard Deskjet_F4200_series all-in-one

---------------------
| 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 002:002:
    Device URI: hp:/usb/Deskjet_F4200_series?serial=CN84M39190052D
    Device node: /dev/bus/usb/002/002
    Mode: 0666
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/002
# owner: root
# group: lp
user::rw-
group::rw-
other::rw-

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

error: 1 error or warning.

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

Done.

##########

Output from hp-probe:

HP Linux Imaging and Printing System (ver. 2.8.9)
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.

--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num Connection Description
            Type
  -------- ---------- ----------------------------------------------------------
  0* usb Universal Serial Bus (USB)
  1 net Network/Ethernet/Wireless (direct connection or JetDirect)

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

Using connection type: usb

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

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

Found 1 printer(s) on the 'usb' bus.

Done.

#########

Output from hp-makeuri:

HP Linux Imaging and Printing System (ver. 2.8.9)
Device URI Creation Utility ver. 5.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.

Creates device URIs for local and network connected printers for use with CUPS.

Usage: hp-makeuri [OPTIONS] [SERIAL NO.|USB ID|IP|DEVNODE]

[SERIAL NO.|USB ID|IP|DEVNODE]
  USB IDs (usb "xxx:yyy" where xxx is the USB bus ID and yyy is the
  only): USB device ID. The ':' and all leading zeroes must be
                      present.
                      (Use the 'lsusb' command to obtain this information.
                      See Note 1.)
  IPs (network IPv4 address "a.b.c.d" or "hostname"
  only):
  DEVNODE (parallel "/dev/parportX", X=0,1,2,...
  only):
  SERIAL NO. (usb "serial no."
  and parallel
  only):

[OPTIONS]
  To specify the -p<port> or --port=<port> (Valid values are 1*, 2, and
  port on a 3. *default)
  multi-port
  JetDirect:
  Show the CUPS URI -c or --cups
  only (quiet mode):
  Show the SANE URI -s or --sane
  only (quiet mode):
  Show the HP Fax -f or --fax
  URI only (quiet
  mode):
  Set the logging -l<level> or --logging=<level>
  level:
                      <level>: none, info*, error, warn, debug (*default)
  Run in debug mode: -g (same as option: -ldebug)
  This help -h or --help
  information:

Examples:
  USB: $ hp-makeuri 001:002
  Network: $ hp-makeuri 66.35.250.209
  Parallel: $ hp-makeuri /dev/parport0
  USB or parallel $ hp-makeuri US123456789
  (using serial
  number):

Notes:
1. Example using 'lsusb' to obtain USB bus ID and USB device ID (example only, the values you obtain will differ) :
 $ lsusb
 Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard
 $ hp-makeuri 003:011
 (Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)

See Also:
hp-setup

error: You must specify one SERIAL NO., IP, USB ID or DEVNODE parameter.

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jose (joseruiz) said :
#1

I also have SELinux disabled

Thank you

Jose

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#2

Jose,

Please run:

tail -f /var/log/messages

Try and print--then post the entire /var/log/messages output.

Thanks!

Aaron

Revision history for this message
Jose (joseruiz) said :
#3

Aaron,

I typed: tail -f /var/log/messages and tried to print something.

There is no output. Not sure what to do

Thanks,

Jose

Revision history for this message
Jose (joseruiz) said :
#4

Aaron,

I found out the logging service was turned off, I turned it on and here are the results from tail -f /var/log/messages:

[root@ruiztravislaw ~]# tail -f /var/log/messages
Sep 25 21:33:08 ruiztravislaw gconfd (jruiz-2305): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only
configuration source at position 2
Sep 25 21:33:14 ruiztravislaw gconfd (jruiz-2305): Resolved address
"xml:readwrite:/home/jruiz/.gconf" to a writable configuration source
at position 0
Sep 25 21:33:15 ruiztravislaw kernel: fuse init (API version 7.9)
Sep 25 21:33:33 ruiztravislaw python: hp-systray[2345]: error: option
-s not recognized
Sep 25 21:33:33 ruiztravislaw python: hp-systray[2350]: error: option
-s not recognized
Sep 25 21:33:33 ruiztravislaw python: hp-systray[2349]: error: option
-s not recognized
Sep 25 21:33:33 ruiztravislaw python: hp-systray[2344]: error: option
-s not recognized
Sep 25 21:33:33 ruiztravislaw python: hp-systray[2348]: error: option
-s not recognized
Sep 25 21:33:33 ruiztravislaw python: hp-systray[2347]: error: option
-s not recognized
Sep 25 21:33:33 ruiztravislaw python: hp-systray[2346]: error: option
-s not recognized
Sep 25 21:38:29 ruiztravislaw kernel: usblp0: removed
Sep 25 21:48:12 ruiztravislaw kernel: usb 2-1: USB disconnect, address 2

Revision history for this message
Jose (joseruiz) said :
#5

Aaron,

I have not heard anything from you in a while and am wondering if the issue is still being tracked?

Jose

Revision history for this message
Jose (joseruiz) said :
#6

Is anyone taking a look at this problem?

Jose

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#7

Jose,

Sorry for the delay. I've tested the DeskJet F4240 on Fedora 9 and it's working okay.

If possible lets try re-installing HPLIP.

Run:
su
rm -rf /usr/share/hplip

and then re-install hplip from our website: http://hplipopensource.com

Hope this helps.

Aaron

Revision history for this message
Jose (joseruiz) said :
#8

Aaron,

I tried to reinstall the software and now I get this message when I run:

 tail -f /var/log/messages

Oct 13 16:26:59 ruiztravislaw Deskjet_F4200_series?serial=CN84M39190052D: prnt/backend/hp.c 528: dBus Connection Error (Failed to connect to socket /var/run/dbus/system_bus_socket: Permission denied)!

Running hp-check -t gives me:

HP Linux Imaging and Printing System (ver. 2.8.9)
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 ruiztravislaw.com 2.6.26.5-45.fc9.i686 #1 SMP Sat Sep 20 03:45:00 EDT 2008 i686 i686 i386 GNU/Linux

Distribution:
fedora 9

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

Checking Python version...
OK, version 2.5.1 installed

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

Checking SIP version...
OK, Version 4.7.6 installed

Checking for CUPS...
Status: scheduler is running
Version: 1.3.8
error_log is set to level: info
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.83.0

------------------------------------
| 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 3- Qt interface for Python (for Qt version 3.x)...
OK, found.

Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
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...
OK, found.

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

Currently installed HPLIP version...
HPLIP 2.8.9 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.9

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/HP
ppdbase=/usr/share/cups/model
doc=/usr/share/doc/hplip-2.8.9
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
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=yes
internal-tag=2.8.9.0
restricted-build=no
ui-toolkit=qt3

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

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

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

Deskjet_F4200
-------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/Deskjet_F4200_series?serial=CN84M39190052D
PPD: /etc/cups/ppd/Deskjet_F4200.ppd
PPD Description: HP Deskjet f4200 series Foomatic/hpijs, hpijs 2.8.9
Printer /usr/lib/cups/backend/hp failedisabled since Mon 13 Oct 2008 04:27:13 PM CDT -
Communication status: Good

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

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

Checking output of 'scanimage -L'...
device `hpaio:/usb/Deskjet_F4200_series?serial=CN84M39190052D' is a Hewlett-Packard Deskjet_F4200_series all-in-one

---------------------
| 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 001:002:
    Device URI: hp:/usb/Deskjet_F4200_series?serial=CN84M39190052D
    Device node: /dev/bus/usb/001/002
    Mode: 0666
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/002
# owner: root
# group: lp
user::rw-
group::rw-
other::rw-

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

No errors or warnings.

Done.

Revision history for this message
Launchpad Janitor (janitor) said :
#9

This question was expired because it remained in the 'Open' state without activity for the last 15 days.