Some HP printers, mostly the low cost models, need to have firmware sent to the unit prior to printing. My HP LaserJet P1102w laser printer is one of those such machines. Here are the instructions for installing the plugin for Linux Mint 21.3.
HPLIP requires some software that now come pre-installed with Linux Mint 21.3. Open up a command line terminal and run the following command to satisfy the missing dependencies.
sudo apt-get install python3-pyqt5
First we need to find out which version of HPLIP is running on the system. To do this, open up a command line terminal and run the following command.
hp-info
The first line should read HP Linux Imaging and Printing System (ver. x.xx.xx). Take note of the version number. (In my case it is 3.21.12)
Now go to the HP's Developer Portal, look for the file named hplip-x.xx.xx.run (matching your version) and download it.
Go back to the terminal and navigate to where you downloaded the file and run the following command.
sudo chmod +x hplip-*-plugin.run
This will allow the file to run. The "*" will replace any version number you downloaded.
Now we can install the plugin with the following command.
./hplip-*-plugin.run
The Driver Plug-in License Agreement window should appear. Read then check the I agree box and click on the Next button to continue.
It will now ask you for your password to install the plugin. After hittig the OK button, the window should disappear and the plugin installion is now complete. You can exit the terminal.