How to Fix HP Officejet 4650 Offline issue?

Question:- I am continuously facing a Printer offline Problem with my HP Officejet 4650 Printer. Every time I try to print any document, it tells me HP Officejet 4650 Offline. It is connected wirelessly to my computer. I restarted all my devices like router, printer, and computer but nothing changed. I tried to uninstall the HP Officejet 4650 drivers and added it again with Ip Address still. It keeps saying my HP Officejet 4650 printer is Offline. I ran HP Scan and Doctor to identify the problem but nothing seems to work. I don’t know why my HP 4650 Printer always says Offline. I need help to fix this HP Officejet 4650 Printer Offline problem permanently.