HP LaserJet 2420 won't print

Asked by Nick B.

Binary package hint: hplip

This printer, HP LaserJet 2420, doesn't print at all. It's detected ok, but it seems the hp:/ URI doesn't work with this printer. In Hardy I was able to use gnome-cups-manager (which isn't available anymore in Jaunty) to change the device to the one listed with a USB # following it. This changed the URI to one beginning with usb:// which worked. Nothing seems to work in Jaunty, even trying to manually change the URI in system-config-printer does nothing.

When I try to print something on this printer a bunch of these messages show up in the log

hp_LaserJet_2420?serial=CNGKC94042: io/hpmud/mlc.c 238: unable to read MlcReverseReply header: Resource temporarily unavailable bytesRead=0
hp_LaserJet_2420?serial=CNGKC94042: io/hpmud/mlc.c 347: invalid MLCInitReply retrying command...
hp_LaserJet_2420?serial=CNGKC94042: io/hpmud/mlc.c 238: unable to read MlcReverseReply header: Resource temporarily unavailable bytesRead=0
hp_LaserJet_2420?serial=CNGKC94042: io/hpmud/mlc.c 357: invalid MLCInitReply: cmd=0, result=3 , revision=0
hp_LaserJet_2420?serial=CNGKC94042: prnt/backend/hp.c 712: INFO: open print channel failed stat=12; will retry in 30 seconds...

Steps to reproduce.
1. Install printer with system-config-printer
2. Try to print the Test Page
3. Nothing happens

What should happen: It should print.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Lpstat:
 device for hp-LaserJet-2420: hp:/usb/hp_LaserJet_2420?serial=CNGKC94042
 device for hp_color_LaserJet_2550_series: hp:/usb/hp_color_LaserJet_2550_series?serial=00CNGHD04595
 device for PDF: cups-pdf:/
MachineType: HP-Pavilion KT608AV-ABA d5000t
NonfreeKernelModules: nvidia
Package: hplip 3.9.2-3ubuntu4
Papersize: letter
PpdFiles:
 /etc/cups/ppd/hp_color_LaserJet_2550_series.ppd:*NickName: "HP Color LaserJet 2550 Series Postscript (recommended)"
 hp-LaserJet-2420: HP LaserJet 2420 Postscript (recommended)
 hp-color-LaserJet-2550-series: HP Color LaserJet 2550 Foomatic/Postscript
 PDF: Generic CUPS-PDF Printer
ProcCmdLine: root=UUID=e6a1a01e-d5dd-4b59-b460-e8df9e14b3a2 ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.28-11.42-generic
SourcePackage: hplip

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu hplip Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:

This question was originally filed as bug #384198.

Revision history for this message
Nick B. (futurepilot) said :
#1
Revision history for this message
amitdoegar (amit-nitttrchd) said :
#2

ubuntu 9.04 and hp 2420 dn printer problem

it shows print sucesffuly neither any print came nor any error

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

Hi Nick,

I think it is better if you try this installation procedure instead:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Run the following command

sudo aptitude update; sudo aptitude install hplip-gui

Then run the following command to start the driver configuration tool:

hp-setup

Here are more tools related to the hplip package:

$ ls -l /usr/bin/hp*
lrwxrwxrwx 1 root root 23 2009-06-02 21:27 /usr/bin/hp-align -> ../share/hplip/align.py
lrwxrwxrwx 1 root root 23 2009-06-02 21:27 /usr/bin/hp-check -> ../share/hplip/check.py
lrwxrwxrwx 1 root root 23 2009-06-02 21:27 /usr/bin/hp-clean -> ../share/hplip/clean.py
lrwxrwxrwx 1 root root 26 2009-06-02 21:27 /usr/bin/hp-colorcal -> ../share/hplip/colorcal.py
lrwxrwxrwx 1 root root 29 2009-06-02 21:27 /usr/bin/hp-devicesetup -> ../share/hplip/devicesetup.py
lrwxrwxrwx 1 root root 21 2009-06-02 21:27 /usr/bin/hp-fab -> ../share/hplip/fab.py
lrwxrwxrwx 1 root root 26 2009-06-02 21:27 /usr/bin/hp-faxsetup -> ../share/hplip/faxsetup.py
lrwxrwxrwx 1 root root 26 2009-06-02 21:27 /usr/bin/hp-firmware -> ../share/hplip/firmware.py
lrwxrwxrwx 1 root root 23 2009-06-02 21:27 /usr/bin/hp-hpdio -> ../share/hplip/hpdio.py
-rwxr-xr-x 1 root root 606524 2009-06-02 09:51 /usr/bin/hpijs
lrwxrwxrwx 1 root root 22 2009-06-02 21:27 /usr/bin/hp-info -> ../share/hplip/info.py
lrwxrwxrwx 1 root root 24 2009-06-02 21:27 /usr/bin/hp-levels -> ../share/hplip/levels.py
lrwxrwxrwx 1 root root 29 2009-06-02 21:27 /usr/bin/hp-linefeedcal -> ../share/hplip/linefeedcal.py
lrwxrwxrwx 1 root root 28 2009-06-02 21:27 /usr/bin/hp-makecopies -> ../share/hplip/makecopies.py
lrwxrwxrwx 1 root root 25 2009-06-02 21:27 /usr/bin/hp-makeuri -> ../share/hplip/makeuri.py
-rwxr-xr-x 1 root root 13780 2009-06-02 09:51 /usr/bin/hp-mkuri
lrwxrwxrwx 1 root root 27 2009-06-02 21:27 /usr/bin/hp-pkservice -> ../share/hplip/pkservice.py
lrwxrwxrwx 1 root root 24 2009-06-02 21:27 /usr/bin/hp-plugin -> ../share/hplip/plugin.py
lrwxrwxrwx 1 root root 24 2009-06-02 21:27 /usr/bin/hp-pqdiag -> ../share/hplip/pqdiag.py
lrwxrwxrwx 1 root root 23 2009-06-02 21:27 /usr/bin/hp-print -> ../share/hplip/print.py
lrwxrwxrwx 1 root root 31 2009-06-02 21:27 /usr/bin/hp-printsettings -> ../share/hplip/printsettings.py
lrwxrwxrwx 1 root root 23 2009-06-02 21:27 /usr/bin/hp-probe -> ../share/hplip/probe.py
lrwxrwxrwx 1 root root 23 2009-06-02 21:27 /usr/bin/hp-query -> ../share/hplip/query.py
lrwxrwxrwx 1 root root 22 2009-06-02 21:27 /usr/bin/hp-scan -> ../share/hplip/scan.py
lrwxrwxrwx 1 root root 25 2009-06-02 21:27 /usr/bin/hp-sendfax -> ../share/hplip/sendfax.py
lrwxrwxrwx 1 root root 23 2009-06-02 21:27 /usr/bin/hp-setup -> ../share/hplip/setup.py
lrwxrwxrwx 1 root root 25 2009-06-02 21:27 /usr/bin/hp-systray -> ../share/hplip/systray.py
lrwxrwxrwx 1 root root 26 2009-06-02 21:27 /usr/bin/hp-testpage -> ../share/hplip/testpage.py
lrwxrwxrwx 1 root root 26 2009-06-02 21:27 /usr/bin/hp-timedate -> ../share/hplip/timedate.py
lrwxrwxrwx 1 root root 25 2009-06-02 21:27 /usr/bin/hp-toolbox -> ../share/hplip/toolbox.py
lrwxrwxrwx 1 root root 24 2009-06-02 21:27 /usr/bin/hp-unload -> ../share/hplip/unload.py
$

Regards,

Mark

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#4

Hi,

One more thing: if my previous advice does not solve your issue, you can also get the drivers for your printer here:

http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_2420

Make sure that the hpijs driver is installed by running this command:

sudo aptitude update; sudo aptitude install foomatic-db-hpijs hpijs-ppds hpijs

Regards,

Mark

Revision history for this message
Nick B. (futurepilot) said :
#5

I have tried installing the printer with hplip-gui with no different result. I also tried the PPD from the Open Printing Database link also with no different result. All of the necessary packages are installed. I'm pretty sure this is a bug, if not with hplip then possibly with CUPS.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#6

Hi,

Have you also tried the CUPS+Gutenprint driver on the link I gave you?

The URL is the same:

http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_2420

If the Gutenprint driver does not work, please send us the output of the following command:

hp-check -t

Regards,

Mark

Revision history for this message
Nick B. (futurepilot) said :
#7

Gutenprint did not work.

Output of hp-check -t

hp-check[22607]: info: :
Initializing. Please wait...
Ubuntu

9.04

scheduler is running

Linux Desktop-PC 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux

hp-check[22607]: info: :
hp-check[22607]: info: :---------------
hp-check[22607]: info: :| SYSTEM INFO |
hp-check[22607]: info: :---------------
hp-check[22607]: info: :
hp-check[22607]: info: :Basic system information:
hp-check[22607]: info: :Linux Desktop-PC 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux

hp-check[22607]: info: :
hp-check[22607]: info: :Distribution:
hp-check[22607]: info: :ubuntu 9.04
hp-check[22607]: info: :
HPOJ running?
hp-check[22607]: info: :No, HPOJ is not running (OK).
hp-check[22607]: info: :
hp-check[22607]: info: :Checking Python version...
hp-check[22607]: info: :OK, version 2.6.2 installed
hp-check[22607]: info: :
hp-check[22607]: info: :Checking PyQt 4.x version...
hp-check[22607]: info: :OK, version 4.4.4 installed.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for CUPS...
hp-check[22607]: info: :Status: scheduler is running
error: Version: (Not available. CUPS may not be installed or not running.)
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dbus/python-dbus...
hp-check[22607]: info: :dbus daemon is running.
hp-check[22607]: info: :python-dbus version: 0.83.0
hp-check[22607]: info: :
hp-check[22607]: info: :
hp-check[22607]: info: :------------------------------------
hp-check[22607]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[22607]: info: :------------------------------------
hp-check[22607]: info: :
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).
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: CUPS DDK - CUPS driver development kit...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :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.
hp-check[22607]: info: :To install this dependency, execute this command:
hp-check[22607]: info: :sudo aptitude install --assume-yes libcupsys2-dev cupsys-bsd
hp-check[22607]: info: :
hp-check[22607]: info: :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.
hp-check[22607]: info: :To install this dependency, execute this command:
hp-check[22607]: info: :sudo aptitude install --assume-yes libdbus-1-dev
hp-check[22607]: info: :
hp-check[22607]: info: :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.
hp-check[22607]: info: :To install this dependency, execute this command:
hp-check[22607]: info: :sudo aptitude install --assume-yes build-essential
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :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.
hp-check[22607]: info: :To install this dependency, execute this command:
hp-check[22607]: info: :sudo aptitude install --assume-yes openssl
hp-check[22607]: info: :
hp-check[22607]: info: :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.
hp-check[22607]: info: :To install this dependency, execute this command:
hp-check[22607]: info: :sudo aptitude install --assume-yes libjpeg62-dev
hp-check[22607]: info: :
hp-check[22607]: info: :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.
hp-check[22607]: info: :To install this dependency, execute this command:
hp-check[22607]: info: :sudo aptitude install --assume-yes libsnmp-dev
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :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.
hp-check[22607]: info: :To install this dependency, execute this command:
hp-check[22607]: info: :sudo aptitude install --assume-yes libtool
hp-check[22607]: info: :
hp-check[22607]: info: :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.
hp-check[22607]: info: :To install this dependency, execute this command:
hp-check[22607]: info: :sudo aptitude install --assume-yes libusb-dev
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: Python ctypes - A foreign function library for Python...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :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.
hp-check[22607]: info: :To install this dependency, execute this command:
hp-check[22607]: info: :sudo aptitude install --assume-yes python2.5-dev
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: Python XML libraries...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: SANE - Scanning library...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :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.
hp-check[22607]: info: :To install this dependency, execute this command:
hp-check[22607]: info: :sudo aptitude install --assume-yes libsane-dev
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :
hp-check[22607]: info: :----------------------
hp-check[22607]: info: :| HPLIP INSTALLATION |
hp-check[22607]: info: :----------------------
hp-check[22607]: info: :
hp-check[22607]: info: :
hp-check[22607]: info: :Currently installed HPLIP version...
hp-check[22607]: info: :HPLIP 3.9.2 currently installed in '/usr/share/hplip'.
hp-check[22607]: info: :
hp-check[22607]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[22607]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.2

[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=3.9.2.49
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes

hp-check[22607]: info: :
hp-check[22607]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[22607]: info: :[last_used]
device_uri = hp:/usb/hp_LaserJet_2420?serial=CNGKC94042

[installation]
version = 3.9.2.49
date_time = 06/06/09 18:47:39

hp-check[22607]: info: :
hp-check[22607]: info: :-------------------------------
hp-check[22607]: info: :| DISCOVERED PARALLEL DEVICES |
hp-check[22607]: info: :-------------------------------
hp-check[22607]: info: :
hp-check[22607]: info: :No devices found.
hp-check[22607]: info: :
hp-check[22607]: info: :--------------------------
hp-check[22607]: info: :| DISCOVERED USB DEVICES |
hp-check[22607]: info: :--------------------------
hp-check[22607]: info: :
hp-check[22607]: info: : Device URI Model
hp-check[22607]: info: : -------------------------------- -----------------------------
hp-check[22607]: info: : hp:/usb/hp_color_LaserJet_2550_s HP color LaserJet 2550 series
  eries?serial=00CNGHD04595
hp-check[22607]: info: : hp:/usb/hp_LaserJet_2420?serial= HP LaserJet 2420
  CNGKC94042
hp-check[22607]: info: :
hp-check[22607]: info: :---------------------------------
hp-check[22607]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[22607]: info: :---------------------------------
hp-check[22607]: info: :
hp-check[22607]: info: :
hp-check[22607]: info: :hp-LaserJet-2420
hp-check[22607]: info: :----------------
hp-check[22607]: info: :Type: Printer
hp-check[22607]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[22607]: info: :Device URI: hp:/usb/hp_LaserJet_2420?serial=CNGKC94042
hp-check[22607]: info: :PPD: /etc/cups/ppd/hp-LaserJet-2420.ppd
hp-check[22607]: info: :PPD Description: HP LaserJet 2420 Postscript (recommended)
hp-check[22607]: info: :Printer status: printer hp-LaserJet-2420 is idle. enabled since Sat 06 Jun 2009 06:38:54 PM EDT

hp-check[22607]: info: :Communication status: Good
hp-check[22607]: info: :
hp-check[22607]: info: :hp_color_LaserJet_2550_series
hp-check[22607]: info: :-----------------------------
hp-check[22607]: info: :Type: Printer
hp-check[22607]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[22607]: info: :Device URI: hp:/usb/hp_color_LaserJet_2550_series?serial=00CNGHD04595
hp-check[22607]: info: :PPD: /etc/cups/ppd/hp_color_LaserJet_2550_series.ppd
hp-check[22607]: info: :PPD Description: HP Color LaserJet 2550 Series Postscript (recommended)
hp-check[22607]: info: :Printer status: printer hp_color_LaserJet_2550_series is idle. enabled since Sat 06 Jun 2009 04:22:59 PM EDT

hp-check[22607]: info: :Communication status: Good
hp-check[22607]: info: :
hp-check[22607]: info: :PDF
hp-check[22607]: info: :---
hp-check[22607]: info: :Type: Unknown
hp-check[22607]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[22607]: info: :Device URI: cups-pdf:/
hp-check[22607]: info: :PPD: /etc/cups/ppd/PDF.ppd
hp-check[22607]: info: :PPD Description: Generic CUPS-PDF Printer
hp-check[22607]: info: :Printer status: printer PDF is idle. enabled since Wed 02 Jul 2008 06:22:03 AM EDT

warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[22607]: info: :
hp-check[22607]: info: :----------------------
hp-check[22607]: info: :| SANE CONFIGURATION |
hp-check[22607]: info: :----------------------
hp-check[22607]: info: :
hp-check[22607]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[22607]: info: :'hpaio' in '/etc/sane.d/dll.d/hplip'...
hp-check[22607]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking output of 'scanimage -L'...
hp-check[22607]: info: :

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

hp-check[22607]: info: :
hp-check[22607]: info: :---------------------
hp-check[22607]: info: :| PYTHON EXTENSIONS |
hp-check[22607]: info: :---------------------
hp-check[22607]: info: :
hp-check[22607]: info: :Checking 'cupsext' CUPS extension...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking 'pcardext' Photocard extension...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking 'hpmudext' I/O extension...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :Checking 'scanext' SANE scanning extension...
hp-check[22607]: info: :OK, found.
hp-check[22607]: info: :
hp-check[22607]: info: :
hp-check[22607]: info: :-----------------
hp-check[22607]: info: :| USB I/O SETUP |
hp-check[22607]: info: :-----------------
hp-check[22607]: info: :
hp-check[22607]: info: :
hp-check[22607]: info: :Checking for permissions of USB attached printers...
hp-check[22607]: info: :
HP Device 0x1c17 at 002:005:
hp-check[22607]: info: : Device URI: hp:/usb/hp_color_LaserJet_2550_series?serial=00CNGHD04595
hp-check[22607]: info: : Device node: /dev/bus/usb/002/005
hp-check[22607]: info: : Mode: 0664
hp-check[22607]: info: :getfacl: Removing leading '/' from absolute path names

# file: dev/bus/usb/002/005

# owner: root

# group: lp

user::rw-

user:nick:rw-

group::rw-

mask::rw-

other::r--

hp-check[22607]: info: :
HP Device 0x2917 at 002:004:
hp-check[22607]: info: : Device URI: hp:/usb/hp_LaserJet_2420?serial=CNGKC94042
hp-check[22607]: info: : Device node: /dev/bus/usb/002/004
hp-check[22607]: info: : Mode: 0664
hp-check[22607]: info: :getfacl: Removing leading '/' from absolute path names

# file: dev/bus/usb/002/004

# owner: root

# group: lp

user::rw-

user:nick:rw-

group::rw-

mask::rw-

other::r--

hp-check[22607]: info: :
HP Device 0xf0c at 008:002:
hp-check[22607]: info: : Device URI: hp:/usb/USB_Multimedia_Wireless_Kit?serial=0
hp-check[22607]: info: : Device node: /dev/bus/usb/008/002
hp-check[22607]: info: : Mode: 0664
hp-check[22607]: info: :getfacl: Removing leading '/' from absolute path names

# file: dev/bus/usb/008/002

# owner: root

# group: vboxusers

user::rw-

group::rw-

other::r--

hp-check[22607]: info: :
hp-check[22607]: info: :-----------
hp-check[22607]: info: :| SUMMARY |
hp-check[22607]: info: :-----------
hp-check[22607]: info: :
error: 12 errors and/or warnings.
hp-check[22607]: info: :
hp-check[22607]: info: :Summary of needed commands to run to satisfy missing dependencies:
hp-check[22607]: info: :sudo aptitude install --assume-yes libcupsys2-dev cupsys-bsd
hp-check[22607]: info: :sudo aptitude install --assume-yes libdbus-1-dev
hp-check[22607]: info: :sudo aptitude install --assume-yes build-essential
hp-check[22607]: info: :sudo aptitude install --assume-yes openssl
hp-check[22607]: info: :sudo aptitude install --assume-yes libjpeg62-dev
hp-check[22607]: info: :sudo aptitude install --assume-yes libsnmp-dev
hp-check[22607]: info: :sudo aptitude install --assume-yes libtool
hp-check[22607]: info: :sudo aptitude install --assume-yes libusb-dev
hp-check[22607]: info: :sudo aptitude install --assume-yes python2.5-dev
hp-check[22607]: info: :sudo aptitude install --assume-yes libsane-dev
hp-check[22607]: info: :
hp-check[22607]: info: :Please refer to the installation instructions at:
hp-check[22607]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[22607]: info: :
hp-check[22607]: info: :Done.

Revision history for this message
Nick B. (futurepilot) said :
#8

I turned the cups error log to debug.

[Job 73] Adding start banner page "none".
Saving subscriptions.conf...
[Job 73] Adding end banner page "none".
[Job 73] File of type application/postscript queued by "nick".
[Job 73] hold_until=0
[Job 73] Queued on "hp-LaserJet-2420" by "nick".
Saving subscriptions.conf...
[Job 73] job-sheets=none,none
[Job 73] banner_page = 0
[Job 73] argv[0]="hp-LaserJet-2420"
[Job 73] argv[1]="73"
[Job 73] argv[2]="nick"
[Job 73] argv[3]="OpenPrinting/Database/ErrorLogFAQ - The Linux Foundation"
[Job 73] argv[4]="1"
[Job 73] argv[5]="Resolution=600x1200dpi HPwmTextMessage=Draft HPwmFontName=HelveticaB Smoothing=PrinterDefault HPJobName=DocName MediaType=None HPwmTextStyle=Medium HPwmSwitch=Off HPwmTextAngle=Deg45 PageSize=Letter HPEconoMode=PrinterDefault number-up=1 HPwmFontSize=pt48 HPwmBrightness=Medium Duplex=None InputSlot=Auto noManualFeed HPHalftone=PrinterDefault HPwmPages=AllPages HPUserName=FileSharingName job-uuid=urn:uuid:2c211c1c-6e7a-35b8-4485-3197d7782f08"
[Job 73] argv[6]="/var/spool/cups/d00073-001"
[Job 73] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
[Job 73] envp[1]="CUPS_DATADIR=/usr/share/cups"
[Job 73] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
[Job 73] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
[Job 73] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
[Job 73] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
[Job 73] envp[6]="CUPS_SERVERROOT=/etc/cups"
[Job 73] envp[7]="CUPS_STATEDIR=/var/run/cups"
[Job 73] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
[Job 73] envp[9]="SERVER_ADMIN=root@Desktop-PC"
[Job 73] envp[10]="SOFTWARE=CUPS/1.3.9"
[Job 73] envp[11]="TMPDIR=/var/spool/cups/tmp"
[Job 73] envp[12]="TZ=America/New_York"
[Job 73] envp[13]="USER=root"
[Job 73] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
[Job 73] envp[15]="CUPS_ENCRYPTION=IfRequested"
[Job 73] envp[16]="IPP_PORT=631"
[Job 73] envp[17]="CHARSET=utf-8"
[Job 73] envp[18]="LANG=en_US.UTF8"
[Job 73] envp[19]="PPD=/etc/cups/ppd/hp-LaserJet-2420.ppd"
[Job 73] envp[20]="RIP_MAX_CACHE=8m"
[Job 73] envp[21]="CONTENT_TYPE=application/postscript"
[Job 73] envp[22]="DEVICE_URI=hp:/usb/hp_LaserJet_2420?serial=CNGKC94042"
[Job 73] envp[23]="PRINTER=hp-LaserJet-2420"
[Job 73] envp[24]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
[Job 73] Started filter /usr/lib/cups/filter/pstopdf (PID 28046)
[Job 73] Started filter /usr/lib/cups/filter/pdftopdf (PID 28047)
[Job 73] Started filter /usr/lib/cups/filter/cpdftocps (PID 28048)
[Job 73] Started backend /usr/lib/cups/backend/hp (PID 28049)
Saving subscriptions.conf...
cupsdProcessIPPRequest: 14 status_code=0 (successful-ok)
[Job 73] pstopdf 6 args: 73 nick OpenPrinting/Database/ErrorLogFAQ - The Linux Foundation 1 Resolution=600x1200dpi HPwmTextMessage=Draft HPwmFontName=HelveticaB Smoothing=PrinterDefault HPJobName=DocName MediaType=None HPwmTextStyle=Medium HPwmSwitch=Off HPwmTextAngle=Deg45 PageSize=Letter HPEconoMode=PrinterDefault number-up=1 HPwmFontSize=pt48 HPwmBrightness=Medium Duplex=None InputSlot=Auto noManualFeed HPHalftone=PrinterDefault HPwmPages=AllPages HPUserName=FileSharingName job-uuid=urn:uuid:2c211c1c-6e7a-35b8-4485-3197d7782f08 /var/spool/cups/d00073-001
[Job 73] PPD: /etc/cups/ppd/hp-LaserJet-2420.ppd
Saving subscriptions.conf...
cupsdCloseClient: 14
[Job 73] Resolution: 600x1200
[Job 73] Page size: Letter
[Job 73] Width: 612, height: 792, absolute margins: 12.00, 12.12, 599.88, 780.00
[Job 73] Relative margins: 12.00, 12.12, 12.12, 12.00
[Job 73] PPD options: -r600x1200 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792
[Job 73] PostScript to be injected:
[Job 73] Running cat | /usr/bin/ps2pdf13 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dPARANOIDSAFER -sstdout=%stderr -dColorImageFilter=/FlateEncode -dDoNumCopies -dPDFSETTINGS=/printer -r600x1200 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 - -
[Job 73] GPL Ghostscript 8.64: Set UseCIEColor for UseDeviceIndependentColor to work properly.
cupsdAcceptClient: 14 from localhost (Domain)
cupsdReadClient: 14 POST / HTTP/1.1
cupsdAuthorize: No authentication data provided.
Get-Notifications /
cupsdIsAuthorized: requesting-user-name="nick"
cupsdProcessIPPRequest: 14 status_code=0 (successful-ok)
cupsdAcceptClient: 15 from localhost (Domain)
cupsdReadClient: 15 POST / HTTP/1.1
cupsdAuthorize: No authentication data provided.
Get-Jobs ipp://localhost/printers/
cupsdProcessIPPRequest: 15 status_code=0 (successful-ok)
cupsdCloseClient: 15
cupsdAcceptClient: 15 from localhost (Domain)
cupsdReadClient: 8 POST / HTTP/1.1
cupsdAuthorize: Local authentication certificate not found!
Get-Printer-Attributes ipp://localhost/printers/hp-LaserJet-2420
cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
cupsdReadClient: 15 POST / HTTP/1.1
cupsdAuthorize: No authentication data provided.
Get-Notifications /
cupsdIsAuthorized: requesting-user-name="nick"
cupsdProcessIPPRequest: 15 status_code=0 (successful-ok)
cupsdReadClient: 15 POST / HTTP/1.1
cupsdAuthorize: No authentication data provided.
Get-Job-Attributes ipp://localhost/jobs/73
cupsdProcessIPPRequest: 15 status_code=0 (successful-ok)
cupsdReadClient: 8 POST / HTTP/1.1
cupsdAuthorize: Local authentication certificate not found!
Get-Printer-Attributes ipp://localhost/printers/hp-LaserJet-2420
cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
cupsdCloseClient: 15
cupsdCloseClient: 14
PID 28046 (/usr/lib/cups/filter/pstopdf) exited with no errors.
PID 28047 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
[Job 73] Device copies: 1; device collate:
[Job 73] pdftops - copying to temp print file "/tmp/4a2afb800a038"
[Job 73] **** Warning: File has a corrupted %%EOF marker, or garbage after %%EOF.
[Job 73] Page = 612x792; 12,12 to 600,780
[Job 73] slow_collate=0, slow_duplex=0, slow_order=0
[Job 73] Before copy_comments - %!PS-Adobe-3.0
[Job 73] %!PS-Adobe-3.0
[Job 73] %%Pages: (atend)
[Job 73] %%BoundingBox: (atend)
[Job 73] %%HiResBoundingBox: (atend)
[Job 73] %%Creator: GPL Ghostscript 864 (pswrite)
[Job 73] %%CreationDate: 2009/06/06 19:28:00
[Job 73] %%DocumentData: Clean7Bit
[Job 73] %%LanguageLevel: 3
[Job 73] %%EndComments
[Job 73] Before copy_prolog - %%BeginProlog
[Job 73] Before copy_setup - %%Page: 1 1
[Job 73] Before page loop - %%Page: 1 1
[Job 73] Copying page 1...
Discarding unused job-progress event...
[Job 73] pagew = 587.9, pagel = 767.9
[Job 73] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
[Job 73] PageLeft = 12.0, PageRight = 599.9
[Job 73] PageTop = 780.0, PageBottom = 12.1
[Job 73] PageWidth = 612.0, PageLength = 792.0
[Job 73] prnt/backend/hp.c 712: INFO: open print channel failed stat=12; will retry in 30 seconds...
[Job 73] prnt/backend/hp.c 712: INFO: open print channel failed stat=12; will retry in 30 seconds...

The last 2 messages keep repeating until I cancel the job and nothing ever prints.

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#9

Hi,

Take a look at the last remarks given on this thread:

https://answers.launchpad.net/hplip/+question/53133

There might be a serious (kernel?) bug in Ubuntu 9.04 that is preventing you from printing to this specific type of printer.

Try booting from the Fedora 10 LiveCD and test printing from the Fedora LiveCD session. If it works there, then you know you should be using something other than Ubuntu 9.04

Regards,

Mark

Revision history for this message
Nick B. (futurepilot) said :
#10

Mark,

I booted up a Fedora 10 live CD and the printer worked perfectly. It's imperative that this printer works, so it looks like I won't be able to use Ubuntu on this setup unfortunately. :( I hope this gets fixed soon because I really love Ubuntu.

Thanks for your help.

Revision history for this message
Nick B. (futurepilot) said :
#11

Thanks Mark Rijckenberg, that solved my question.

Revision history for this message
Mohd Syukor Abdul (msyukor) said :
#12

Hi,

I'm also having the same problem as mention above.

I'd following the above installation as in http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_2420 and also referring page http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_2420.html, the printer is supported and unfortunate the setting HPLIP won't work in normal order.

Finally I after few testing/mangling with setting and I'd found the simple silly setting to enable printing using HP LaserJet 2420 in Ubuntu 9.04.

Steps:
1. Delete detect HP 2420 printer by using Administation->Printing.
2. Redetect new printer by clicking NEW in Printing and the system will display the HP 2420. Click on it and expand Connection on the right panel and select USB connection.

The steps above solve the unable to printing problem but HPLIP will detect again the printer and add it to Printing when you switch off/on the printer. For me, just ignore it. Seem OK to me.

Hope these will help you all.

Revision history for this message
Falk (falk-stapf) said :
#13

Hallo,

I answered to this problem in a duplicate of this report. But the solution I described in the duplicate only worked, because I upgraded from ubuntu 8.10.
Now I made a fresh installation and the solution of Mohd Syukor Abdul worked fine, but I had to enter the usb URI usb://HP/LaserJet%202420

Regards,
Falk

Revision history for this message
Richard.mn (rich-mn) said :
#14

similar problem,Iwent to hplib toolbox in system preferences as recommended and chose printer control,then start printer,and everything works fine.I used this remedy on my other computer running mandrake 10 and that worked when this printer hp psc 1610 was new,so maybe it is that simple!
Cheers
Richard.mn

Revision history for this message
Joelp (joelp) said :
#15

I solved this problem by completely removing the printer in under System>Admin>Printing, then I completely removed hplib (and it's components) in synaptic package manager. After this I rebooted, and reinstalled the printer. The test page finally printed fine!

From the reading around I had been able to do, I believe the problem resides in hplib which must have been installed in releases of ubuntu after 8.10. I think hplib is the only way to talk to hp printers on a network (though don't quote me on this), but it seems to destroy communication via USB of several hp printers.

Hope this helps!

Revision history for this message
josephbus1 (josephbus1) said :
#16

Thanks 4 Ur solution, Joelp.

I had same problem with HP Officejet 7210, using Lucid.

Removal & Reinstall hplip, & cups fixed the problem.

My biggest problem is figuring out what additional supporting files
are needed. The descriptions in Synactic are cryptic.

Too bad we don't have a single entry in Synactic that would
do the selection for cups, hplip & whatever else is required.

Josephbus