CUPS, Common Unix Printing System, is used in most Unix-based and Linux-based operating systems. Its aim is to simplify your printing (only when a printer is properly configured). The CUPS website claims:
Now, since every printer manufacturer does things differently, printing can be very complicated. CUPS does its best to hide this from you and your application so that you can concentrate on printing and less on how to print. Generally, the only time you need to know anything about your printer is when you use it for the first time, and even then CUPS can often figure things out on its own.
However, it turns out that CUPS is not that easy to use particularly for a novice. In fact, there are already a million of web sites featuring various problems relating to the use of CUPS.
I’ve got my own beef to share but let me do it more objectively.
Setting up CUPS in Ubuntu Dapper under LAN environment works seamlessly. On the server side, just install the printer. On the client side, just open the gnome-cups-manager, turn on the “Auto Detect LAN printers” and you’ve already got Linux shared printers on the fly.
But with Kubuntu, you’d be in hell. My office’s desktops were running Kubuntu Dapper and they could not connect to the shared printers. We tried all the howtos and tips shared online, to no avail. After several days of sleeping on the problem, eureka, I discovered a solution on the desktop/client side. First, fire up a terminal. Then do the following:
- Remove the file /etc/cups/client.conf if it exists (
sudo rm /etc/cups/client.conf).
- Install gnome-cups-manager and gksu (
sudo apt-get install gnome-cups-manager gksu).
- Open gnome-cups-manager (
sudo gnome-cups-manager). Then choose from the menu Global Settings->Detect LAN printers. And shared printers must appear.
Everyone in my office can now print without any problem (so far).