<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Oct 22, 2009, at 7:06 AM, Guillaume Rousse wrote:</div><blockquote type="cite"><div><blockquote type="cite"><font class="Apple-style-span" color="#144FAE">...</font></blockquote><blockquote type="cite">BrowseProtocols sets both the local and remote protocols. <br></blockquote><blockquote type="cite"> BrowseLocalProtocols and BrowseRemoveProtocols set the corresponding <br></blockquote><blockquote type="cite">ones only.<br></blockquote>Which means BrowseLocalProtocols and BrowseRemoteProtocols are ignored <br>if BrowseProtocols is set ?<br></div></blockquote><div><br></div>Not exactly.  The current implementation uses the last value in the cupsd.conf file, so:</div><div><br></div><div>    BrowseProtocols foo</div><div>    BrowseLocalProtocols bar</div><div><br></div><div>will set BrowseLocalProtocols to "bar" and BrowseRemoteProtocols (implicitly) to "foo".  However, if you do the lines in a different order:</div><div><br></div><div><div>    BrowseLocalProtocols bar</div><div><div>    BrowseProtocols foo</div><div><br></div><div>then both BrowseLocalProtocols and BrowseRemoteProtocols will be "foo".</div><div><br></div></div></div><div><blockquote type="cite"><div>...</div></blockquote><blockquote type="cite"><div>Do you mean on linux exclusively, or in general ? In the later case, I <br>don't understand what's the usefulness in advertising printers with a <br>protocol no one can use to discover them...<br></div></blockquote><div><br></div>In general - we don't auto-discover Bonjour/DNS-SD queues in cupsd. Instead, users are expected to manually add those shared queues they are interested in, and the dnssd backend provides discovery instead.</div><div><br></div><div><blockquote type="cite"><div>BTW, what about the documentation patch, and the request for a warning <br>when using unsupported protocols ?<br></div></blockquote><div><br></div>Please file separate bug reports on <a href="http://cups.org">cups.org</a>:</div><div><br></div><div>    <a href="http://www.cups.org/str.php">http://www.cups.org/str.php</a></div><div><br></div><div>That will ensure that your requests don't get lost in the flood of email...</div><div><br></div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>___________________________________________________</div><div>Michael Sweet, Senior Printing System Engineer</div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>