Skip to content

Instantly share code, notes, and snippets.

@avalanchy
Last active December 22, 2015 02:19
Show Gist options
  • Save avalanchy/6402752 to your computer and use it in GitHub Desktop.
Save avalanchy/6402752 to your computer and use it in GitHub Desktop.

Printing under Ubuntu/Debian.

  1. Install CUPS - Print Server sudo apt-get install cups

  2. Go http://localhost:631/admin

  3. Click Add printer.

  4. Log-in with as your system account.

  5. Select Internet Printing Protocol (ipp).

  6. Type ipp://10.93.5.160/ipp. (find IP using nmap -p 631 10.93.5.* --open) +[click continue]

  7. Type printer name i.e. myprinter. +[click continue]

  8. Select Generic. +[click continue]

  9. Select Generic PCL 6/PCL XL LF Printer - CUPS+Gutenprint v5.2.9 (en). +[add printer]

  10. Click Set Default options.

  11. Everyone likes bananas picture banan Please click and print this banana for the test :)

@romankierzkowski
Copy link

In case of "Add printer: Forbidden" error:

$ sudo apt-get install gnome-system-tools

$ users-admin

Check: Advanced settings -> User privilidges -> Printer configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment