[cups.general] Network default options

Tim Waugh twaugh at redhat.com
Fri Apr 14 05:55:47 PDT 2006


On Thu, Apr 13, 2006 at 10:02:47PM -0400, Michael Sweet wrote:

> 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)...

Aha..

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

Oh, I see.  That's what I needed to know.

Thanks,
Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20060414/109c09f2/attachment.bin>


More information about the cups mailing list