Topic : Enabling Bonjour Printing Sharing on 10.5

Topic Archived This topic has been archived - replies are not allowed.


This question is answered. "Helpful" answers available: 2 . "Solved" answers available: 1 .



            Permlink
            Replies : 2 - Pages : 1 - Last Post : Feb 29, 2008 10:36 PM by: amulz
amulz

Posts: 21
From: Earth
Registered: Nov 14, 2007
Enabling Bonjour Printing Sharing on 10.5
Posted: Feb 27, 2008 10:02 PM
 

WARNING This requires a Linux machine (at least until I figure out how to run avahi on MOSX or create static exposed services with mDNSResponder).

The following thread started my attempt at getting Bonjour printing working on MOSX.5
http://discussions.apple.com/message.jspa?messageID=6570899#6570899
http://discussions.apple.com/thread.jspa?messageID=6713333&#6713333

I'm going to try and follow up on this, and I wanted to get the knowledge out there so that more people can lend a hand.

20" iMac   Mac OS X (10.5.2)    
amulz

Posts: 21
From: Earth
Registered: Nov 14, 2007
Re: Enabling Bonjour Printing Sharing on 10.5
Posted: Feb 28, 2008 8:18 AM   in response to: amulz
 

This thread is about getting a MOSX 10.5 machine to share its USB printers via CUPS or Bonjour. That means that any other MOSX/*nix/DOS computer will be able to "see" the printers hosted by a computer running 10.5 via CUPS browsing or Bonjour.

20" iMac   Mac OS X (10.5.2)    
amulz

Posts: 21
From: Earth
Registered: Nov 14, 2007
Printing Sharing from 10.5 to 10.5, from 10.5 to Linux solved
Posted: Feb 29, 2008 10:36 PM   in response to: amulz
 

Heh, I'm an ID10T. :)

I read through a saved copy of the cupsd.conf located in /etc/cupsd.conf.OLD on my machine.
BrowseInterval: the time between browsing updates in seconds. Default
is 30 seconds.

Note that browsing information is sent whenever a printer's state changes
as well, so this represents the maximum time between updates.

Set this to 0 to disable outgoing broadcasts so your local printers are
not advertised but you can still see printers on other hosts.

BrowseInterval 0

So, I JUST deleted that line from the cupsd.conf (via the web interface located at http://localhost:631/admin?op=config-server) and viola, the printers are now visible via Bonjour and CUPS. My Powerbook (10.5) now sees the printers without a problem (well, the entries are doubled since it sees them via CUPS and Bonjour, but that was my doing). My Linux box also sees the printers just fine.

----

Having read some other helpful hints that said to set
BrowseProtocols all
don't do that. If you read below, you'll see that you enable SLP as well as cups and dnssd (bonjour). While not a big deal, you will generate some error messages in your /var/log/cups/error_log and possibly slow down your machine.

BrowseProtocols: which protocols to use for browsing. Can be
any of the following separated by whitespace and/or commas:

all - Use all supported protocols.
cups - Use the CUPS browse protocol.
slp - Use the SLPv2 protocol.
dnssd - Use the DNS Service Discovery (aka Bonjour) protocol.

The default is "cups".

NOTE: If you choose to use SLPv2, it is strongly recommended that
you have at least one SLP Directory Agent (DA) on your
network. Otherwise, browse updates can take several seconds,
during which the scheduler will not respond to client
requests.

BrowseProtocols cups


If you want to keep that line in there, then set it to:
BrowseProtocols cups dnssd

20" iMac   Mac OS X (10.5.2)