If you have installed an old version of the HPLIP driver on your Linux system and it's not working with your new Linux version, I had a similar problem on my Linux Mint 22 (Wilma).
The older version of HPLIP did not work for me. Recently, I checked the official HPLIP page, and fortunately, the new version supports my Linux Mint 22 (Wilma). You can check it on the page below:
https://developers.hp.com/hp-linux-imaging-and-printing/install
To upgrade your old HPLIP, you have two options:
-
Remove the old version from your machine and download and install the latest
HPLIPfrom this address:
https://developers.hp.com/hp-linux-imaging-and-printing/gethplip -
Alternatively, you can use the following command in your terminal to install all upgrades and necessary plugins for your HP printer on Linux:
hp-setup -i
The hp-setup -i command can also help you resolve issues with your HP printer. If you have encountered problems with the HP driver, using this command may help resolve your issues.