4.7 - Installing Cups

Install Cups

Do the install of cups, don’t forget that you need top set up cups to be able to be accessed and administered from remote Ip addresses (The rest of your reg network) since by default it only is able to be administered by localhost.

  1. Install Cups package
sudo apt-get install cups
  1. Type Y <enter> to confirm that you do want to continue with the installation

  1. Let the installation complete.
  1. Now configure Cups to allow remote administration. Type the command:
    sudo cupsctl --remote-admin
  2. Now edit the /etc/cups/cupsd.conf file.
    sudo joe /etc/cupsd.conf
  3. Make sure the user you're using under linux is a member of the lpadmin group. So that user can add printers
sudo usermod -aG lpadmin username
  1. We want to replace any instances of “Allow @LOCAL” to “Allow all” throughout the entire file. (You will need to sudo to edit this file)

  1. Restart the cups Service with the command:
sudo /etc/init.d/cups restart
  1. Go to http://10.10.2.10:631/ to verify that you can administer the cups system. You should see a page like this: