I assume you may have a manual IP set for the printer for your old network.
Please swipe down the top bar on the printer and tap the Wireless icon.
Click the gear icon and then select Advanced Settings.
Click on IP Settings and confirm the prompt, then change it to DHCP and press OK.
Allow the printer a moment and check if the address changes to 192.168.x.x, then restart the PC and check for any difference.
Please let me know if that helps,
Say thanks by clicking the Kudos thumb up in the post. If my post resolve your problem please mark it as an Accepted Solution 🙂
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".