CUPS v 1.2.4 backend email notification...
Michael Sweet
mike at easysw.com
Wed Oct 4 12:33:20 PDT 2006
Evan Bradley wrote:
> ...
> Secondly, I'd like to inquire about the functionality of having CUPS
> send email notifications triggered by certain events. I have read
> posts on these forums that mention it being a standard feature in a
> future release of CUPS, but I don't recall if it was the 1.2.x or the
> 2.0.x releases.
We aren't even thinking about 2.0 right now, but thankfully email
notification is already in 1.2...
That said, while you can ask to be notified when a job is printed
(the "-m" option with lp and lpr), there is no standard web or
command-line tool to be notified for printer events. Also, the
standard job email notification uses the login name + hostname as
the email address (user at hostname). Finally, the mailto notifier
depends on a SMTP or local mail server to do the actual delivery.
To get other events or use your actual email address, you need to
write a (short) application or use the ipptest program in the "test"
subdirectory of the CUPS sources to create a "subscription" to the
events you are interested in. CUPS will then notify you via email
when any of those events occur. Use a printer-uri of
"ipp://localhost/" to subscribe to events not associated with a
particular printer...
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups
mailing list