"background updates of print queues via a dedicated process"

Michael Sweet mike at easysw.com
Wed Feb 12 13:25:13 GMT 2003


Tim Potter wrote:
> ...
> My idea which I've probably told a couple of you is to use kernel 
> dnotify stuff to work out when jobs are spooled or removed.  So a 
> daemon would get a signal when a spool file is created and add that
> to printing.tdb.  When the file completes spooling lpd deletes it and
> the daemon gets another signal saying that file has deleted.
 > ...

However, this is highly spooler specific and depends on a publicly
accessible spool directory (something that any self-respecting
spooler does not do these days to avoid common security issues...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Printing Software for UNIX                       http://www.easysw.com





More information about the samba-technical mailing list