You wrote it's connected to the router but it's off line? If the printer connected, it's on line. Maybe you are talking about something on the PC and not the printer (which is the subject you posted under?)
I have a Toshiba Satellite A505-S005 that is connectd to my router network. I also have an HP Officejet J6480 that is connected to the same router. The problem I have is I can't get the printer to go online. How do I get it to change status to "online" ? The computer is using Windows 7.