Chapter 19Writing Notifiers for CUPS
This chapter describes how to write a notifier for CUPS and how the mailto
notifier works.
What Are Notifiers?
Notifiers are programs that send IPP notifications via various protocols. CUPS provides notifier programs for the indp
and mailto
protocols. The ippget
protocol is implemented as an internal method because it uses an HTTP connection from the recipient.
Notifiers are fairly simple programs and merely need to read IPP event messages and send them to the recipient. The CUPS API includes functions for reading and decoding these messages.
Notification and notifier support is available starting with CUPS 1.2.
The CUPS Notifier Architecture
Each notifier program uses a common interface. Notifiers are ...
Get Common UNIX Printing System now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.