Wireless printer suddenly not working - EPSON WF-2540
I have a Macbook Pro and suddenly it has stopped printing to my Epson WF-2540 printer, which I've had for a couple years. It printed something last week and now it won't print anything. I've restarted the printer, reset the settings and reconnected to our wifi network on my printer, turned the router on and back off, deleted the printer from my Mac and deleted the drivers and reinstalled them. Now when I go to add my printer back onto my Mac, it doesn't show up as an option. The fax does, but the printer doesn't. So, I added it via its IP address, but it said it couldn't connect to the printer due to an error. I went ahead and configured the printer, but if I go to print, it keeps pausing. The light in the printer window in System Preferences is yellow all the time now. I can print from my iPad or iPhone just fine. Anybody have any suggestions as to what's wrong?
MacBook Pro (13-inch Mid 2012), OS X Mavericks (10.9.5)