job filter

Helge Blischke H.Blischke at srz-berlin.de
Fri Jul 9 05:21:35 PDT 2004


Anonymous wrote:
> 
> Maybe a "passthru"-filter? a filter which, when linked in, does nothing more than write out what comes in and, in the meantime, executes a command?
> 
> Michael Sweet wrote:
> > christoph at mitsch.cc wrote:
> > > hi everybody!
> > > is there any simple possibility to automatically execute a command
> > > when a new print job arrives and then, after the job finishes,
> > > execute another one?
> >
> > No, not at present.
> >

You best write a backend of your own which does all the stuff you need.
Look into the
manuals of into the CUPS book how to write a backend.

I've done so several times (e.g. additionally converting a job printed
to a CTP engine
to PDF and e-mail that PDF to the recipient(s)).

Helge


-- 
H.Blischke at srz-berlin.de
H.Blischke at srz-berlin.com
H.Blischke at acm.org




More information about the cups mailing list