[cups.development] Deleting printers that have no backend
h.blischke at srz.de
Wed Aug 31 10:27:13 PDT 2005
Jim Fehlig wrote:
> I have encountered configurations where it is possible to have printers
> installed with no corresponding backend to communicate with the target
> device. Details can be provided at how I arrived at such a
> configuration, but don't believe it is terribly relevant.
> I would like to get the community's thoughts on providing a patch that
> would delete printers for which there is no corresponding backend to
> service the queue. I have looked into deleting the printer when a job
> is processed and we find that exec()ing the backend fails with ENOENT.
> Such a patch appears to be fairly simple but wanted to get some feedback
> before creating it.
> An alternate approach would be to check for necessary programs (filters
> and backends?) for installed printers during initialization of cupsd and
> removing those for which there is no hope for success. Perhaps a config
> item or command line option to control this behavior?
> I may be overlooking scenarios where such behavior is undesirable, but
> will happily provide a patch if this functionality is deemed appropriate.
> Thanks in advance.
> Jim Fehlig
As it's the very first time I hear about an issue like this, I'd be interested on
how you did get there ...
SRZ Berlin | Firmengruppe besscom
More information about the cups