Lose Printer After Reboot

Asked by jglen490

HP DeskJet 3450

Kubuntu 6.06.2

HPLIP 2.7.12

IBM Thinkpad T20

Everytime I reboot I cannot print from any application. The HPLIP toolbox gives an error and the icon for the printer is greyed out. I delete the printer and re-add it. The really strange thing is that most of the configuration items remain and once it's re-added all I need to do is set it as Default. Here's my hp-check.log file:

john@john-laptop:~$ hp-check -t

HP Linux Imaging and Printing System (ver. 2.7.12)
Dependency/Version Check Utility ver. 12.2

Copyright (c) 2001-7 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.

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux john-laptop 2.6.15-51-386 #1 PREEMPT Thu Dec 6 20:20:49 UTC 2007 i686 GNU/Linux

Distribution:
ubuntu 6.06

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

Checking Python version...
OK, version 2.4.3 installed

Checking PyQt version...
OK, version 3.15 installed.

Checking SIP version...
OK, Version 4.3.2 installed

Checking for CUPS...
Status: scheduler is running
Version: 1.2.2

Checking for Reportlab...
warning: Version < 2.0 (1.2). HPLIP fax coverpages requires Reportlab 2.0+.

----------------
| DEPENDENCIES |
----------------

Checking for dependency: cups - Common Unix Printing System...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System development files...
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-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...
warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly.
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes python-reportlab

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...
warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly.
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libsane

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

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

Currently installed HPLIP version...
HPLIP 2.7.12 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.7.12

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.7.12
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
foomatic=/usr/share/foomatic

# 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
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-xml-install=no
foomatic-ppd-install=yes
internal-tag=2.7.12.10

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

  Device URI Model
  ------------------------------------ ------------------
  hp:/usb/deskjet_3420?serial=LPDTESTB HP deskjet 3420
  7

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

deskjet_3420
------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/deskjet_3420?serial=LPDTESTB7
PPD: /etc/cups/ppd/deskjet_3420.ppd
PPD Description: HP DeskJet 3420 Foomatic/hpijs (recommended)
Printer status: printer deskjet_3420 is idle. enabled since Sat 02 Feb 2008 08:44:55 PM CST
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'...
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 0x7104 at 001:002:
    Device URI: hp:/usb/deskjet_3420?serial=LPDTESTB7
    Device node: /dev/bus/usb/001/002
    Mode: 0666

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

error: 3 errors and/or warnings.

Summary of needed commands to run to satisfy missing dependencies:
sudo apt-get install --yes --force-yes python-reportlab
sudo apt-get install --yes --force-yes libsane

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

John Glendening

I am now running HPLIP 3.9.8 under Kubuntu 9.10, same machine IBM T20, and it appears that upon reboot, I no longer "lose" the Deskjet 3450. It can print immediately after finishing booting into the desktop. No further reconfiguration needed.

The last version of HPLIP before 3.9.8 was 2.8.12, under which the 3450 was being "lost".

Congratulations and thank you.

John Glendening

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

John,

Please set the printer so that it's not working again (reboot, etc), then go to http://localhost:631/printers

Is the printer 'Paused' and the button "Start Printer" is green?

Aaron

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

Aaron Albright wrote:
> Your question #23754 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/23754
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> John,
>
> Please set the printer so that it's not working again (reboot, etc),
> then go to http://localhost:631/printers
>
> Is the printer 'Paused' and the button "Start Printer" is green?
>
> Aaron
>

Aaron --

Thanks for your reply.

After a reboot (cold, from power off) with the printer light "on", CUPS
says for "deskjet_3420 (Default Printer):
 Printer State: idle, accepting jobs, published

And toolbox says: Error: Device not found. Please check connection and
power-on device.

Originally this morning, on booted with the printer power off - had the
same messages as I now have after rebooting with the power light on.

I'll stay tuned!! Thanks again.

John

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

Are you using a usb hub or anything?

With hp-toolbox giving you the error "Device not found" can you run hp-check again and post the output?

Thanks!

Aaron

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

Aaron Albright wrote:
> Your question #23754 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/23754
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> Are you using a usb hub or anything?
>
> With hp-toolbox giving you the error "Device not found" can you run hp-
> check again and post the output?
>
> Thanks!
>
> Aaron
>
Aaron --

Here's the output from hp-check after rebooting and confirming that
toolbox shows the Device Not Found error.

John

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

John,

For some reason it didn't come through.. (the hp-check that is) :/

Also when you are getting the error run:

/usr/lib/cups/backend/hp

and post that output as well.

Aaron

Revision history for this message
jglen490 (jglen490) said :
#6

Aaron Albright wrote:
> Your question #23754 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/23754
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> John,
>
> For some reason it didn't come through.. (the hp-check that is) :/
>
> Also when you are getting the error run:
>
> /usr/lib/cups/backend/hp
>
> and post that output as well.
>
> Aaron
>
Aaron --

Probably my bad.

Here is the output from /usr/lib/cups/backend/hp

john@john-laptop:/usr/lib/cups/backend$ ls -a
. .. beh bluetooth canon epson hp hpfax http ipp lpd parallel
  smb socket usb
john@john-laptop:/usr/lib/cups/backend$ less hp
"hp" may be a binary file. See it anyway?
john@john-laptop:/usr/lib/cups/backend$ ls -al hp
-rwxr-xr-x 1 root root 28159 2008-01-26 15:14 hp
john@john-laptop:/usr/lib/cups/backend$

and here is hp-check -t:

john@john-laptop:~$ hp-check -t

HP Linux Imaging and Printing System (ver. 2.7.12)
Dependency/Version Check Utility ver. 12.2

Copyright (c) 2001-7 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.

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux john-laptop 2.6.15-51-386 #1 PREEMPT Thu Dec 6 20:20:49 UTC 2007
i686 GNU/Linux

Distribution:
ubuntu 6.06

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

Checking Python version...
OK, version 2.4.3 installed

Checking PyQt version...
OK, version 3.15 installed.

Checking SIP version...
OK, Version 4.3.2 installed

Checking for CUPS...
Status: scheduler is running
Version: 1.2.2

Checking for Reportlab...
warning: Version < 2.0 (1.2). HPLIP fax coverpages requires Reportlab 2.0+.

----------------
| DEPENDENCIES |
----------------

Checking for dependency: cups - Common Unix Printing System...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System
development files...
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-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...
warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP
functionality may not function properly.
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes python-reportlab

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...
warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP
functionality may not function properly.
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libsane

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

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

Currently installed HPLIP version...
HPLIP 2.7.12 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.7.12

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.7.12
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
foomatic=/usr/share/foomatic

# 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
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-xml-install=no
foomatic-ppd-install=yes
internal-tag=2.7.12.10

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

   Device URI Model
   ------------------------------------ ------------------
   hp:/usb/deskjet_3420?serial=LPDTESTB HP deskjet 3420
   7

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

deskjet_3420
------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/deskjet_3420?serial=LPDTESTB7
PPD: /etc/cups/ppd/deskjet_3420.ppd
PPD Description: HP DeskJet 3420 Foomatic/hpijs (recommended) - HPLIP 0.9.7
Printer status: printer deskjet_3420 is idle. enabled since Mon 04 Feb
2008 01:00:37 PM CST
error: Unable to communicate with device (code=12):
hp:/usb/deskjet_3420?serial=LPDTESTB7
error: Device not found
error: Communication status: Failed

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

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

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 0x7104 at 001:002:
     Device URI: hp:/usb/deskjet_3420?serial=LPDTESTB7
     Device node: /dev/bus/usb/001/002
     Mode: 0666

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

error: 4 errors and/or warnings.

Summary of needed commands to run to satisfy missing dependencies:
sudo apt-get install --yes --force-yes python-reportlab
sudo apt-get install --yes --force-yes libsane

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

Actually just run "/usr/lib/cups/backend/hp" in terminal. It's a tool that will tell us if hplip can see the printer.

:)

Thanks!

A

Revision history for this message
jglen490 (jglen490) said :
#8

Aaron Albright wrote:
> Your question #23754 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/23754
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> Actually just run "/usr/lib/cups/backend/hp" in terminal. It's a tool
> that will tell us if hplip can see the printer.
>
> :)
>
> Thanks!
>
> A
>
Aaron --

Here ya go !

john@john-laptop:/usr/lib/cups/backend$ ./hp
direct hp:/usb/deskjet_3420?serial=LPDTESTB7 "HP deskjet 3420" "HP
deskjet 3420 USB LPDTESTB7 HPLIP" "MFG:HP;MDL:deskjet
3420;CLS:PRINTER;DES:deskjet 3420;SN:LPDTESTB7 ;"
john@john-laptop:/usr/lib/cups/backend$

John

Revision history for this message
jglen490 (jglen490) said :
#9

I booted again this morning and then tried to run toolbox.py from the CLI. Of course the the GUI presented itself with the device not found error message. The command line response was similar:

john@john-laptop:/usr/share/hplip$ ./toolbox.py

HP Linux Imaging and Printing System (ver. 2.7.12)
HP Device Manager ver. 11.0

Copyright (c) 2001-7 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: Pre-2.0 version of Reportlab installed. Fax coverpages disabled.
warning: Please install version 2.0+ of Reportlab for coverpage support.

HP Linux Imaging and Printing System (ver. 2.7.12)
Services and Status Daemon ver. 9.3

Copyright (c) 2001-7 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.

error: Unable to communicate with device (code=12): hp:/usb/deskjet_3420?serial=LPDTESTB7
warning: Device not found
error: Unable to communicate with device (code=12): hp:/usb/deskjet_3420?serial=LPDTESTB7
warning: Device not found

I then ran check.py, and got the usual response, also what I consider to be a weird combination:

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

deskjet_3420
------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/deskjet_3420?serial=LPDTESTB7
PPD: /etc/cups/ppd/deskjet_3420.ppd
PPD Description: HP DeskJet 3420 Foomatic/hpijs (recommended) - HPLIP 0.9.7
Printer status: printer deskjet_3420 is idle. enabled since Sat 09 Feb 2008 01:18:44 PM CST
error: Unable to communicate with device (code=12): hp:/usb/deskjet_3420?serial=LPDTESTB7
error: Device not found
error: Communication status: Failed

It may be nothing, but how can the program find the device but not communicate with it? Is this turning out to be a permissions or path problem?

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

I haven't been able to reproduce this on Ubuntu 6.06 LTS and HPLIP 2.8.2

If possible retest with the latest release of hplip.

Thanks!

A

Revision history for this message
jglen490 (jglen490) said :
#11

Aaron Albright wrote:
> Your question #23754 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/23754
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> I haven't been able to reproduce this on Ubuntu 6.06 LTS and HPLIP 2.8.2
>
> If possible retest with the latest release of hplip.
>
> Thanks!
>
> A
>
Thanks again Aaron.

I loaded 2.8.2 and rebooted -twice, in fact. On each reboot I got the
same error. Unless you see something glaringly obvious, I'll just live
with it until I install a newer Kubuntu.

Here's my hp-check output showing the communications error:

HP Linux Imaging and Printing System (ver. 2.8.2)
Dependency/Version Check Utility ver. 13.0

Copyright (c) 2001-7 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 john-laptop 2.6.15-51-386 #1 PREEMPT Thu Dec 6 20:20:49 UTC 2007
i686 GNU/Linux

Distribution:
ubuntu 6.06

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

Checking Python version...
OK, version 2.4.3 installed

Checking PyQt version...
OK, version 3.15 installed.

Checking SIP version...
OK, Version 4.3.2 installed

Checking for CUPS...
Status: scheduler is running
Version: 1.2.2

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

Checking for dependency: cups - Common Unix Printing System...
OK, found.

Checking for dependency: cups-ddk - CUPS driver development kit...

Checking for dependency: cups-devel- Common Unix Printing System
development files...
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-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...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes python-reportlab

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...
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libsane

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

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

Currently installed HPLIP version...
HPLIP 2.8.2 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.8.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-2.8.2
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=no
pp-build=no
gui-build=yes
scanner-build=no
fax-build=no
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=yes
internal-tag=2.8.2.10

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

   Device URI Model
   ------------------------------------ ------------------
   hp:/usb/deskjet_3420?serial=LPDTESTB HP deskjet 3420
   7

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

deskjet_3420
------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/deskjet_3420?serial=LPDTESTB7
PPD: /etc/cups/ppd/deskjet_3420.ppd
PPD Description: HP DeskJet 3420 Foomatic/hpijs, hpijs 2.8.2.10
Printer status: printer deskjet_3420 now printing deskjet_3420-54.
enabled since Tue 12 Feb 2008 08:33:17 PM CST

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0x7104 at 001:002:
     Device URI: hp:/usb/deskjet_3420?serial=LPDTESTB7
     Device node: /dev/bus/usb/001/002
     Mode: 0666

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

Summary of needed commands to run to satisfy missing dependencies:
sudo apt-get install --yes --force-yes python-reportlab
sudo apt-get install --yes --force-yes libsane

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

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

I don't see any errors, the device status is seems okay.

Are you using any usb hubs? Maybe try plugging the printer into a different usb port?

A

Revision history for this message
jglen490 (jglen490) said :
#13

Aaron Albright wrote:
> Your question #23754 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/23754
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> I don't see any errors, the device status is seems okay.
>
> Are you using any usb hubs? Maybe try plugging the printer into a
> different usb port?
>
> A
>
My laptop has only one USB port and I am not using an external USB hub.

I got this from syslog after a reboot and an attempt to print:

Feb 13 15:37:39 localhost deskjet_3420?serial=LPDTESTB7:
prnt/backend/hp.c 496: unable to c onnect hpssd
socket 2207: Connection refused
Feb 13 15:37:39 localhost deskjet_3420?serial=LPDTESTB7: io/hpmud/musb.c
1057: unable to op en
hp:/usb/deskjet_3420?serial=LPDTESTB7
Feb 13 15:37:39 localhost deskjet_3420?serial=LPDTESTB7:
prnt/backend/hp.c 496: unable to c onnect hpssd
socket 2207: Connection refused
Feb 13 15:37:39 localhost deskjet_3420?serial=LPDTESTB7:
prnt/backend/hp.c 636: INFO: open device
failed; will retry in 30 seconds...
Feb 13 15:37:43 localhost hpijs: io/hpmud/musb.c 1057: unable to open
hp:/usb/deskjet_3420? serial=LPDTESTB7
Feb 13 15:37:43 localhost cupsd: Unable to open log file
"/var/log/cups/page_log" - Permiss ion denied
Feb 13 15:38:09 localhost deskjet_3420?serial=LPDTESTB7: io/hpmud/musb.c
1057: unable to op en
hp:/usb/deskjet_3420?serial=LPDTESTB7
Feb 13 15:38:09 localhost deskjet_3420?serial=LPDTESTB7:
prnt/backend/hp.c 496: unable to c onnect hpssd
socket 2207: Connection refused
Feb 13 15:38:09 localhost deskjet_3420?serial=LPDTESTB7:
prnt/backend/hp.c 636: INFO: open device
failed; will retry in 30 seconds...
Feb 13 15:38:39 localhost deskjet_3420?serial=LPDTESTB7: io/hpmud/musb.c
1057: unable to open hp:/usb/deskjet_3420?serial=LPDTESTB7
Feb 13 15:38:39 localhost deskjet_3420?serial=LPDTESTB7:
prnt/backend/hp.c 496: unable to connect hpssd socket 2207: Connection
refused
Feb 13 15:38:39 localhost deskjet_3420?serial=LPDTESTB7:
prnt/backend/hp.c 636: INFO:

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

If you reboot the computer and get the system in a state where it's not working and run

lsusb

(output is something like)

Bus 001 Device 003: ID 03f0:070c Hewlett-Packard

then run:

lsusb -v -d 3f0:070c

and post the output. Where 3f0:070c is equal to 03f0:070c from "Bus 001 Device 003: ID 03f0:070c Hewlett-Packard"

It seems like hplip can't get the information about the printer that it needs from the usb bus. So this will check to make sure that the bus is returning the correct information.

A

Revision history for this message
jglen490 (jglen490) said :
#15

Aaron Albright wrote:
> Your question #23754 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/23754
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> If you reboot the computer and get the system in a state where it's not
> working and run
>
> lsusb
>
> (output is something like)
>
> Bus 001 Device 003: ID 03f0:070c Hewlett-Packard
>
> then run:
>
> lsusb -v -d 3f0:070c
>
> and post the output. Where 3f0:070c is equal to 03f0:070c from "Bus 001
> Device 003: ID 03f0:070c Hewlett-Packard"
>
> It seems like hplip can't get the information about the printer that it
> needs from the usb bus. So this will check to make sure that the bus is
> returning the correct information.
>
> A
>
Here's the output.

john@john-laptop:/var/log/cups$ lsusb
Bus 001 Device 002: ID 03f0:7104 Hewlett-Packard DeskJet 3420c
Bus 001 Device 001: ID 0000:0000
john@john-laptop:/var/log/cups$ lsusb -v -d 03f0:7104

Bus 001 Device 002: ID 03f0:7104 Hewlett-Packard DeskJet 3420c
Device Descriptor:
   bLength 18
   bDescriptorType 1
   bcdUSB 2.00
   bDeviceClass 0 (Defined at Interface level)
   bDeviceSubClass 0
   bDeviceProtocol 0
   bMaxPacketSize0 8
   idVendor 0x03f0 Hewlett-Packard
   idProduct 0x7104 DeskJet 3420c
   bcdDevice 1.00
   iManufacturer 1 hp
   iProduct 2 deskjet 3420
   iSerial 3 LPDTESTB7
   bNumConfigurations 1
   Configuration Descriptor:
     bLength 9
     bDescriptorType 2
     wTotalLength 32
     bNumInterfaces 1
     bConfigurationValue 1
     iConfiguration 0
     bmAttributes 0xc0
       Self Powered
     MaxPower 2mA
     Interface Descriptor:
       bLength 9
       bDescriptorType 4
       bInterfaceNumber 0
       bAlternateSetting 0
       bNumEndpoints 2
       bInterfaceClass 7 Printer
       bInterfaceSubClass 1 Printer
       bInterfaceProtocol 2 Bidirectional
       iInterface 0
       Endpoint Descriptor:
         bLength 7
         bDescriptorType 5
         bEndpointAddress 0x01 EP 1 OUT
         bmAttributes 2
           Transfer Type Bulk
           Synch Type None
           Usage Type Data
         wMaxPacketSize 0x0040 1x 64 bytes
         bInterval 0
       Endpoint Descriptor:
         bLength 7
         bDescriptorType 5
         bEndpointAddress 0x82 EP 2 IN
         bmAttributes 2
           Transfer Type Bulk
           Synch Type None
           Usage Type Data
         wMaxPacketSize 0x0040 1x 64 bytes
         bInterval 0
Device Status: 0x0001
   Self Powered

john@john-laptop:/var/log/cups$

And the output of the usb section from lshw:

*-usb
              description: USB Controller
              product: 82371AB/EB/MB PIIX4 USB
              vendor: Intel Corporation
              physical id: 7.2
              bus info: pci@00:07.2
              version: 01
              width: 32 bits
              clock: 33MHz
              capabilities: uhci bus_master
              configuration: driver=uhci_hcd
              resources: ioport:1860-187f irq:11
            *-usbhost
                 product: UHCI Host Controller
                 vendor: Linux 2.6.15-51-386 uhci_hcd
                 physical id: 1
                 bus info: usb@1
                 logical name: usb1
                 version: 2.06
                 capabilities: usb-1.10
                 configuration: driver=hub maxpower=0mA slots=2
speed=12.0MB/s
               *-usb
                    description: Printer
                    product: deskjet 3420
                    vendor: hp
                    physical id: 1
                    bus info: usb@1:1
                    version: 1.00
                    serial: LPDTESTB7
                    capabilities: usb-2.00 bidirectional
                    configuration: driver=usblp maxpower=2mA speed=12.0MB/s

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

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

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

Sorry for the delay, the lsusb output looks okay.

Is it possible to try upgrading to the latest release of hplip?

Thanks.

A

Revision history for this message
jglen490 (jglen490) said :
#18

Aaron --

Thanks for your interest! The conditions have changed, but the results
have not changed. When I originally submitted this question, I was
running Kubuntu 6.06 and throughout the process I moved from the
original HPLIP 0.97 (?) provided by Kubuntu, to 2.7.6, to 2.7.10, to
2.7.12, and then to 2.8.3. I am now running Kubuntu 7.10 with its
provided HPLIP 2.7.12 and I still have the same problem. Somewhere
along the line I found a reference to an executable called "beh"
(backend error handler), that was pointed out as a possible culprit or
contributor to the problem. I subsequently removed "beh", but, of
course, there was no change.

In my mind, since very few folks (perhaps none) have HPLIP difficulties
of the kind that I have there may be a hardware issue with my older
platform (IBM Thinkpad T20) in that the on-board USB hub may not be
working the way the software thinks it should be working. If that is
the case, then since IBM saw fit to only implement a single USB
connection for this configuration, I'm probably just out of luck.

I know the HP DJ 3450 (detected as a 3420) is a low end printer and may
not be providing "typical" responses. Don't get me wrong, it's a fine
little printer and when it's connected and recognized, it prints well
and with reasonable quality.

If there's any more info that I can provide, please let me know. Thanks!

John

Aaron Albright wrote:
> Your question #23754 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/23754
>
> Status: Expired => Needs information
>
> Aaron Albright changed the question status:
> Sorry for the delay, the lsusb output looks okay.
>
> Is it possible to try upgrading to the latest release of hplip?
>
> Thanks.
>
> A
>

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

John,

Sorry I don't have any other ideas at this time. and I haven't been able to reproduce. It does indeed seem to be some sort of hardware problem.

Wish I could help more..

Setting to answered for now.

A

Revision history for this message
jglen490 (jglen490) said :
#20

Thanks Aaron.

Aaron Albright wrote:
> Your question #23754 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/23754
>
> Status: Open => Answered
>
> Aaron Albright proposed the following answer:
> John,
>
> Sorry I don't have any other ideas at this time. and I haven't been able
> to reproduce. It does indeed seem to be some sort of hardware problem.
>
> Wish I could help more..
>
> Setting to answered for now.
>
> A
>

Revision history for this message
jglen490 (jglen490) said :
#21

Please close the question. Thanks.

jglen490 wrote:
> Your question #23754 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/23754
>
> Status: Answered => Open
>
> You are still having a problem:
> Thanks Aaron.
>
> Aaron Albright wrote:
>> Your question #23754 on HPLIP changed:
>> https://answers.launchpad.net/hplip/+question/23754
>>
>> Status: Open => Answered
>>
>> Aaron Albright proposed the following answer:
>> John,
>>
>> Sorry I don't have any other ideas at this time. and I haven't been able
>> to reproduce. It does indeed seem to be some sort of hardware problem.
>>
>> Wish I could help more..
>>
>> Setting to answered for now.
>>
>> A
>>
>

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

Setting to answered.

A

Can you help with this problem?

Provide an answer of your own, or ask jglen490 for more information if necessary.

To post a message you must log in.