[cups.general] Event Monitoring/Triggers
Michael Sweet
msweet at apple.com
Thu Feb 23 08:17:56 PST 2012
Adam,
On Feb 23, 2012, at 9:59 AM, Adam Tauno Williams wrote:
> Is there any support in CUPS for monitoring events? Such as when a
> printer enters a "Paused" state [queue stops]? I've looked through the
> documentation and haven't found much and keywords searches have been
> equally fruitless.
CUPS supports the IPP Notifications extension, so you can write a (short) program that subscribes to printer-state-change events; see the "testsub" program in the CUPS sources (scheduler/testsub.c) for inspiration...
_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups
mailing list