Hi,
Thank you for posting your query in Microsoft Community.
Based on the information you have provided, I understand that printer goes to offline mode after computer resuming from sleep mode in Windows 7. I will certainly help you with this issue.
Disable power management of the USB hub, follow these steps:
- Click on Start, click on Run, type Devmgmt.msc, and then click OK. The Device Manager window opens.
- Expand Universal Serial Bus controllers.
- Right-click a USB Root Hub in the list, and then click on Properties. The USB Root Hub Properties dialog box is displayed.
- Click the Power Management tab.
- Click to clear the Allow the computer to turn off this device to save power check box, and then click on OK.
- Repeat steps 3 through 6 for each USB Root Hub in the list.
- On the Action menu, click on Scan for hardware changes.
Windows 7 recognizes the new device.
- Close the Device Manager window.
If this doesn’t work, follow the Advanced troubleshooting steps from the Microsoft Knowledge Base article below.
Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
How to back up and restore the registry in Windows
http://support.microsoft.com/kb/322756
How to troubleshoot USB device problems that may occur after a PC that is running Windows 7 or Windows Vista resume from sleep or from hibernation
http://support.microsoft.com/kb/953367
For assistance with issues related to Windows feel free to post on Microsoft Community Forum.