[cups.general] Faster cupsGetDests alternative

Tim Waugh twaugh at redhat.com
Thu Dec 13 05:50:05 PST 2007


(Yes, this is an old thread...)

On Tue, 2006-08-29 at 08:23 -0400, Michael Sweet wrote:
> cups-lpd implements a single printer lookup with its options from
> /etc/cups/lpoptions; see the "get_printer()" function for the
> implementation.
> 
> It is not designed to be a general-purpose replacement for
> cupsGetDests(), but rather a faster alternative when you know the
> printer name.  It might make its way into the CUPS API in a future
> feature release for use by the lp and lpr commands, however there
> is still the issue of handling the "default" printer which slows
> things down a bit...

Mike,

What do you think about adding a cupsGetSingleDest() (or similar) API
function for implementing this?

Tim.
*/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.cups.org/pipermail/cups/attachments/20071213/fa3940e3/attachment.bin>


More information about the cups mailing list