The reason the printer is not connecting is because of the 5 GHz Router.
Since you will not be able to change the Router settings, I suggest you use the WiFi-Direct option to print
Please refer to page 59 - 60 in the User Guide: http://h10032.www1.hp.com/ctg/Manual/c04421686 for more details on how to use the WiFi-Direct
Hope this helps 😊
If the information I've provided was helpful, give us some reinforcement by clicking the "Solution Accepted" on this Post and it will also help other community members with similar issue.