[cups.development] [RFE] STR #3092: Add support for printer list filtering

Stéphane Graber stgraber at ubuntu.com
Fri Feb 6 08:27:11 PST 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

When used with LTSP or similar terminal systems, all the users are using a
few application servers. In a typical setup, these then connect to a
central cups server for printing.

In some of our setups, we may have over 700 printers on the cups server
and as the application server are not linked to a physical location, we
can't filter the printers that the user will see.

The proposal is to add a PRINTER_LIST variable that will contain all the
printers that the user can see, when set the user will only see the
content of PRINTER (the default printer) and PRINTER_LIST (comma separated
list). When set to empty, he won't see any printer and when not set it'll
fallback to the usual behavior.

We wrote a patch doing exactly what's described above for cups 1.3.9 and
generated the .deb packages using it for our customers but would really
appreciate to get it include in CUPS to make it available to everyone and
avoid having to maintain it separately.

We patched ippReadIO to do it, making a separate function that gets the
ipp stream and filter the printers. We did it here as it's what we
identified as the one function used by all libraries and softwares using
libcups.

If you have any question or suggestion, they are very welcome.

PS: Patch author is Julien Desfossez working with me at Revolution Linux.

Link: http://www.cups.org/str.php?L3092
Version:  -feature
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: printer-filtering.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20090206/d000431e/attachment.ksh>


More information about the cups mailing list