ppr-list-digest volume 3, number 44, message 1

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: Alain.Lachapelle@Heimannsystems.Com
Date: Tue, 27 Mar 2001 07:41:23 +0100
Subject: Antwort: Re: Antwort: Re: Antwort: Re: PPR: Receiving mail from PPR

Hi,

>> #! /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.

It's only a message-sending utility tant can send messages to our
processes. Using this script, ppr can communicate with any active process
of the system.

When this script is ran from the command prompt in the
/usr/lib/ppr/responders directory it runs all right.  But when called from
pprd (as I've looked into the /var/spool/ppr/logs/pprd file) it cannot find
shared libraries needed for its execution (i.e. the error is logged in the
pprd file, along with the output of the echo command).  It looks like there
is a shell environment difference between executing this script manually
from the /usr/lib/ppr/responders directory and having it executed as a
responder by pprd when the outcome of a print job is known.

Regards,

Alain