Some printers require to be shared on the network before you can actually use them. Connect to the administration interface for your router and disable the firewall. It's known that the firewall can cause major problems in terms of connectivity. Secondly, make sure that you are connected to the same network, or if you use an external IP to connect to your printer, then you have to port forward the ports used by the application.