Hi Steveb3,
Welcome to the HP Support Forums! :) I understand your HP Photosmart 7520 turns itself off repeatedly throughout the day. I would like you to try a solution posted by fellow Community Member pcwizard to disable the UPnP in your printers Embedded Web Server (EWS). Please follow the steps listed below:
Disable UPnP in printers EWS:
Follow the steps below to access the EWS of the printer.
1. Typing the printers assigned IP address into the address bar of Internet Explorer.
2. Network Tab
3. Networking option on the left
4. UPnP option on the left
5. Select the 'Disable UPnP' radio button
6. Click 'Apply'
Please let me know if the issue still persists. I will watch for your reply.
Thank you,