Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

OS X 10.5 client and NON-OS X CUPS server: adding printers, solved

Dear all,

I had trouble in adding printers under OS X 10.5, those printers are shared via a FreeBSD CUPS 1.2.10 server on the local network.

So I did the following:

- System Preferences;
- Print & Fax, right click on the leftmost part of the window, then "Reset printing system";
- Open Terminal;
- As admin via sudo or root edit the /etc/cups/cupsd.conf file and modify the first lines so they look like:

Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseProtocols all
BrowseRemoteProtocols all
BrowsePoll hostname of_your_cupsserver:631
BrowsePort 631

- Save the file;
- Restart the client;
- Now you should be able to see/add the printers.

This is a quick and dirty fix, hope this helps.

Regards,

Alessandro

Mac OS X (10.5)

Posted on Oct 29, 2007 6:53 AM

Reply
44 replies

Oct 29, 2007 9:46 AM in response to John Williams8

Hi John,

launch the Terminal application (inside the Applications/Utilies/ folder), then from the command prompt execute the following command:

sudo open -a /Applications/TextEdit.app /etc/cups/cupsd.conf

You will be prompted for your administrator password in order to be able to modify the file with TextEdit.

Modify the file according to my post, save it and restart the Mac. You should now be able to see the printers shared by your CUPS server.

Of course my post and this procedure are intended only for people that have printers shared from a Unix/Linux print server, and is of no help for people that are having troubles with local printers (USB/Firewire/Bluetooth).

All the best,

Alessandro

Oct 29, 2007 10:15 AM in response to Alessandro Dellavedova

Actually your comments are very very helpful. The message I get is basically once the print queue is open it does not close and sends back the message "CUPS server not available". Does this mean that perhaps what was written into this document makes everyone's computer look for a CUPS server instead of using the local host? If so how would one write this to fix it? Of course I have no idea what I am saying but it seems like this is what is happening as the printers all seems to work with the USB connection.

John

Oct 29, 2007 10:34 AM in response to John Williams8

John,

you should have read my first post with a bit more of attention. My post is intended only for people that have a non-OS X CUPS server (eg: Linux/FreeBSD) on their LAN, and they want to use the printers that are shared from that remote server under 10.5 .

It's a very specific scenario, and I don't think it's your case. So please revert the editing you made on the file or, simply, just reset the printing system (Warning: you will loose all your installed printers).

Alessandro

Oct 29, 2007 10:53 AM in response to Alessandro Dellavedova

Alessandro,

I did read your post but since the topic was relevant I think you may have hit on part of a solution for many folks. I did not edit the document so it is not an issue for me. It is interesting though that there seems to be some remnant of this server based CUPS routine that is causing havoc on many systems. Just asking your opinion really as I have no basis for mine (i.e., I do not do this for a living).

John

Oct 29, 2007 1:32 PM in response to John Williams8

Hi John,

my apologies for having misinterpreted your post. I think that Apple engineers really did a big mistake by omitting the keyword BrowseProtocol="all" in the print engine setup (cupsd.conf), since that keyword basically allows the cups-polld daemon, that is the piece of the local printing engine of OS X that can "ask" the LAN for the presence of printers, to ask for printers shared via CUPS/LDAP/SLP and so on.

I hope that this will be soon fixed in a minor release, since quite a lot of people (especially in the educational/research environments) heavily relies on a centralized CUPS server to manage tens or hundreds of printers (we do have 40+ printers, exported to more 400+ clients, both OS X and Windows).

BTW, this morning I was asking a little joke to my colleagues I said to them "300+ new features, an old one missing.. try to guess which one" 😉

All the best,

Alessandro

Oct 31, 2007 6:01 AM in response to Alessandro Dellavedova

Alessandro,
Since I did not start the topic I don't think that I can give out answered points...
Is that possible? If you know how, let me know since you should get some as far as I am concerned.

Otherwise I think that you clearly stated what was needed, so answered might be sensible. I had a shared fax post that I put up the same way you did here and it wound up going on for pages and got way off topic.

Also, in looking deeper at the conversation you said that your solution applied to NON OS X servers.
Mine is a OS X 10.4.10 server and your solution gives me printers on my VPN'd client...

-Erich

OS X 10.5 client and NON-OS X CUPS server: adding printers, solved

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.