Print out a status report locally from the printer and see what IP-settings you have. Is the IP address obtained automatically by DHCP then you should be able to configure the PC to find the printer and print to that IP-address. There may also be that the printer IP address is manually configured, which sometimes are common for printers in IP networks in order to keep the IP address. Then you can enable automatic IP address (DHCP) and see that it works. A better method than using fixed IP-addresses (to avoid IP conflicts) is to add the printers unique MAC-address to the DHCP table in the router which will give the printer the same IP address whenever restarted.