ppr-list-digest volume 5, number 16, 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: David Chappell <David.Chappell@trincoll.edu>
Date: 10 Mar 2003 10:41:38 -0500
Subject: Re: PPR: Stoping user message notifications

On Sat, 2003-03-08 at 05:29, Pedro Silva wrote:
> Hello,
> 
> I'm trying to stop the messages that ppr sends to 
> USER@HOST_FROM_WHERE_PRINT_CAME does anyone knows how to stop this?
> The emails are anoying and we don't want to use them. I'v tried to use 
> de "ppr -m none" option but there isn't any place to put it in 
> the /etc/init.d/ppr file or in the /etc/ppr conf files.
> Can anyone help?
> 
> Thanks

There isn't any place to put it in /etc/init.d/ppr because it is a
per-job setting.  There are a couple of things you could do.

I wouldn't recomend stopping _all_ job notifications.  I imagine you want to stop only the 
"your job is done" messages.  It doesn't make sense to stop the messages that inform one of
an unusual circumstance.  

An individual Unix user can stop them by setting an environment variable
thus:

PPR_RESPONDER_OPTIONS="printed=no"
export PPR_RESPONDER_OPTIONS

Unfortunately, this will only work if ppr (the command) inherits this
variable.  This means that if you are running X this should be in your X
startup.  The next version of PPR (which will be out soon) will provide
a way to deal with this problem in a simple manner.

You can also make this the default for a specific queue by doing this:

$ ppad switchset myprn --responder-options="printed=no"