CUPS Printer Client Tutorials

Common Unix Printing System

I've recently been working on a project to connect a few of my computers to a networked printer, connected through a Red Hat server running CUPS, the common unix printing system. As I searched for information on how one might connect their pc/mac clients to a cups server, my efforts were set back by either incorrect or hard to find information. So I am posting my own experiences here and sharing with the methods that actually worked for me.

My server connects directly to the internet, like all my client computers, and so there is no local network that one would want to enable windows/samba sharing over. Although my server happens to be Red Hat Enterprise Linux, the methods of connecting to a CUPS printer shouldn't vary between different operating systems.

Select an Operating System

Connecting a windows XP machine without using samba.

Limitation: It seems windows cannot successfully login to a CUPS internet print queue. You must use a printer queue that doesn't require users to authenticate to use it.

Server Settings

Compare your CUPS server settings and confirm that internet sharing is enabled.

Print Queue

Navigate to the printer you intend to add, and note the web address.

Printers and Faxes

Open up "Printers and Faxes"

Select "Add a Printer"

Wizard

Select "next" to begin the add printer wizard.

Wizard: Network or Local

Select the network printer option then click next.

Wizard: Specify a Printer

Select the URL option and enter in the web address you noted earlier. It should be in the following form http://server:631/printers/name-of-printer

Wizard: Driver Selection

Choose an appropriate driver.

Wizard: Default Printer

Finish the rest of the wizard answering questions to your preferences.

That's all, you're all done.

Connecting Windows 7 to CUPS

Software Required: Make sure that Windows has the Internet Printing Protocal Client software enabled in system features.

Server Settings

Compare your CUPS server settings and confirm that internet sharing is enabled.

Print Queue

Navigate to the printer you intend to add, and note the web address.

Printers and Faxes

Open up "Devices and Printers" It should be in your start menu or control panel.

Select "Add a Printer"

Wizard: Network or Local

Select the network printer option.

Wizard: Searching for Printers

Go ahead and click stop, then select "The printer that I want isn't listed".

Wizard: Connecting to Printer

Enter in the full printer address that you noted earlier. Should be in the form of http://myservername:631/printers/printername When finished, click next and Windows will try to connect to the server.

Wizard: Driver

Choose an appropriate driver.

Wizard: Complete

You've finished adding the printer.

Wizard: Post Install Options

Select options acording to your preferences.

Windows 7 Device List

The new printer should now show up in the devices list.

Connecting mac OSX 10.6 ipp Print Client

Print & Fax Preferences

Open System Preferences -> Print & Fax

Click on the plus sign under the list of printers to add a new printer.

CUPS Printer Queue

Access your CUPS server through the it's we interface and navigate to the printer you want to add.

Make note of the address of this page. The name of your print queue is the part starting with printers/

Add IPP Printer

In the Add Printer Dialog, select "Internet Printing Protocol - IPP"

Enter either the hostname or the IP address for the CUPS server.

In the Queue box, enter printers/The-name-of-the-cups-printer as determined in the previous step.

Optionally type in a custom name for the printer and a description of where the printer is physically located

Driver Selection

Click on "Select Printer Software..." in the "Print Using" drop down box.

Choose a suitable driver for your printer, and click OK

Now finish the Add Printer process by clicking on "Add"

System Printer List

That's it, you're done! You should now see your new printer in your systems printer list.