Execute a command with every job

Philipp Neuhaus neuhaus at dodekatex.de
Mon Jul 25 11:48:01 PDT 2005


> On Mon, Jul 25, 2005 at 02:09:16PM -0400, Philipp Neuhaus wrote:
> > I would like to execute a command woth every job send to the printer.
> >
> > I think I may create an backend wich executes the command and then
> > executes the real backend (like Pykota does).
> >
> > Does anyone has an idea where it may be easier to include the command?
>
> The easier is as a backend, since you're sure it won't be bypassed.
>
> Tea4CUPS may be exactly what you are searching for :
>
>   http://www.librelogiciel.com/software/Tea4CUPS/action_Presentation

Hi Jeroma,

thanks!

it seems to me that this _is_ exactly what I wanted to code ;-)

If someone is interested in the project (switching the printer on / off when its needed) he might send me a mail to neuhaus at dodekatex.de

Best wishes
Philipp




More information about the cups mailing list