.br
Specifies whether the CUPS web interface is advertised.
The default is "No".
+.\"#BrowseIPPSOnly
+.TP 5
+\fBBrowseIPPSOnly Yes\fR
+.TP 5
+\fBBrowseIPPSOnly No\fR
+.br
+Specifies whether to only advertise IPPS services.
+The default is "No".
.\"#Browsing
.TP 5
\fBBrowsing Yes\fR
{
{ "AutoPurgeJobs", &JobAutoPurge, CUPSD_VARTYPE_BOOLEAN },
{ "BrowseDNSSDSubTypes", &DNSSDSubTypes, CUPSD_VARTYPE_NULLSTRING },
+ { "BrowseIPPSOnly", &BrowseIPPSOnly, CUPSD_VARTYPE_BOOLEAN },
{ "BrowseWebIF", &BrowseWebIF, CUPSD_VARTYPE_BOOLEAN },
{ "Browsing", &Browsing, CUPSD_VARTYPE_BOOLEAN },
{ "Classification", &Classification, CUPSD_VARTYPE_STRING },
/* multiple-operation-time-out value */
WebInterface VALUE(CUPS_DEFAULT_WEBIF);
/* Enable the web interface? */
+VAR int BrowseIPPSOnly VALUE(0);
+ /* Only browse IPPS printers? */
VAR cups_file_t *AccessFile VALUE(NULL),
/* Access log file */
*ErrorFile VALUE(NULL),
int removeit) /* I - Printer being permanently removed */
{
/*
- * Only deregister if browsing is enabled and it's a local printer...
+
*/
cupsdLogMessage(CUPSD_LOG_DEBUG2, "cupsdDeregisterPrinter(p=%p(%s), removeit=%d)", (void *)p, p->name, removeit);
if (!p->shared)
return;
-
+
+if (BrowseIPPSOnly && !(p->type & CUPS_PTYPE_REMOTE))
+ return;
/*
* Set the registered name as needed; the registered name takes the form of
* "<printer-info> @ <computer name>"...