If you are in the epson printer offline situation even when it is turned on then there might be something wrong with the connection. If your printer is connected with the help of an Ethernet cable then do check if the cable is connected to the router and the printer in a proper manner. If you require an IP address then you can print a network configuration page.
If you are using a USB cable then you should check if it is loose in any way or not. If you think that there is an issue with the USB cable then you can also connect it straight and not use a hub.
If it is a wireless connection then use the network configuration page to get the IP address and make certain that the printer and the system are both connected to the same wifi connection