OPERATING SYSTEMSOS Linux

HP scanner setup in Ubuntu 18.04 (obsolete)

–edit–This video was made for Ubuntu 18.04 and doesn’t work for Ubuntu 20.04. As someone mentioned in the comments, installing hplip-gui will work for 20.04, although it will bring in extra stuff from hp.

sudo apt install hplip-gui

–original–While HP printing has worked very well for me in Ubuntu 18.04, getting the scanner in my HP Deskjet is more of a problem. The current version of hplip (3.18.7) available at the hplip website doesn’t help in my case. So in this video I show how to use the hp-check and hp-setup commands to get the scanner to work with xsane. The Deskjet model I use is the 3632.

source

ubuntu

20 thoughts on “HP scanner setup in Ubuntu 18.04 (obsolete)

  • hey, i've installed ubuntu 18.04 on virtualbox and tried this method wwith my Hp Scanjet 3400c. but it wont show any devices please help

  • Now I'm working with a laptop and ubuntu mate 18.04.04 and hplip-3.18.4, which is enough for my printer HP Laserjet Pro MFP M28a.
    I have done hp-check -b and everything is perfect. However if I write hp-scan I receive this message:
    Warming up…

    Scanning…
    error: SANE: Error during device I/O (code=9).
    If I write hp-doctor I receive this message:

    Checking for Configured Queues….
    warning: Fail to read ppd=/etc/cups/ppd/HP-LaserJet-MFP-M28-M31.ppd file
    warning: Insufficient permission to access file /etc/cups/ppd/HP-LaserJet-MFP-M28-M31.ppd
    warning: Could not complete Queue(s) configuration check

    I can print but I cannot scan. What's wrong??

  • I have followed the video and I have installed all dependencies and optional dependencies with sudo apt install ……. but I cannot scan. When I run hp-setup -u there is always a mesage that says: " error: No module named 'PyQt4'

  • Hi! I followed the steps to install HP Laser MFP 135w, however occurred an error:
    "error: No devices found on bus: net
    error: HPLIP cannot detect printers in your network. This may be due to existing firewall settings blocking the required ports.
    When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.
    http://hplipopensource.com/node/374"
    I tryed to changes firewall settings by adding "mdns" to home, internal, public, trusted or work services but still occurring the same error…

    Any ideas?

  • It didn't work for me, it just won't find my HP deskjet 2630, just gives message that my firewall might be in the way, but I turned it off and it still won't find it.

  • try this: DEPS=$(hp-check 2>&1 |grep "package is missing" | awk '{print $2}' |tr -d "'")

    now you can: sudo apt install –yes $DEPS

    PS: I'm sure awk can strip the quotes as well but I haven't learned how to do that. for that matter, I'm not sure we need to strip quotes at all, but… whatever.

  • For my HP 3055A simply installing the latest hplip (currently 3.20.2) worked

  • thanks! i have the same all-in-one as you, and this was a serious lifesaver.

  • Thanks man, exactly what I was looking for! It worked fine!

  • Thanks very useful. If you get this message: HPLIP cannot detect printers in your network.
    This may be due to existing firewall settings blocking the required ports… A piece of advice: install it manually, I tried everything and that was the only thing that worked. to do so you need the PRINTER IP ADDRESS.

  • It worked well in Linux Mint 19.2 and my scanner is now working. HP Officejet Pro 8500. Thanks

Comments are closed.