Technology has taken up a notch in the last few years.
The printers show the offline issue many times.
Reboot the Printer- Once you check the network connection and it seems fine and still, your printer shows offline status then, try restarting it.
This will help in restarting the model and might start the network connection.
Get Rid Of The Print Jobs- When the printer shows the offline status after so many attempts to get rid of the error then there might be some issue with a document.
Delete And Reinstall The Printer- When all your efforts go to vain, you have to attempt the last resort option and that is to delete the printer from the computer or laptop.