Good evening, it looks like there is a driver for Linux,
https://developers.hp.com/hp-linux-i...
As with all drivers and software it is recommended to download it via the package manager, I could find the driver under the name hplip:
https://packages.ubuntu.com/search
https://www.archlinux.org/packages...
so accordingly in the terminal
sudo apt install hplip
or
sudo pacman -S hplip
Type in.
Of course it depends on what package manager you have installed, worst case there is still a snap version of this package.
Unfortunately, I can't confirm how well it works or help in any other way, as I bought this printer as a gift.