How Can I Reset My HP Printer to a New Wi-Fi Network?
https://www.linkedin.com/pulse/how-can-i-reset-my-hp-printer-new-wi-fi-network-robert-mark-etkgc
If you've changed your Wi-Fi password, installed a new router, or switched to a different internet provider, your HP printer may no longer connect to the wireless network. This happens because the printer still stores the old network information.