I have cups2 installed and have confirmed it is running.
hp-check gives:
HPLIP-Version: HPLIP 3.23.12
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro 24.04 version
error: cups
CUPS - Common Unix Printing System
REQUIRED 1.1
INCOMPAT 'CUPS may not be installed or not running'
etc....
The printer is an HP ENVY Photo 6200 series. The network connection to printer is via Wi-Fi.