CUPS is totally OK, the errors come from HPLIP.Debian folks should really update to the current version of HPLIP, 3.24.4. It should be easy, just porting over the Ubuntu package.
And modern HP printers do not need HPLIP, they are driverless, for both printing and scanning.