Just one example: If your Router IP address is 192.168.1.1 , set your printer IP 192.168.1.241
If it is 192.168.0.1 set printer to 192.168.0.241 . 241 is high enough, it is
UNLIKELY to have the same address for an other device from the DHCP server, and create IP conflict. Can be
SURE about it if you change the DHCP range in your router's web interface. to .2 - .240.
If you wish to connect directly, use 192.168.115.4 for your
computer IP and 192.168.115.241 for your printer. The subnet mask was 255.255.255.0 all the time. take a note each time you set a static IP address, one address is only for 1 device.