I found a solution. I loaded the Printopia app and it solved the problem, it found the printer connected to my laptop and allowed me to print from my iPhone. It took only a few minutes, it did all the work for me. It’s a great app!
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".