ecloud, I was hoping this would not be the case. I have been searching high and low to figure out why CUPS in 10.5 did not expose the bonjour records for its printers.
I downloaded the *Bonjour Browser* from
http://www.tildesoft.com/Programs.html and I saw that my iMac with 10.5 did not expose a printing service. I tried fiddling with the firewall, printer settings and even with cups directly (web interface and command line) to see if I could get the bonjour records exposed.
Since I have a
linux box I played around with
avahi (which is conveniently what I searched for) while trying to figure this whole thing out. Here's what I got out of avahi (similar to what Bonjour Browser gave me):
amul@mansion:~$ avahi-browse -rat
+ eth0 IPv4 Fortress Microsoft Windows Network local
+ eth0 IPv4 iTunes
Ctrl93F631ADAE25B367 iTunes Remote Control local
+ eth0 IPv4 Fortress iTunes Audio Access local
+ eth0 IPv4 Fortress_PW Digital Photo Sharing local
+ eth0 IPv4 amul@Fortress iChat Presence local
+ eth0 IPv4 Fortress VNC Remote Access local
+ eth0 IPv4 Fortress Apple File Sharing local
+ eth0 IPv4 001124032D2D@MusicHouse AirTunes Remote Audio local
+ eth0 IPv4 MusicHouse Apple AirPort local
+ eth0 IPv4 mansion [00:1a:92:e3:d7:5b] Workstation local
+ eth0 IPv4 Fortress SSH Remote Terminal local
+ eth0 IPv4 mansion ssh SSH Remote Terminal local
+ eth0 IPv4 Fortress SFTP File Transfer local
+ eth0 IPv4 mansion sftp SFTP File Transfer local
+ eth0 IPv4 mansion http Web Site local
+ eth0 IPv4 DI-524 http Web Site local
*cut for brevity*
mansion.local is the Linux box and Fortress.local is the iMac.
So created a service file for CUPS on the linux box:
amul@mansion:/etc/avahi/services$ cat cups.service
<service-group>
<name replace-wildcards="yes">Linux exported Bonjour CUPS for Fortress</name>
<service protocol="ipv4">
<host-name>Fortress.local</host-name>
<type>
ipp.tcp.</type>
<port>631</port>
</service>
</service-group>
note that I specifically set
ipv4 instead of
any in the protocol field. The discussion forum kills the tab spacing.
re-running avahi-browse yields this extra:
+ eth0 IPv4 Linux exported Bonjour CUPS for Fortress Internet Printer local
= eth0 IPv4 Linux exported Bonjour CUPS for Fortress Internet Printer local
hostname = [Fortress.local]
address = [192.168.4.134]
port = [631]
txt = ["org.freedesktop.Avahi.cookie=952232980"]
Ok, so
avahi and *Bonjour Browser* see the printing service. Yup, the "Default" option for adding a printer shows *Linux exported Bonjour CUPS for Fortress*, but I'm not sure if the service description is complete enough for me to make a connection. I'll give it a go in a few days when I get time to play with it from my powerbook. ... I'm impatient, I checked and it does not. The URL is of the form *mdns://Linux exported Bonjour CUPS for Fortress.
ipp.tcp.local* with the spaces escaped with
%20. I'm guessing that there is more to figure out.
Anyone else want to try getting something to report CUPS via Apple's mDNSResponder?
/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
/System/Library/LaunchDaemons/com.apple.mDNSResponderHelper.plist
Don't seem to give me much.
Worse Than Failure! Seriously. The only way I got around this problem with by LPD (under the IP printing options using the same names as on the host for the queues) with Fortress.local as the destination IP.