To install cups:
apt-get install cups cups-browsed cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-driver-gutenprint cups-filters cups-filters-core-drivers cups-ppdc cups-server-common
Thanks to: http://wiki.sebeka.k12.mn.us/ubuntu:cups_print_server
Access cups via browser: localhost:631
Configure printer location: Dash -> Printers -> Right-click on printer -> Properties -> Into field “location” add IP of your printer.
To remove cups:
sudo service cups stop
sudo apt-get remove cups
sudo apt-get clean
sudo apt-get autoremove
Thanks to: http://www.davekimble.org.au/computers/Lubuntu-14.04/how%20to%20remove%20CUPS.htm
If you have problem like “Unable to locate printer”, then again: Dash -> Printers -> Right-click on printer -> Properties -> and Device URI: lpd://ip_address_of_your_printer/BINARY_P1
About cups passwords:
When you are asked for a username and password, enter your login username and password or the “root” username and password. On MacOS X, the login username (or “short name”) is typically your first and last name in lowercase.