Finally I moved the Epson printer from downstairs to upstairs next to the router and held down WiFi button of the printer and WPS button on the router simultaneously. WiFi indicator came on the printer. Connected the computer in the same SSID, I added the printer to OS X printers in preferences. All seems to functioning as expected now.