Your HP printer keeps going offline and shows an error on your device, then the printer service has been stopped. To troubleshoot the problem, you need to restart the printer spooler service. To restart it, open the “Run” box on your PC and type “Services. msc ”. Hit the OK button. Find the “Printer Spooler” option. Hit the “Stop” button; this will stop the service. On the Window address bar, type "C: \ Windows \ System32 \ Spool \ Printer". Delete the items from this folder, get back to the print spooler section, click on the “Start” button to resume the service. After this, your problem will be resolved.