ppr-list-digest volume 3, number 43, message 2

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: David Chappell <David.Chappell@mail.trincoll.edu>
Date: Mon, 26 Mar 2001 12:11:02 -0500
Subject: Re: Antwort: Re: Antwort: Re: PPR: Receiving mail from PPR

Alain.Lachapelle@Heimannsystems.Com wrote:

> I am trying to use this feature now but the shell script is not executed by
> pprd when the print job
> has successfully terminated (i.e. ppop status returns "idle" and there were
> no errors).  The shell script is vary simple and consists only of an echo
> and a message sent to our messaging system.  If this shell script is
> executed from the command line it does output the test string and sends a
> message to the concerned process.  For testing purposes I launch a simple
> print job on the command line like this:
> 
> ppr -d hp5simx -m resp_test -F 'PageSize=A4' pi1.ps
> 
> resp_test is located in /usr/lib/ppr/responders, has executable rights and consists of these lines:
> 
> #! /bin/sh
> echo TEST TEST TEST TEST &&
> sendhmp -s "38 3 99 9 0xF200 4: 3 6 0 0"[

I don't really understand your program.  I just tried this:

#! /bin/sh
echo "hello"

and I got "hello" in /var/spool/ppr/logs/pprd, which is what one would 
expect.