The Epson XP-400 multifunction printer allows you to print, copy and scan documents via cable or wireless. You can connect your printer via a local or business network, or by connecting the printer to your computer using a USB cable.
Steps

Step 1. Check that your Epson XP-400 is not physically connected to the PC via USB

Step 2. Insert the printer software CD into your PC or Mac
-
If your computer doesn't have a CD drive, or you don't have the installation CD, go to the Epson website https://www.epson.com/cgi-bin/Store/support/supDetail.jsp?oid=201986&infoType=Downloads to download and install printer drivers.
Connect to an Epson XP – 400 Step 2Bullet1

Step 3. Select the option to start the "setup
exe .
The installation program will appear on the screen.

Step 4. Click on “Install” or “Continue”, and follow the prompts to install the software on your computer

Step 5. Select your preferred connection option
You can connect the printer via USB or wireless.

Step 6. Follow the prompts to complete the installation based on the link chosen
For example, enter the network name (SSID) and its password if you have chosen wireless, or connect a USB cable to the printer and to the computer in the former case.