Simply learn yourself.
For wifi

How to connect printer with router


If you have two or more computers connected on a wireless network sharing a single printer and want to get rid of printer cables then connecting your printer to a router is a good option.  There are two methods of connecting printer with router first is using computer & cable and second one is using printer directly. In this instruction page, you will learn about first method i.e. using computer & cable. Here are some steps that you need to follow while connecting printer with router

Note: Your computer must be connected to the same wireless network to use this way

Step 1:  In order to connect the printer with router, you must know the password of router.  Connect the printer with computer via cable.

Step 2: Now, download the driver installation software of printer from internet as per its model no. After downloading, install the software using wireless connection.

Step 3: Your computer will configure wireless information automatically to printer. You will find that printer is now connected with router.