ad-hoc cups-polld

Michael Sweet mike at easysw.com
Tue Mar 27 18:19:52 PDT 2007


angelb wrote:
> ...
> Also, when running an lpstat in a client, it returns the queue even
> though the queue no longer exist in the servers.

Wait for the queue to timeout...

 > ...
> a. On ad-hoc cups-polld where a deleted queue was made, why is it the
>    client does not get the update?

cups-polld relies on the BrowseTimeout stuff to remove the queue.

> b. When running lpstat, does the client request info from the servers
>    ot does it check its cache?

lpstat has no cache and only asks a single server (usually localhost)
for its list of queues.  The server (cupsd) keeps track of the
available printers - the printcap file is updated by the scheduler with
the current list of printers, but is only there for legacy apps that
look at the printcap file instead of using IPP requests, CUPS API,
lpstat command, etc.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list