Archives For November 30, 1999


 

HPLIP, free open-source Linux driver for HP’s inkjet and laser printers, released version 3.23.12 few days ago.

The new release add some new HP devices support. They include:

  • HP OfficeJet Pro 9130b series
  • HP OfficeJet Pro 9120b series
  • HP OfficeJet Pro 9110b series
  • HP Color LaserJet Enterprise Flow MFP X58045z
  • HP Color LaserJet Enterprise Flow MFP X58045zs
  • HP Color LaserJet Enterprise MFP X58045dn
  • HP Color LaserJet Enterprise MFP X58045
  • HP LaserJet Pro P1106 plus
  • HP LaserJet Pro P1108 plus

Nothing else!

If you happen to have a HP printer in the list above, then below is going to show you how to install the driver for it in Ubuntu Linux.

Download & Install HPLIP 3.23.12

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

It’s “hplip-3.23.12.run“. Once you downloaded the file, right-click on blank area in the ‘Downloads’ folder and select “Open in Terminal“.

When terminal opens, run the commands below one by one will start the installing process for the new driver package:

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

In the terminal output, answer questions by typing ‘y’, ‘n’, etc. Until the command’s done without error, you can plug or re-plug your HP printer for the new driver to work.

Install HPLIP 3.23.12 in Ubuntu 23.10

The .run installer so far does not support Ubuntu 23.10! However, running the commands above will generate the source folder in your ‘Downloads’ folder. Right-click on that folder and select ‘Open in Terminal’, then 23.10 user can try running the commands below one by one to build from source:

1. Firstly, in the terminal window run single command to install the build dependency packages:

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

2. Then, configure the source by running command:

./configure --prefix=/usr --enable-qt5 --disable-qt4

3. Finally, make and install by running the 2 commands below one by one:

make -j4
sudo make install

NOTE: in command -j4 will start 4 threads in parallel to speed up the process. You can skip it, or change number 4 depends on how many CPU cores you have.

After installed HPLIP 3.23.12, plug or re-plug your HP printer, then you can either refresh the driver in system ‘Printer’ settings page, or launch “HP Device Manager” to set up your printer.

Uninstall HPLIP 3.23.12

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

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

sudo ./uninstall.py

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

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.

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

I’ve bought a cheap laptop HP 246 G6 recently. As expect, Fn + function keys are not working after installing Ubuntu 16.04 on it.

So below is the quick fix how to enable the Fn keys on this laptop which may work also on other HP essential laptops.

1. First open terminal either via Ctrl+Alt+T or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo -H gedit /etc/default/grub

Input your password (no visual feedback) when it prompts and hit Enter.

2. The command opens the grub configuration file with gedit text editor.

There find out the line says:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

and change it into:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="

3. After saving the changes. Update grub bootloader via command and reboot:

sudo update-grub

4. If F1 to F12 function keys are working even without pressing Fn:

Restart and press F10 to go to BIOS, disable “Action Keys Mode” in System Configuration tab.

HPLIP, Hewlett-Packard’s Linux imaging and printing software, has reached the 3.17.6 release with lots of new printers support, and Ubuntu 17.04, Debian 8.8 support.

HPLIP 3.17.6 is the second release in 2017, it adds following new printer support:

  • HP LaserJet Enterprise M607n, M607dn, M608n, M608dn, M608x, M608dh, M609dn, M609x.
  • HP LaserJet Managed E60055dn, E60065dn, E60065x, E60075dn, E60075x.
  • HP LaserJet Enterprise MFP M631dn, MFP M631z, MFP M632fht, MFP M632h, MFP M633fh.
  • HP LaserJet Enterprise Flow MFP M631h, Flow MFP M632z, Flow MFP M633z
  • HP LaserJet Managed MFP E62555dn, MFP E62565hs
  • HP LaserJet Managed Flow MFP E62565h, Flow MFP E62565z, Flow MFP E62575z
  • HP Color LaserJet Enterprise M652dn, M652n, M653dn, M653dh, M653x
  • HP Color LaserJet Managed E65050dn, E65060dn, MFP E67550dh, Flow MFP E67560z, MFP M681dh, MFP M681f
  • HP Color LaserJet Enterprise Flow MFP M681z, Flow MFP M681f, Flow MFP M682z
  • HP PageWide Managed P77750z Multifunction Printer
  • HP Pagewide Pro 750dn, 750dw, 772dw Multifunction Printer
  • HP PageWide Managed P77740zs Multifunction Printer
  • HP PageWide Managed P77750zs Multifunction Printer
  • HP PageWide Managed P75050dn Printer
  • HP LaserJet Pro MFP M25a, MFP M25nw, MFP M26a, MFP M26nw, MFP M27c, MFP M27cnw

How to Install HPLIP 3.17.6 in Ubuntu:

The official .run installer is available for download at the link below:

After downloaded the .run installer, open terminal via Ctrl+Alt+T or by searching for “Terminal” from app launcher. When it opens, run command:

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

The commands navigate to your Downloads folder, give executable permission, and finally run the installer script in that terminal window.

Simply follow the terminal prompts, answer some questions, wait it automatically building HPLIP and setting up your devices, and enjoy.

HPLIP, HP print, scan and fax drivers for Linux, has recently reached the 3.15.2 release with new Linux distributions support, Python 3 support, and a few bug fixes.

For the Python 3 support for HPLIP, there are some limitations:

  • Doesn’t support Fax Cover Page in Python 3 environments
  • XSane installation failed message on Debian, type ‘n’ to continue installation when HPLIP tools ask to retry xsane installation
  • Cannot launch hp-toolbox for Python less than version 3.4
  • Dependent package installation fails on Fedora

New Distro’s added support in HPLIP 3.15.2:

  • Debian 7.7, 7.8
  • OpenSuse 13.2
  • Fedora 21

And the launchpad fixes in this release:

  • Doesn’t build against libjpeg-turbo 1.3.90
  • hpcups crashes if DEVICE_URI not set in environment
  • Incorrect call to hpmudext.device_open
  • plugin download fails if python links to python3
  • Incorrect IEEE 1284 Device IDs for many models

How to install/upgrade HPLIP in Linux:

First download the HPLIP installer, the “hplip-x.x.x.run” file at:

Once the download process finish, open a terminal window and cd to the downloads folder:

cd ~/Downloads

Make the installer package executable (replace ‘hplip-x.x.x.run’ with the real package name in below commands):

chmod +x hplip-x.x.x.run

Finally start the installer and follow the onscreen prompts:

./hplip-x.x.x.run

via: HPLIP release note

.