[cups.general] Mail to User if a Printjob is abortet

Johannes Meixner jsmeix at suse.de
Wed May 6 00:59:38 PDT 2009


Hello,

On May 6 08:05 Daniel Spannbauer wrote (shortened):
> is cups able to send a Mail to a user when his printjob
> was abortet due to an error?

Have a look at
http://www.cups.org/documentation.php/doc-1.3/ref-subscriptions-conf.html
and
http://www.cups.org/documentation.php/doc-1.3/ref-mailto-conf.html
if you run CUPS 1.3 or see
http://www.cups.org/documentation.php?VERSION=1.2
if you run CUPS 1.2

To see an example in /etc/cups/subscriptions.conf run
root at host# cupsdisable queue_name
user at host$ echo Hello | lp -d queue_name -m
root at host# cat /etc/cups/subscriptions.conf
root at host# cupsenable queue_name

If it does not work have a look at /var/log/cups/error_log


By the way:
http://www.cups.org/documentation.php/doc-1.3/ref-subscriptions-conf.html
reads:
----------------------------------------------------------------------
you should normally use the command-line programs (lp(1) and lpr(1))
.... to manage your subscriptions.
----------------------------------------------------------------------
but "man lp" and
http://www.cups.org/documentation.php/doc-1.3/man-lp.html
do not show anything how to "manage subscriptions"
except the plain "-m" parameter.


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex





More information about the cups mailing list