Your printer is falling asleep on the network and your router is retracting its IP address due to inactivity.
Assign your printer a static IP address, something that is within the subnet of your local network but outside of the DHCP pool of automatic addresses the router would normally assign.