Unable to print on a shared printer network

I am sharing a printer on network computers but when I change the IP address on the main server PC that has Windows XP on it, I can’t print anymore using the other computer. Previously, they are all in dynamic IP address but right now the main server is unreachable when I tried to ping it. Could you please tell me what is wrong with this set up?
