Ubuntu 14.04:LTS , HPLIP loses USB connection to HP laserjet

Posted by Gareth on Ask Ubuntu See other posts from Ask Ubuntu or by Gareth
Published on 2014-05-30T23:51:37Z Indexed on 2014/05/31 3:54 UTC
Read the original article Hit count: 814

Filed under:
|
|
|

This is my first post, so please let me know if i have inadvertanly broken any rules.

Problem

There seems to be a problem with HPLIP and USB connections in ubuntu 14.04LTS. After upgrading i managed to get the printing to work but today it has broken.

Initial Issue (Solved)

After upgrading to unbutntu 14.04 LTS my printer lHP LaserJet 1018 stopped printing (code=12)

Looking through the Forumsthere are several issues with printitng and HPLIP so I was able to troubleshoot this. The steps I took were :

  1. Reran HPdoctor
  2. Ran hp-check
  3. Un-installed and installed the latest version of HPLIP (3.14.4)
  4. Checked the USB connections lsusb and lsusb-v
  5. Re-ran hpcheck
  6. Removed the printer from HPLIP
  7. Re-ran hpcheck
  8. Manually configued HPLIP to the printer hp-setup-g <xxx:yyy>

And this worked HPLIP was able to see the printer in the USB , test page printed and was happily working for a few weeks.

Current Issue Printer Not working

However today my wife complains the printer is not working and checking see that although HPLIP has the same error code and did not seem to be able to see the printer although running lsusb could see the printer. Initially thought this may be due to usb given a new bus/device after being turned on and off and went to repeat the steps above at the moment still seeing an error in that the HPLIP is complaining that it cannot see the device

**error: Device not found. Please make sure your printer is properly connected and powered-on.**

current Observations

lsusb output ##

Bus 002 Device 007: ID 03f0:4117 Hewlett-Packard LaserJet 1018

sudo hp-check output

*> "duan@duan-Lenovo-B550:~$ sudo hp-check [sudo] password for duan:

Saving output in log file: /home/duan/hp-check.log

HP Linux Imaging and Printing System (ver. 3.14.4) Dependency/Version Check Utility ver. 15.1

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

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

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

Full Output

output of hp-setup -g 002:007

window box "device not found  please make sure your printer is properly connected     and powered on"

duan@duan-Lenovo-B550:~$ sudo hp-setup -g 002:007 [sudo] password for duan:

> HP Linux Imaging and Printing System (ver. 3.14.4) Printer/Fax Setup
> Utility ver. 9.0
> 
> Copyright (c) 2001-13 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.
> 
> hp-setup[18461]: debug: param=002:007 hp-setup[18461]: debug:
> selected_device_name=None Fontconfig error:
> "/etc/fonts/conf.d/65-khmer.conf", line 14: out of memory Fontconfig
> error: "/etc/fonts/conf.d/65-khmer.conf", line 23: out of memory
> Fontconfig error: "/etc/fonts/conf.d/65-khmer.conf", line 32: out of
> memory hp-setup[18461]: debug: Sys.argv=['/usr/bin/hp-setup', '-g',
> '002:007'] printer_name=None param=002:007 jd_port=1 device_uri=None
> remove=False Searching for device... hp-setup[18461]: debug: Trying
> USB with bus=002 dev=007... hp-setup[18461]: debug: Not found.
> hp-setup[18461]: debug: Trying serial number 002:007 hp-setup[18461]:
> debug: Probing bus: usb hp-setup[18461]: debug: Probing bus: par
> error:  Device not found.   Please make sure your printer is properly
> connected and powered-on. hp-setup[18461]: debug: Starting GUI loop.

..

USB lead

Works with the Windows 7 laptop

Printer

Works with windows 7 laptop

Questions

  • Is this a Bug with HPLIP or an issue with laptop/printer?

  • Supplementary question if it is a bug what information is needed and where should it be sent ?

    • Any suggestions on how to get the printer to work correctly with Ubuntu 14.04LTS/HPLIP 13.4.3 so that it stays working ?

© Ask Ubuntu or respective owner

Related posts about 14.04

Related posts about printing