There should be no problem. If you connect the printer to the router with a network cable, it will get an IP address from the router. You can then use that IP address to connect to the printer.
Once the printer is plugged in, print a configuration page so you'll know its IP address. Then try pinging it from the laptop by typing (from a DOS prompt)
If you see replies from the printer, you are ready to install it. If PING times out, compare the IP address of the printer with that of the laptop. If they are not on the same subnet (i.e. the first 3 numbers of the address are the same on both) then change settings on the router so it will connect the two subnets.
Before installing the driver, you should give the printer a fixed IP address, either by reserving it on the router, or by manually setting it on the printer. In the latter case, make sure it is outside the DHCP range of the router - other wise you might get duplicate addresses at some time in the future. If you install the driver first and change the IP later, then go to Printer Properties > Ports > Configure Port and change the address there to match that of the printer.