Linux Capable published a tutorial about installing HPLIP on Ubuntu 22.04 LTS.
How to Install HPLIP on Ubuntu 22.04 LTS
Learn how to install HPLIP on Ubuntu 22.04 LTS Jammy Jellyfish Linux using an PPA to install the latest version for HP Linux Imaging and Printing support.
How to Install HPLIP on Ubuntu 22.04 LTS - LinuxCapable