Solved! why is my computer now saying my printer is not connected. It has worked for over a year, now I am getting that message.

Solution
Is the connection wired or wireless? If it is connected via a USB cable then try unplugging the USB cable and reconnecting it. I've had the same problem through a wireless connection. Resetting the router worked for me.