--- /etc/cups/cups-browsed.conf 2022-07-20 00:16:25.163243798 +0100
+++ /etc/cups/cups-browsed.conf.dpkg-new 2024-09-26 15:21:15.000000000 +0100
@@ -38,8 +38,7 @@
# Which protocols will we use to discover printers on the network?
# Can use DNSSD and/or CUPS and/or LDAP, or 'none' for neither.
-BrowseRemoteProtocols none
-# dnssd cups
+BrowseRemoteProtocols dnssd
# Which protocols will we use to broadcast shared local printers to the network?
@@ -309,7 +308,7 @@
# Set HTTP timeout (in seconds) for requests sent to local/remote
# resources Note that too short timeouts can make services getting
-# missed when they are present and operations be unneccessarily
+# missed when they are present and operations be unnecessarily
# repeated and too long timeouts can make operations take too long
# when the server does not respond.
@@ -318,7 +317,7 @@
# Set how many retries (N) should cups-browsed do for creating print
# queues for remote printers which receive timeouts during print queue
-# creation. The printers which are not successfuly set up even after
+# creation. The printers which are not successfully set up even after
# N retries, are skipped until the next restart of the service. Note
# that too many retries can cause high CPU load.
@@ -553,6 +552,23 @@
# NewIPPPrinterQueuesShared Yes
+# How to handle the print queues cups-browsed creates when
+# cups-browsed is shut down:
+
+# "KeepGeneratedQueuesOnShutdown No" makes the queues being
+# removed. This makes sense as these queues only work while
+# cups-browsed is running. cups-browsed has to determine to which
+# member printer of a cluster to pass on the job.
+
+# "KeepGeneratedQueuesOnShutdown Yes" (the default) makes the queues
+# not being removed. This is the recommended setting for a system
+# where cups-browsed is permanently running and only stopped for short
+# times (like log rotation) or on shutdown. This avoids the
+# re-creation of the queues when cups-browsed is restarted, which
+# often causes a clutter of CUPS notifications on the desktop.
+
+# KeepGeneratedQueuesOnShutdown No
+
# If there is more than one remote CUPS printer whose local queue
# would get the same name and AutoClustering is set to "Yes" (the
# default) only one local queue is created which makes up a
@@ -648,7 +664,7 @@
# As DNS-SD service names are unique in a network you can create a
# cluster from exactly specified printers (spaces replaced by
-# underscors):
+# underscores):
# Cluster hrdep: oldlaser_@_hr-server1 newlaser_@_hr-server2
@@ -742,3 +758,19 @@
# shutdown.
# AutoShutdownTimeout 30
+
+# DebugLogFileSize defines the maximum size possible (in KBytes)
+# of the log files (cups-browsed_log and cups-browsed_previous_logs)
+# that is created using cups-browsed in the debugging mode.
+# Setting its value to 0 would turn off any restriction
+# on the size of the file.
+
+# DebugLogFileSize 300
+
+# NotifLeaseDuration defines how long the D-BUS subscription created by cups-browsed
+# in cupsd will last before cupsd cancels it. The default value is 1 day
+# in seconds - 86400. The subscription renewal is set to happen after half of
+# NotifLeaseDuration passed. The D-BUS notifications are used for watching over queues
+# and doing specific actions when a D-BUS notification comes.
+
+# NotifLeaseDuration 86400