How to install hp printer on rocky linux 10v KDE edition without issues

Just for info, if you go to web browser and localhost:631 you should be able to get the cups web interface, and mine looks like below:

also HP printer, and you can see the config for the IP address using ipp. So you can use it more or less to choose either ipp or Appsocket/JetDirect.