This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours

Bug 245824

Summary: RFE: discover printers with Bonjour / Zeroconf
Product: [Fedora] Fedora Reporter: Joshua Daniel Franklin <joshuadfranklin>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.3-0.b1.2.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-19 11:21:29 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 248891    
Bug Blocks: 235704    

Description Joshua Daniel Franklin 2007-06-26 16:53:09 EDT
This is a request for enhancement.

I was excited to see that Fedora has the Zeroconf avahi-daemon
running by default, but unfortunately system-config-printer doesn't use it.
Virtually every new network printer has Zeroconf--it's a very cheap feature.
The upcoming CUPS 1.3 will publish shared printers as Zeroconf
_printer._tcp services, which would of course be awesome to take
advantage of: http://www.cups.org/roadmap.php
(Shared Mac printers also publish using zeroconf.)

After I installed the avahi-tools package I can easily browse the
available printers, --resolve would give additional info like IP address:

# avahi-browse  --terminate _printer._tcp
+ eth0 IPv4 hp color LaserJet 3500 (00306EC4BCFF)         UNIX Printer     local
+ eth0 IPv4 hp color LaserJet 4600 (0001E6739D76)         UNIX Printer     local

For anyone not familiar with Zeroconf, as you might expect the O'Reilly
book is quite good: http://www.oreilly.com/catalog/bonjour/toc.html
Comment 1 Tim Waugh 2007-07-18 10:37:35 EDT
Update:
CUPS-1.3b1 has support for Apple's implementation of Bonjour.  The plan is to
add support for other implementations but it isn't there yet.
Comment 2 Tim Waugh 2007-07-19 10:16:45 EDT
Good news: I've managed to get it to build against avahi-compat-libdns_sd.

Leaving open until the SELinux policy is adjusted to let cupsd talk to Avahi via
D-Bus.
Comment 3 Tim Waugh 2007-07-19 11:21:29 EDT
$ avahi-browse --terminate _ipp._tcp
+ eth1 IPv4 HEWLETT-PACKARD DESKJET 990C (HAL) @ hoopoe.elk Internet Printer   
 local