O'Reilly logo

Common UNIX Printing System by Michael R. Sweet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required