/dev/random

Reality has a liberal bias

/dev/random random header image

Printer fix for Leopard

October 28th, 2007 · 12 Comments · Macintosh

The only major problem I had with Leopard is that it won’t see my Brother HL-1440 laser printer, which is connected to my Linux box and shared via CUPS (which I had reported as a bug).

It turns out that Leopard only uses Bonjour to discover shared printers by default. However, CUPS browsing can be easily enabled.

Edit /etc/cups/cupsd.conf and look for the following lines:


# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all

Add the following line after it:


BrowseProtocols all

To activate the change, restart cupsd (sudo killall -HUP cupsd). You should now see any shared CUPS printers and be able to add them.

Tags:

12 responses so far ↓

  • 1 People Over Process » links for 2007-10-29 // Oct 29, 2007 at 2:19 am

    [...] Printer fix for Leopard | /dev/random Just in case there’s some problem adding non-Bonjour printers. (tags: leopard cups printers config) [...]

  • 2 10.5ì?˜ cupsê°€ 로컬 프린터를 못 찾는 ë¬¸ì œ í•´ê²° 방법 - AppleForum // Oct 30, 2007 at 5:44 am

    Kramer auto Pingback[...] 넣어 ë’€ë?”니 위와 ê°™ì?´ í•´ë?„ 안ë?˜ë?”êµ°ìš”. ëº?ë?”니 잘ë?©ë‹ˆë‹¤. ã…œ.ã…œ; 출처 : Printer fix for Leopard | /dev/random ps. isightê³ ì¹˜ê³ ë“œë””ì–´ leopard 깔았습니다. 아좌 [...]

  • 3 Anon // Oct 30, 2007 at 2:31 pm

    Thank you for posting this. I understand Apple’s reasons for disabling this functionality but it really puts on the hurt when sharing printers from other unix-like machines to OSX. It just goes to show that Apple are big enough to do their own thing and are more than happy to show up the deficiencies in other operating systems.

  • 4 Ray (1 comments.) // Nov 1, 2007 at 3:08 am

    I can not believe i spent 4 hours on this yesterday. I bet this is what I need!

  • 5 Leopard: prime installazioni, commenti e feedback - Page 57 - Forum Macitynet // Nov 1, 2007 at 4:59 am

    Kramer auto Pingback[...] Cita Scrivo per comunicare di un problema riguardante la stampa…di rete però… non so quindi se risolverà anche il tuo problema. Praticamente cupsd non riconosce le stampanti condivise da server linux (non so se il problema si presenta con server di altro tipo perchè non ho avuto occasione di provare) la soluzione sta nell’editare il file /etc/cups/cupsd.conf e nella sezione: # Show shared printers on the local network. Browsing On BrowseOrder allow,deny BrowseAllow all aggiungere la seguente stringa BrowseProtocols all poi basta riavviare il servizio: sudo killall -HUP cupsd La fonte di questo fix è :http://mcdevzone.com/2007/10/28/printer-fix-for-leopard [...]

  • 6 Leopard drop easy CUPS shares from Linux: reader comment from krosavcheg - CNET News.com // Nov 2, 2007 at 8:51 am

    Kramer auto Pingback[...] come across so far is that Leopard drops out of the box support for printers shared from Linux - http://mcdevzone.com/2007/10/28/printer-fix-for-leopard . It’s a pity but I guess that’s what you get for not going Apple all the way - I’ll know to stick [...]

  • 7 Team Murder » Leopard Cups Shared Printer Fix // Nov 3, 2007 at 1:05 am

    [...] it fixed quickly (a direction I would’ve taken if not preoccupied by consuming rage) then check out this post for a guide to enabling the necessary protocols for CUPS to act like it ought to. Thanks for thinking it through and making it [...]

  • 8 cocaine // Nov 4, 2007 at 3:20 pm

    thnx dude,
    i had excactly the same problem.

    smart thinking to activate cups.
    (feel stupid cause i had not thought of that first ;)

  • 9 iiegn's blog // Nov 6, 2007 at 9:12 pm

    links from Technoratialso show a way of doing all this via cups’ web interface (on http://localhost:631)… nevertheless, you will have to add the ‘Shared Printer’ via ‘Printer & Fax’ - just that now the printers from the cups server will show up. references:http://mcdevzone.com/2007/10/28/printer-fix-for-leopard

  • 10 Anon // Nov 17, 2007 at 6:16 am

    This seems to have spawned an Apple support database entry too: http://docs.info.apple.com/article.html?artnum=306984 .

  • 11 Anon // Nov 17, 2007 at 6:44 am

    Also covered on http://discussions.apple.com/thread.jspa?threadID=1203691&tstart=0 and http://lists.apple.com/archives/printing/2007/Nov/msg00013.html (the second one is from the CUPS creator Michael Sweet).

    (I should have posted these with the previous comment)

  • 12 ongoing · Leopard, Ouch // Nov 24, 2007 at 11:45 am

    Kramer auto Pingback[...] I work and all went well (other than disabling automatic printers from Linux but the fix is on http://mcdevzone.com/2007/10/28/printer-fix-for-leopard - I guess that’s the punishment for mixing Macs with non Mac platforms).The only horror story was [...]

  • 13 noattentionspan // Dec 12, 2007 at 5:39 am

    links from TechnoratiSo, I took a break from work this evening and decided that I was pissed at myself for not being able to get printing working in Leopard. I know I’m wiping the computer this weekend (probably) and this is a waste of time, but I still wanted to do it.http://mcdevzone.com/2007/10/28/printer-fix-for-leopardThat link gave me the handy hint damn it. Edit /etc/cups/cupsd.conf After this section: # Show shared printers on the local network. Browsing On BrowseOrder allow,deny BrowseAllow all Add this line:

  • 14 Jure Cuhalev — In pursuit of The Idea // Dec 29, 2007 at 1:41 pm

    links from Technoratit see anymore the CUPS printers on your network. The reason for this is that Apple decided to disable some browsing protocols. You need to manually edit /etc/cups/cupsd.conf and add BrowseProtocols all to it.Full instructions at mcdevzone.com

  • 15 In pursuit of The Idea — Jure Cuhalev // Dec 29, 2007 at 1:41 pm

    links from Technoratit see anymore the CUPS printers on your network. The reason for this is that Apple decided to disable some browsing protocols. You need to manually edit /etc/cups/cupsd.conf and add BrowseProtocols all to it.Full instructions at mcdevzone.com

  • 16 Critical Exponent // Feb 18, 2008 at 3:41 am

    links from TechnoratiKnox upgraded to Leopard, and the simple printer sharing (Linux to mac) that had been so easy to set up before stopped working. After implementing the tipshereand here, I discovered that the shared printer can be found under the “Default� tab of “Print & Fax�, not under the “IP� tab. Before the upgrade, the shared printer just showed up immediately.