I read your post and i understand that your printer is not printing from your computer.
I'd like to help.
To better assist you -
How is the printer connected to the device USB or wireless or WIFI DIRECT?
What is the status of the wireless light on the printer, steady or blinking?
I would like to know, is your router set to work on 2.4 GHz network or 5 GHz network band?
let me know!
And, Welcome to the HP Support Community.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping
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".