Archives For hp

HPLIP, the HP developed Linux driver for HP printers and Scanners, released version 3.23.5 this Monday!

The new release features many new HP devices support. They are:

  • HP Color LaserJet Enterprise 6700dn / 6700
  • HP Color LaserJet Enterprise 6701dn / 6701
  • HP Color LaserJet Enterprise X654dn / X654
  • HP Color LaserJet Enterprise X65455dn / X65465dn
  • HP Color LaserJet Enterprise X654 65 PPM
  • HP Color LaserJet Enterprise X654 55 to 65ppm License
  • HP Color LaserJet Enterprise X654 Down License
  • HP Color LaserJet Enterprise MFP 6800dn
  • HP Color LaserJet Enterprise Flow MFP 6800zf / 6800zfsw / 6800zfw+
  • HP Color LaserJet Enterprise MFP 6800 / 6801 / 6801 zfsw
  • HP Color LaserJet Enterprise Flow MFP 6801zfw+
  • HP Color LaserJet Enterprise MFP X677 55 to 65ppm License
  • HP Color LaserJet Enterprise MFP X677 65ppm
  • HP Color LaserJet Enterprise Flow MFP X677z
  • HP Color LaserJet Enterprise MFP X67765dn / X67755dn
  • HP Color LaserJet Enterprise Flow MFP X67765zs / X67765z+
  • HP Color LaserJet Enterprise MFP X677 / X677s
  • HP Color LaserJet Enterprise Flow MFP X67755zs / X67755z+
  • HP Color LaserJet Enterprise MFP X677dn
  • HP Color LaserJet Enterprise Flow MFP X677zs / X677z+
  • HP Color LaserJet Enterprise 5700dn / 5700
  • HP Color LaserJet Enterprise X55745dn / X55745
  • HP Color LaserJet Enterprise MFP 5800dn / 5800f / 5800
  • HP Color LaserJet Enterprise Flow MFP 5800zf
  • HP Color LaserJet Enterprise MFP X57945 / X57945dn
  • HP Color LaserJet Enterprise Flow MFP X57945zs / X57945z

How to Install HPLIP 3.23.5 in Ubuntu Linux

HPLIP offers official .run installer available to download at the link below:

Once you downloaded the file, right-click on blank area in ‘Downloads’ folder and select “Open in Terminal”.

When terminal opens, run the commands below one by one:

  • Add executable permission for the file:
    chmod u+x hplip-3.23.5.run
  • Run the file, follow the on-screen prompt and answer some questions:
    ./hplip-3.23.5.run

Until the command done without errors, you can plug or re-plug your HP printer for the new driver to work.

NOTE: The .run installer so far does not support Ubuntu 23.04! But, after running the previous commands, it generated the source folder in user ‘Downloads’ folder. Right-click on that folder and select ‘Open in Terminal’, then 23.04 user can run the commands below one by one to build from source:

Install build dependencies:

sudo apt install --assume-yes libcups2-dev libdbus-1-dev build-essential ghostscript openssl libjpeg-dev libsnmp-dev libtool-bin libusb-1.0-0-dev wget python3-pil policykit-1 policykit-1-gnome python3-pyqt5 python3-dbus.mainloop.pyqt5 python-gi-dev python3-dev python3-notify2 python3 python3-reportlab libsane-dev xsane libavahi-client-dev libavahi-core-dev avahi-utils

Configure, make & install:

./configure --prefix=/usr --enable-qt5 --disable-qt4
make -j4
sudo make install

Uninstall HPLIP 3.23.5

As mentioned above, running the installer will create a source folder in user ‘Downloads’ folder.

Right-click on that folder and select “Open in Terminal”. Then run the uninstall script in pop-up terminal window to remove HPLIP:

sudo ./uninstall.py

HPLIP, the open-source HP printer and scanner driver for Linux, released version 3.22.10 today with new Linux distributions support.

The installer script for the new release is now working on Manjaro 21.3, Suse 15.4, RHEL 9, Linux Mint 21.0, Mx Linux 21.2.

The release does not include any new HP printer and scanner support. Meaning you can just skip this release if the last HPLIP 3.22.6 was installed on your system. And for Ubuntu 22.10, the 3.22.6 release is available to install in system repository.

Download & Install HPLIP 3.22.10

The installer script for the new release is available to download at the link below:

Just grab the ‘hplip-3.22.10.run’ installer. Then, you may start installing it via the steps below:

  1. Right-click blank area in the folder that you saved the ‘.run’ installer (usually ‘Downloads’ folder). Then, select ‘Open in Terminal‘.
  2. When terminal opens, run command to add executable permission for the HPLIP package:
    chmod u+x hplip-3.22.10.run
  3. Finally, run it to start installing the driver:
    ./hplip-3.22.10.run

During installing process, it automatically detects your system, asks you to type user password, select install mode.

When done installing driver, it will ask to plug or re-plug your printer/scanner and start a graphical wizard for easily setting up your device. And, you can print a test page in last step to see if your device works.

As well, HPLIP has an indicator in system tray allowing to easily manage events and configure device settings.

HP’s Linux printer and scanner driver, HPLIP, released new 3.22.2 version today with many new printers support!

According to the release note, HPLIP 3.22.2 adds official support for Red Hat Enterprise Linux 8.5, Elementary OS 6.1, and Linux Mint 20.3.

And,

  • HP LaserJet Tank MFP 1602a, 1602w, 1604w
  • HP LaserJet Tank MFP 2602dn, 2602sdn, 2602sdw, 2602dw
  • HP LaserJet Tank MFP 2604dw, 2604sdw
  • HP LaserJet Tank MFP 2603dw, 2603sdw
  • HP LaserJet Tank MFP 2605sdw
  • HP LaserJet Tank MFP 2606dn, 2606dsn, 2606sdw, 2606dw, 2606dc
  • HP LaserJet Tank MFP 1005, 1005w, 1005nw
  • HP LaserJet Tank 1502a, 1502w
  • HP LaserJet Tank 1504w
  • HP LaserJet Tank 2502dw, 2502dn,
  • HP LaserJet Tank 2504dw
  • HP LaserJet Tank 2503dw
  • HP LaserJet Tank 2506dw, 2506d, 2506dn
  • HP LaserJet Tank 1020, 1020w, 1020nw

Download & Install HPLIP 3.22.2

To get the software package, download the “hplip-x.xx.x.run” file from the link page below:

Next, search for and open a terminal window from start menu. And, run command to grant executable permission, and run the installer script to install it:

cd ~/Downloads && chmod +x hplip-*.run && ./hplip-*.run

Just follow the terminal output and answer questions. It will build and install the software automatically.

Tip: For those still using Python 2 and getting into python-pyqt5 dependency issue, see this workaround.

How to Remove HPLIP:

Running the “hplip-x.xx.x.run” installer will generate a source folder in user Downloads directory. If you don’t see it, re-run it via command:

~/Downloads/hplip*.run --target ~/Downloads/hplip

Then in file manager, go to “Downloads”. Right-click on ‘hplip’ folder and select ‘Open in Terminal’, finally run the uninstall script in pop-up terminal window:

sudo python3 uninstall.py

That’s all. Enjoy!

HPLIP, Hewlett-Packard’s Linux imaging and printing software, released version 3.21.8 with new printers support.

The open-source HP printer and scanner driver add some new devices support. They are:

  • HP Smart Tank 500 series
  • HP Smart Tank 530 series
  • HP Smart Tank Plus 570 series
  • HP Smart Tank 7600
  • HP Smart Tank 750
  • HP Smart Tank 790
  • HP Smart Tank Plus 710-720
  • HP Smart Tank Plus 7000
  • HP Smart Tank Plus 660-670
  • HP Smart Tank Plus 6000
  • HP DeskJet Ink Advantage Ultra 4800 All-in-One Printer series

And Linux Mint 20.2, RHEL 8.4 and Manjaro 21.0.7 are officially supported according to the release note.

How to Install HPLIP 3.21.8 in Ubuntu:

The official installer package, “hplip-3.21.8.run“, is available to download at the link below:

After downloaded the file, open the Downloads folder in terminal by right-clicking on blank area in that directory and choose ‘Open in Terminal.’

Open Downloads folder in terminal

When terminal opens, add executable permission to the file by running command:

chmod u+x hplip-3.21.8.run

Then run the installer and follow terminal output to start installing the driver:

./hplip-3.21.8.run

For the python-pyqt5 dependency issue, see this how to tutorial. Or, you can manually install the dependencies via command:

sudo apt-get install libcups2 cups libcups2-dev cups-bsd cups-client libcupsimage2-dev libdbus-1-dev build-essential ghostscript openssl libjpeg-dev libsnmp-dev libtool-bin libusb-1.0-0-dev wget python3-pil policykit-1 policykit-1-gnome python3-pyqt5 python3-dbus.mainloop.pyqt5 python-gi-dev python3-dev python3-notify2 python3 python3-reportlab libsane libsane-dev sane-utils xsane libavahi-client-dev libavahi-core-dev

And compile it from source folder (generated automatically once you run the .run file) via configure, make, sudo make install.

Uninstall HPLIP 3.21.8:

While installing the driver, it creates a source folder that contains an uninstall script. Until you remove that folder, you can run the script to remove HPLIP:

cd ~/Downloads/hplip-3.21.8/ && sudo ./uninstall.py

HP Linux Imaging and Printing

This tutorial is a quick fix for HP laptops that wireless does not work on Ubuntu 18.04 Gnome desktop.

On my cheap laptop HP 246 G6 I found that the wireless network does not work out-of-box after installed Ubuntu 18.04. No wifi option in system tray menu, and System Settings says ‘No Wifi adapter found‘.

This happens on many HP devices including HP 15-bs000, 15-bs100, 15g-br000, 15q-bu000, and Pavilion 15-br000, HP 280 G3, 290 G1, and more. And the reason is Ubuntu does not support RTL8723de wifi driver.

UPDATE Jan-2021, IMPORTANT NOTE:

1. Ubuntu 18.04.5 comes with Linux Kernel 5.4 which makes rtl8723de device work out-of-the-box.

If kernel doesn’t update to v5.4.0, run command:

sudo apt install linux-generic-hwe-18.04

2. For other RealTek WiFi drivers, e.g., rtl8188fu, rtl8192fu, rtl8723ds, rtl8723du, and more. See this how to guide.

Here’s what I did to fix no wifi adapter issue in Ubuntu 18.04:

1. Reboot and go to BIOS to make sure wireless network are enabled. And plug laptop into a wired connection.

2. Open terminal either via Ctrl+Alt+T shortcut key or by searching for ‘terminal’ from software launcher.

3.1 You may first install the building tools first via command:

sudo apt-get install linux-headers-$(uname -r) build-essential git

3.2 Run command to get the Realtek rtlwifi codes that includes rtl8192ce, rtl8192cu, rtl8192se, rtl8192de, rtl8188ee, rtl8192ee, rtl8723ae, rtl8723be, and rtl8821ae.:

git clone https://github.com/lwfinger/rtw88.git

4. In this terminal window, install the drivers via command:

cd rtw88/ && make && sudo make install

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

5. If the installation success, run 2 commands load the new driver:

sudo modprobe -r rtl8723de

sudo modprobe rtl8723de

Wireless network starts working in my case:

6. If that does not work, you may remove and blacklist the broadcom drivers and restart:

sudo apt purge bcmwl-kernel-source

sudo sed -i '/blacklist bcma/ d' /etc/modprobe.d/blacklist.conf

sudo sed -i '/blacklist brcmsmac/ d' /etc/modprobe.d/blacklist.conf

In addition, (thanks to jeremy31) if you notice weak signal try command:

sudo modprobe -r rtl8723de && sleep 5 && sudo modprobe rtl8723de ant_sel=1

and see if it is better, if not run:

sudo modprobe -r rtl8723de && sleep 5 && sudo modprobe rtl8723de ant_sel=2

(REQUIRED) Or write the rule into configuration. REPLACE X with whatever setting (1, 2, or 3) worked best.

echo "options rtl8723de ant_sel=X" | sudo tee /etc/modprobe.d/rtl8723de.conf