It’s all in a day’s work

If only a day had 48 hours…
  • rss
  • Home
  • About DelGurth
  • About Wilco

Connecting Ubuntu client to Cups server

Wilco | Tuesday, January 6, 2009

As trivial as its configuration actually is, I find it surprising there is no easy (as in GUI-driven) way to connect your (K)Ubuntu/Debian box to existing Cups infrastructures. Even in (K)Ubuntu 8.10 you need to use Konsole or Terminal. But then it is easy.

Easy but poorly documented.

Assuming you have a working cups server cupsserver.localdomain somewhere on the network you’re currently in; the cups config is working, i.e. printers are connected and shared and browseable.

Edit or create (this file is not in any package, so it is perfectly normal to have to create it yourself) /etc/cups/client.conf:
# sudo gedit /etc/cups/client.conf
ServerName cupsserver.localdomain

Save the file and you’re done. There is no need to re-login, it might take a while though and I’ve found applications like Firefox sometimes do need a restart to re-poll their printer settings.

When you’re moving from net to net a lot like I am it might be easier to keep a number of files or multiple servers in the same file, uncommenting the current one when needed; that’s a matter of preference.

This works on most Ubuntu and/or Debian versions, as long as they use cups ofcourse.

Categories
Debian, General, Ubuntu
Tags
CUPS, Debian, Ubuntu
Comments rss
Comments rss
Trackback
Trackback

« Backup an entire disk to another (larger) disk Pre-loading debconf values for easy installation »

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">


Categories

  • Debian (7)
  • Debian/Ubuntu (7)
  • Dell D830 (2)
  • Development (1)
  • E65 (1)
  • Eclipse (4)
  • Etch (3)
  • Feisty (2)
  • General (6)
  • Hardy (3)
  • Internet Explorer (1)
  • Java (1)
  • JSP (1)
  • JSTL (1)
  • Lenny (1)
  • Misc (5)
  • Nokia (1)
  • one-liners (2)
  • Optimizing performance (1)
  • Packages (4)
  • Phones (2)
  • PHP (3)
  • Postfix (1)
  • Shell Scripting (1)
  • SQL Injection (1)
  • SVN (3)
  • Testing (3)
  • Ubuntu (9)
  • Ubuntu x86_64 (2)
  • VOIP (1)
  • Wordpress (7)

Friend blogs

  • AgileMore
  • Borselaer.org
  • Gerbrand on ICT
  • Schapendonk.org

Sites I like

  • Joel on Software
  • The Tom Kyte Blog
  • Windows Keyboard Shortcut of the Day

Archives

  • March 2009 (1)
  • February 2009 (1)
  • January 2009 (2)
  • December 2008 (1)
  • November 2008 (1)
  • October 2008 (4)
  • September 2008 (1)
  • August 2008 (6)
  • May 2008 (4)
  • April 2008 (1)
  • March 2008 (1)
  • February 2008 (2)
  • December 2007 (1)
  • November 2007 (3)
  • October 2007 (2)
  • September 2007 (3)
  • August 2007 (1)
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox