No need to edit files, GUI tools are sufficient. You must know exact port and ip address / driver . Also make sure firewall is not blocking access to printer. Type the following to see if iptables is blocked or what
Also don't forget to start printer service from GUI. Once done you should able to print a test page.