An HP printer that keeps showing offline usually has network, driver, or settings issues. Start by checking that the printer is powered on and connected to the same WiFi network as your device. Restart the printer, computer, and router to stabilize the connection. Make sure the printer is set as the default and that “Use Printer Offline” is not enabled. Clear pending print jobs and up... https://sites.google.com/view/hp-printer-offline-fix-1/home