Hi Santhosh
You haven't provided the printer information & OS , you described about LAN .What type or kind of printer & OS you are using , simple and large printers are available in Laser-jet & Ink-jet.
Considering the limitation on the description you provide these are the below methods to connect a printer in Windows OS.
1. Connect the printer directly connected to the PC which is having LAN & Wi-Fi, if not so.
2. Configure the printer with exact driver in this PC as Local Printer.
3. Take a Test print from this PC once or twice after shutting down.
4. When point 3 is fine , go to Control Panel and Printer Folder
5. See the printer visible/available or not.
6. In Network ( Control Panel) add Protocol -->Microsoft File & Printer Sharing ( restart PC)
7. Go to Printer and Right Click Share the Printer( if required rename it as Shared Printer)
8. Note down the System IP address and Share name.
9. Select the system from which you want to configure the Printer( Delete unwanted Printer in the system by looking in the Printer Folder of Control Panel)
10. Go to RUN Command --> Type : \\ IP address \Printer Name - exactly ( The printer appears in Dialog Box)
11. Double click the printer --> it would ask for Installation proceed
12. Repeat this in rest of the machine.