Try this procedure if the printer has already been connected to the computer by Wi-Fi, but you want to change the connection method to Ethernet connection.
Disable the Wi-Fi from the printer's control panel.
Connect the printer to a hub using an Ethernet cable.