[cups.general] Network default options

Michael Sweet mike at easysw.com
Thu Apr 13 19:02:47 PDT 2006


Tim Waugh wrote:
> Could someone explain how the new 'network default options' work in
> CUPS 1.2rcX?  How exactly do the default options get advertised?

They get sent in the browse packets, so clients will pickup the
defaults (they show up in the name-default attributes returned by
a Get-Printer-Attributes request)...

> I've set a network default option on a queue, but cupsGetDests2()
> isn't showing it in the dest->options array.

They won't show up there - they are applied when the job is received
by cupsd.  If the job request does not contain an attribute that has
a default value, then an attribute is added with the default value.

-- 
______________________________________________________________________
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