If your HP DeskJet 2855e shows offline, restart your printer, router, and computer. Turn off the printer first, restart the router, and wait until it is ready. Then turn the printer back on and check if the Wireless light stays solid blue.
On Windows, open the printer queue and make sure Use Printer Offline is turned off. You can also cancel pending print jobs and try printing again.
If the printer is still offline, check its Wi-Fi connection. The HP DeskJet 2855e supports only 2.4 GHz Wi-Fi, not 5 GHz. Print a Wi-Fi test report by pressing the Wireless and Information buttons together. Check whether the printer is connected to the correct network.
You can also reset the printer's network settings by holding the Wireless and Cancel buttons for about five seconds. Then open the HP app, find your printer, and follow the steps to connect it to Wi-Fi again.
If the problem continues, make sure your computer and printer use the same Wi-Fi network. You can also remove the printer from your computer and add it again using the HP app.
Source:HP DeskJet 2855e Offline