Archives For November 30, 1999

Need the most recent HPLIP to get your HP printer or scanner working in Ubuntu? Here’s how to install guide as well as workaround to fix the python-pyqt5 dependency issue.

HPLIP is an open-source Linux drivers for HP’s inkjet and laser printers. The project is initiated and led by HP Inc. While the package in Ubuntu repositories is always old, you can install the official binary to get new devices support.

However, the most recent releases refuse to install in my Ubuntu 20.04 due to python-pyqt5 dependency issue. If you’re facing with the similar issue, then this tutorial may help!

Download & Install HPLIP in Ubuntu 20.04

1.) Firstly, download the latest binary from the link below. It’s ‘hplip-3.21.10.run‘ at the moment.

2.) Next, add executable permission by pressing Ctrl+Alt+T on keyboard to open terminal. Then run command:

chmod u+x ~/Downloads/hplip*.run

And try to install it via command:

~/Downloads/hplip*.run

Follow the terminal output and answer some questions to start installing the driver.

3.) Fix python-pyqt5 dependency issue.

As I said, it refuse to install in Ubuntu 20.04 because it tries to install old Python 2 binding for Qt5 as dependency in my case.

Thanks to Christoph Mueller, I found it has something to do with python symbolic links.

As you may know, python2 and python3 in /usr/bin are symbolic links. While python2 is python2.7, python3 links to python3.8 (or 3.9 depends on Ubuntu edition), python is not exist out-of-the-box. However, it will be created in some cases and links to either python2 or python3.

And the point is when Python links to Python2, HPLIP will mistakenly try to install Python 2 libraries as dependency.

Until HPLIP fixed the issue, the solution is either remove /usr/bin/python if you don’t need it or make it link to Python3.

Make Python to be Python3:

There are two choices to create symlink for python: install python-is-python3 or use update-alternatives command.

Option 1. Open terminal and run command to install ‘python-is-python3’:

sudo apt install python-is-python3

Option 2. Use ‘update-alternatives’ to choose which to link to. Firstly, add both python2 and python3 as alternatives:

sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2

You can then choose which to use anytime via command:

sudo update-alternatives --config python

Finally, re-do step 2.) to install the HPLIP-*.run file.

4.) Fix make command failed issue:

This seems to be HPLIP 3.21.6 only issue, that it outputs ‘error: make command failed with status code 2‘.

By re-running ‘make’ command from the source folder (see Uninstall section), it tells that “/usr/bin/ld: cannot find -lavahi-core”.

And it can be fixed by installing libavahi-core-dev package via command:

sudo apt install libavahi-core-dev

How to Remove HPLIP from Ubuntu:

While installing HPLIP via step 2.), it extracts the .run package into the source folder. And you can find it in Downloads folder.

NOTE: HPLIP 3.21.10 somehow does not create source folder. Run ~/Downloads/hplip*.run --target ~/Downloads/hplip to generate it manually if required.

The folder contains an uninstall script allows to remove HPLIP from your computer.

To do so, go to the source folder, right-click on blank area and select ‘Open in Terminal’.

Finally, run the uninstall script in pop-up terminal window:

sudo python3 uninstall.py

That’s all.

HPLIP, HP print, scan, and fax drivers for Linux, released 3.20.6 today with new printers and Linux distributions support, though it still does not install on Ubuntu 20.04.

HPLIP 3.20.6 added following new printers support:

  • HP Color LaserJet Managed MFP E78223a, MFP E78223dv, MFP E78223dn.
  • HP Color LaserJet Mngd MFP E78223dn Plus, MFP E78223dn CN
  • HP Color LaserJet Managed MFP E78228dn, MFP E78228dn Plus, MFP E78228dn CN
  • HP Color LaserJet Managed Flow MFP E78330z Plus, Flow MFP E78330z CN
  • HP Color LaserJet Managed MFP E78330dn, E78330dn Plus, E78330dn CN, MFP E78330z
  • HP Color LaserJet Managed Flow MFP E78325z Plus, Flow MFP E78325dn CN, Flow MFP E78325z CN
  • HP Color LaserJet Managed MFP E78325dn, MFP E78325z
  • HP Color LaserJet Managed Flow MFP E78323z
  • HP Color LaserJet Mgd Flw MFPE78323Z Plus, Flw MFPE78323z CN
  • HP Color LaserJet Managed MFP E78323dn
  • HP Color LaserJet Mngd MFP E78323dn Plus, MFP E78323dn CN

The new release also added support for Fedora 32, Manjaro 20.0, RHEL 8.2.

How to Install HPLIP 3.20.6 in Ubuntu:

1. To install the software, download the package “hplip-3.20.6.run” from the link below:

2. Then open terminal either via Ctrl+Alt+T or by searching for “terminal” from app launcher. When it opens, run command to give executable permission:

chmod +x ~/Downloads/hplip-3.20.6.run

3. Finally run command to start installing the driver:

./Downloads/hplip-3.20.6.run

Follow the terminal output and answer some questions. If everything goes OK, plug or re-plug your HP devices and enjoy!

HPLIP 3.20.2 Released with Linux Mint 19.3 Support

Last updated: February 27, 2020

HPLIP 3.20.2, HP developed open source Linux driver for HP printers and scanners, was released today with many new devices and Linux Mint 19.3 support.

HLIP 3.20.2 added support for Linux Mint 19.3 and the following new printers:

  • HP Neverstop Laser MFP 1200n, 1200nw
  • HP Neverstop Laser MFP 1201n, 1202nw
  • HP Laser NS MFP 1005n
  • HP Neverstop Laser 1000n, 1001nw
  • HP Laser NS 1020n
  • HP ScanJet Pro 2000 s2
  • HP ScanJet Pro 3000 s4
  • HP ScanJet Pro N4000 snw1
  • HP ScanJet Enterprise Flow 5000 s5
  • HP ScanJet Enterprise Flow N7000 snw1

1. To install the software, download the package “hplip-3.20.2.run” from the link below:

2. Then open terminal (Ctrl+Alt+T) and run command to make the file executable.

chmod +x ~/Downloads/hplip-3.20.2.run

3. Finally run command to run the downloaded file:

sh ~/Downloads/hplip-3.20.2.run

4. Follow the terminal prompts, answer some questions to build and install HPLIP on your system. When everything is done, plug/re-plug your printers and enjoy!

HPLIP 3.19.12 Released with New Printers Support

Last updated: December 12, 2019

HPLIP 3.19.12, open source Linux driver for HP printers and scanners, was released today with many new devices support.

HPLIP 3.19.12 added following new devices support:

  • HP Color LaserJet Pro M256dn, M256nw, M256dw.
  • HP Color LaserJet Pro M255dn, M255nw, M255dw.
  • HP Color LaserJet Pro M155a, M155nw, M156a, M156nw.
  • HP Color LaserJet Pro MFP M282nw, M284nw
  • HP Color LaserJet Pro MFP M283fdn, M285fdn
  • HP Color LaserJet Pro MFP M283fdw, M285fdw
  • HP Color LaserJet Pro MFP M283cdw, M285cdw
  • HP Color LaserJet Pro MFP M182n, M184n
  • HP Color LaserJet Pro MFP M182nw, M184nw
  • HP Color LaserJet Pro MFP M183fw, M185fw

This release also added support for Debian 10.1, Debian 10.2, and Manjaro 18.1.2.

1. To install the software, download the package “hplip-3.19.12.run” from the link below:

2. Then open terminal either via Ctrl+Alt+T or by searching for “terminal” from app launcher. When it opens, run command to give executable permission:

chmod +x ~/Downloads/hplip-3.19.12.run

3. Finally run command to start installing the driver:

./Downloads/hplip-3.19.12.run

Follow the terminal output and answer some questions. If everything goes OK, plug or re-plug your HP devices and enjoy!

HPLIP 3.19.10, HP developed printer and scanner drivers for Linux, was released today with new devices and 64-bit Ubuntu 19.10 support.

HPLIP 3.19.10 added following new devices support:

  • HP Color LaserJet MFP M776dn
  • HP Color LaserJet Flow MFP M776z
  • HP Color LaserJet Flow MFP M776zs
  • HP Color LaserJet M856dn
  • HP Color LaserJet M856x
  • HP Color LaserJet E85055dn

Also 64-bit of Manjaro 18.1.0, Ubuntu 19.10, and Fedora 31 are supported in the release.

HPLIP 3.19.10 also added supported for “hp-uiscan” to scan only backside of a page, added Job Accounting Support for the following devices:

  • HP LaserJet Managed Flow MFP E77822-28-30 Printer
  • HP LaserJet Managed MFP E77822-28-30 Printer
  • HP LaserJet Managed Flow MFP E87640-50-60 Printer
  • HP LaserJet Managed MFP E87640-50-60 Printer
  • HP LaserJet Managed Flow MFP E82540-50-60 Printer
  • HP LaserJet Managed MFP E82540-50-60 Printer
  • HP LaserJet Managed Flow MFP E72525-30-35 Printer
  • HP LaserJet Managed MFP E72525-30-35 Printer

1. To install the software, download the package “hplip-3.19.10.run” from the link below:

2. Then make the downloaded file executable from its Properties dialog > Permissions tab:

3. Finally open terminal either via Ctrl+Alt+T or search for “terminal” from app launcher. When it opens, run command to start installing it:

./Downloads/hplip-3.19.10.run

4. Follow the terminal prompts, answer some questions to build and install HPLIP on your system. When everything is done, plug/re-plug your printers and enjoy!

HPLIP 3.19.8, HP developed printer and scanner drivers for Linux, was released today with new devices and new Linux Distro’s support.

HPLIP 3.19.8 add following new printers and scanners support:

  • HP DesignJet T1530 Postscript
  • HP DesignJet T2530 Postscript
  • HP DesignJet T930 Postscript
  • HP DesignJet T1600 Postscript Printer
  • HP DesignJet T1600dr Postscript Printer
  • HP DesignJet T2600 Postscript MFP
  • HP LaserJet Pro MFP M329dn
  • HP LaserJet Pro MFP M329dw
  • HP LaserJet Pro M305d
  • HP LaserJet Pro M304a
  • HP LaserJet Pro M305dn
  • HP LaserJet Pro M305dw

It also added support for following new Distro’s: OpenSuse 15.1, Debian 9.9, Debian 10, Manjaro 18.0.4, Linux Mint 19.2, RHEL 8.0.

1. To install the software, download the package “hplip-3.19.8.run” from the link below:

2. Then make the downloaded file executable from its Properties dialog > Permissions tab:

3. Finally open terminal either via Ctrl+Alt+T or search for “terminal” from app launcher. When it opens, run command to start installing it:

./Downloads/hplip-3.19.8.run

4. Follow the terminal prompts, answer some questions to build and install HPLIP on your system. When everything is done, plug/re-plug your printers and enjoy!

HPLIP, HP developed printer and scanner drivers for Linux, released version 3.19.6 with a lot of new devices support.

New devices supported in HPLIP 3.19.6:

  • HP Smart Tank 500 series, 510, 530 series, 610
  • HP Smart Tank Plus 550, 570 series, 650
  • HP Neverstop Laser MFP 1200a, 1200w
  • HP Laser NS MFP 1005, 1005w
  • HP Neverstop Laser 1000a, 1000w
  • HP Laser NS 1020, 1020w
  • HP DesignJet T2600dr Postscript MFP
  • HP DesignJet XL 3600 PS MFP
  • HP Color LaserJet Pro M453cdn, M454dn, M454cdn, M453cdw, M454nw, M454dw, M454cdw
  • HP Color LaserJet Pro MFP M479dw, M478fcdn, M479fdn, M479fcdn, M478fcdw, M479fdw, M479fnw, M479fcdw
  • HP LaserJet Pro MFP M428dw, M429dw, M428fdn, M428c1, M428c3, M428m, M429fdn, M428fdw, M428c2, M428c4, M429fdw.
  • HP LaserJet Pro M305d, M304a, M305dn, M305dw, M404d, M405d, M404n, M405n, M404dn, M404c1, M404c3, M404m, M405dn, M404dw, M404c2, M404c4, M405dw.

1. To install the software, download the package “hplip-3.19.6.run” from the link below:

2. Then make the downloaded file executable from its Properties dialog, Permissions tab:

3. Finally open terminal either via Ctrl+Alt+T or search for “terminal” from app launcher. When it opens, run command to start installing it:

./Downloads/hplip-3.19.6.run

Type user password (no asterisk feedback) when it prompts and hit Enter.

4. Then follow the terminal prompts, answer some questions to build and install HPLIP on your system. When everything is done, plug/re-plug your printers and enjoy!

HP developed open-source Linux drivers, HPLIP 3.19.5, was released with new printers and most recent Linux Distro’s support.

HPLIP 3.19.5 added support for 64-bit version of Ubuntu 19.04, Fedora 30, and Debian 9.8.

Also following new devices were supported in the release:

  • HP LaserJet Enterprise M507n, M507dn, M507x, M507dng
  • HP LaserJet Managed E50145dn, E50145x
  • HP LaserJet Enterprise MFP M528dn
  • HP LaserJet Enterprise MFP M528f
  • HP LaserJet Enterprise Flow MFP M528c
  • HP LaserJet Enterprise Flow MFP M528z
  • HP LaserJet Managed MFP E52645dn
  • HP LaserJet Managed Flow MFP E52645c
  • HP Color LaserJet Managed E75245dn
  • HP Color LaserJet Enterprise M751n, M751dn
  • HP PageWide XL 3900PS MFP
  • HP OfficeJet Pro 8030 and 8020 All-in-One Printer series
  • HP OfficeJet 8020 and 8010 All-in-One Printer Series

1. To install the software, download the package “hplip-3.19.5.run” from the link below:

2. Then make the downloaded file executable from its Properties dialog:

3. Finally open terminal either via Ctrl+Alt+T or search for “terminal” from app launcher. When it opens, run command to start installing it:

./Downloads/hplip-3.19.5.run

Type user password (no asterisk feedback) when it prompts and hit Enter.

4. Then follow the terminal prompts, answer some questions to build and install HPLIP on your system. When everything is done, plug/re-plug your printers and enjoy!

NOTE: During hp-setup, automatic PPD selection path for some PS devices is wrong on Ubuntu 18.04. Work around is to select the PPD for the devices manually from “/usr/share/ppd/HP” path through browse option or reinstall cups.

Below are the commands to reinstall the cups filters.

sudo apt-get remove --purge cups

sudo apt-get install cups

sudo apt install --reinstall cups-filters.

HP developed Linux drivers HPLIP 3.19.3 was released with new printers and new Linux Distro’s support.

HPLIP 3.19.3 adds following new devices support:

  • HP OfficeJet Pro All-in-One 9010, 9020
  • HP OfficeJet All-in-One 9010
  • HP PageWide XL 4100 Printer, 4100 MFP, 4600 Printer, 4600PS MFP
  • HP Color LaserJet Managed MFP E77422a, E77422dv, E77422dn, E77428dn
  • HP LaserJet MFP E72425a, E72425dv, E72425dn, E72430dn
  • HP LaserJet Managed MFP E62655dn, E62665hs
  • HP LaserJet Managed Flow MFP E62665h, E62675z, E62665z
  • HP LaserJet Managed E60155dn, E60165dn, E60175dn
  • HP Color LaserJet Managed E65150dn, E65160dn, MFP E67650dh, Flow MFP E67660z

The new release also adds support for Debian 9.7(64-bit), RHEL-7.6(64-bit), LinuxMint 19.1(64-bit). Also Gen2 Class driver now is supported, and basic Booklet printing support for a list of devices.

Download / Install HPLIP 3.19.3 in Ubuntu:

1. To install the software, download the package “hplip-3.19.3.run” from the link below:

2. Then make the downloaded file executable from its Properties dialog:

3. Finally open terminal either via Ctrl+Alt+T or search for “terminal” from app launcher. When it opens, run command to start installing it:

./Downloads/hplip-3.19.3.run

Type user password (no asterisk feedback) when it prompts and hit Enter.

4. Then follow the terminal prompts, answer some questions to build and install HPLIP on your system. When everything is done, plug/re-plug your printers and enjoy!

In LinuxMint 19.1 cups is not printing from the localhost:631. The work around is to install the cups-filters via commands:

sudo apt-get remove --purge cups
    
sudo apt-get install cups
   
sudo apt install --reinstall cups-filters 

HPLIP 3.19.1, HP developed Linux drivers for HP inkjet and laser based printers, was released one day ago with new devices and Linux Distros support.

According to the release note, HPLIP 3.19.1 adds following new devices support:

  • HP LaserJet Managed MFP E82540du
  • HP LaserJet Managed MFP E82550du
  • HP LaserJet Managed MFP E82560du
  • HP Color LaserJet Managed MFP E87640 du
  • HP Color LaserJet Managed MFP E87650du
  • HP Color LaserJet Managed MFP E87660du
  • HP Scanjet Pro 2500 f1

Also 64-bit of Fedora 29, Open Suse 15, Manjaro 18.0, and RHEL 7.2 are now supported.

Download / Install HPLIP 3.19.1 in Ubuntu:

1. To install the software, download the package “hplip-3.19.1.run” from the link below:

2. Then make the downloaded file executable from its Properties dialog:

3. Finally open terminal either via Ctrl+Alt+T or search for “terminal” from app launcher. When it opens, run command to start installing it:

./Downloads/hplip-3.19.1.run

Type your user password (no asterisks feedback) when it prompts and hit Enter.

4. Then follow the terminal prompts, answer some questions to build and install HPLIP on your system. When everything is done, plug/re-plug your printers and enjoy!