CUPS Printing

Install Printer Driver (example: Brother DCP-1510

  1. Download the Driver
  2. Open a terminal window and go to the directory you downloaded the file to in the last step.
  3. Extract the downloaded file:
    $ gunzip linux-brprinter-installer-*.*.*-*.gz
  4. Run:
    # bash linux-brprinter-installer-*.*.*-*
  5. The driver installation will start. Follow the installation screen directions. When you see the message “Will you specify the DeviceURI ?”, choose N(No) for USB connected printers.

CUPS Installation and Settings

  1. Install CUPS:
    # apt-get install cups
  2. Allow connections from other machines on the network:
    # vim /etc/cups/cupsd.conf
    <Location /printers>
      AuthType None
      Order Deny,Allow
      Deny from None
      Allow from All
    </Location>
  3. Restart CUPS:
    # /etc/init.d/cups restart

Samba settings

  1. Enable CUPS printing:
    # vim /etc/samba/smb.conf
    printing = cups
    printcap name = cups
  2. Restart Samba:
    # /etc/init.d/samba restart