Limiting list of printers seen by user?

Erik Forsberg forsberg at cendio.se
Tue Nov 1 02:23:01 PST 2005


Michael Sweet <mike at easysw.com> writes:

> Erik Forsberg wrote:
> > ...
> > You definitely have a point. If I made a patch that read a
> > configuration variable to determine if
> > requesting-user-name should be sent or not, would you accept that?
> > ...
> 
> Ew, no.  Environment variables have there place, but I don't want
> to introduce one to control whether an API functions one way or
> another - a bit too hackish, and it will make testing and supporting
> legacy APIs that much harder.

OK. I can understand your point of view, being a software developer
myself. 

> Right now the user just has to sift through more printers than are
> actually available because the app is using an API that was
> deprecated in CUPS 1.1.  It is the responsibility of the application
> to use the current APIs and thus provide the latest functionality.

Yes. In a perfect world, all applications would use the latest APIs.. :-)

\EF
-- 
Erik Forsberg                OpenSource-based Thin Client Technology
Cendio AB                    Phone: +46-13-21 46 00    
			     Web: http://www.thinlinc.com
		             




More information about the cups mailing list