[Printing-architecture] cups-browsed: how to treat rejecting queues?

Till Kamppeter till.kamppeter at gmail.com
Mon Nov 4 13:21:16 UTC 2013


Tim, one can solve the problem, cups-browsed updates queues on changes
in the Bonjour record from the server (but not sure whether on all
changes). Rejecting jobs is encoded in the printer-type TXT field, by
the 0x80000 bit. See /usr/include/cups/cups.h, CUPS_PRINTER_REJECTING
constant.

So it should be possible to implement that the cups-browsed queue
follows the accepting bit of its remote queue.

   Till

On 11/04/2013 01:23 PM, Tim Waugh wrote:
> When cups-browsed creates local queues to forward jobs to remote queues,
> I wonder how it should treat queues that are not accepting jobs? The way
> cupsd used to behave was to copy the remote printer's state to the local
> implicit queue, but cups-browsed is not structured in that way: it
> doesn't update the queues it creates.
> 
> The problem with the current behaviour is that the GTK+ print dialog
> will allow a queue rejecting jobs to be selected.
> 
> See also discussion of this for Fedora:
>   https://bugzilla.redhat.com/show_bug.cgi?id=1025263
> 
> Tim.
> */
> 



More information about the Printing-architecture mailing list