* [Printing-architecture] cups-browsed - What to do if client.conf redirects to remote CUPS
@ 2013-08-05 21:42 Till Kamppeter
2013-08-05 23:35 ` Michael Sweet
0 siblings, 1 reply; 2+ messages in thread
From: Till Kamppeter @ 2013-08-05 21:42 UTC (permalink / raw)
To: Open Printing, Michael Sweet
Hi,
cups-browsed works well browsing printer broadcasts from remote servers
and auto-adding local raw queues pointing to these printers as long as
CUPS clients are not redirected to remote servers via /etc/cups/client.conf.
If there is such a re-direction, cups-browsed does not make much sense,
as it cannot manipulate CUPS queues on a remote server. It can even
misbehave, as
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1207203
shows.
What I would like to do is to make cups-browsed always connecting to the
local CUPS daemon, ignoring any client.conf setting. Is this easily
possible?
Or should I better simply on the first failed attempt to add or remove a
print queue make cups-browsed shutting down and enter a stand-by loop
until the cupsServer() output changes?
Till
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Printing-architecture] cups-browsed - What to do if client.conf redirects to remote CUPS
2013-08-05 21:42 [Printing-architecture] cups-browsed - What to do if client.conf redirects to remote CUPS Till Kamppeter
@ 2013-08-05 23:35 ` Michael Sweet
0 siblings, 0 replies; 2+ messages in thread
From: Michael Sweet @ 2013-08-05 23:35 UTC (permalink / raw)
To: Till Kamppeter; +Cc: Open Printing
Till,
On 2013-08-05, at 5:42 PM, Till Kamppeter <till.kamppeter@gmail.com> wrote:
> ...
> What I would like to do is to make cups-browsed always connecting to the local CUPS daemon, ignoring any client.conf setting. Is this easily possible?
Sure, don't use cupsServer() to get the default server and don't use CUPS_HTTP_DEFAULT for any http_t * parameters.
> Or should I better simply on the first failed attempt to add or remove a print queue make cups-browsed shutting down and enter a stand-by loop until the cupsServer() output changes?
The value of cupsServer() is cached for the life of the application. And while we *do* have a bug tracking a potential change to detect whether the client.conf file(s) have changed, we are also doing our best to move away from static configuration information in order to better function in a mobile world.
_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-05 23:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-05 21:42 [Printing-architecture] cups-browsed - What to do if client.conf redirects to remote CUPS Till Kamppeter
2013-08-05 23:35 ` Michael Sweet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.