Your printer might appear offline if it can't communicate with your PC. Here are some things to try to get your printer back online.
Check to make sure the printer is turned on and connected to the same Wi-Fi network as your PC. Your printer's built-in menu should show which network it's connected to, or check your printer's manual for more info.
Verify that your printer is not in Use Printer Offline mode. Select Start > Settings > Devices > Printers & scanners. Then select your printer > Open queue. Under Printer, make sure Use Printer Offline is not selected.
If these steps don't put your printer back online, then read Troubleshooting offline printer problems.
Fix printer connection and printing problems in Windows 10.
Open your printer settings
Hp Printer Status Offline Windows 10
Troubleshoot Printer Stuck in Offline Status in Windows If you have tried to print a document in Windows 10, you know that it won’t print unless the printer is online. Usually, this just involves turning on your printer and waiting a few seconds for the status to change from offline to online. Unfortunately, this doesn’t happen all the time. Printer not working and Cannot print after update to Windows 10: After upgrading your computer (PC) to Windows 10 from Windows 7, 8 and 8.1, your printer may stop working and show offline status, some printer drivers for a specific type of hardware might have issues with new Windows 10 Operating system, will discuss steps to resolve the printer going offline issue.