Printer Sharing

You can configure your Mac’s CUPS print server to listen for incoming print jobs over the network. This lets other computers use your machine as their print server, printing out documents on the printers connected to it, including any network printers in your printer list. These client machines can run any OS that can speak the CUPS, LP, or LPR protocols—e.g., Windows, Unix, or other Mac OS X machines (the latter of which access your printers by adding an IP Printing printer entry into their own printer lists, as described earlier in “Adding and configuring printers,” and pointing it at your computer’s IP address).

Printer Sharing Through the Sharing Pane

The easiest way to activate this feature involves bringing up the Print & Fax preferences pane (Figure 9-1) and checking the “Share my printers with other computers” checkbox. This automatically modifies the relevant part of the /etc/cups/cupsd.conf file and restarts the print server for you.

If the Sharing pane finds /etc/cups/cupsd.conf in an unexpected state (such as the result of your performing manual edits on it), the Sharing pane will refuse to modify the file further; the Printer Sharing checkbox will lock into a checked state, even if you try unchecking it.

Should you find yourself in this situation and wish to make this simple interface available again, remove the existing /etc/cups/cupsd.conf file (backing it up somewhere first, if you wish), and then copy /etc/cups/cupsd.conf.old in its place. If both ...

Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.