Customised printer event listeners

The printer usage monitoring service can have additional listener applications attached to it which are triggered when a printer event occurs on one of the printers being monitored.

Developing custom listeners

There are two types of listeners that can be attached to the printer montiroing service: PrinterListeners which are triggered when a printer change event occurs, such as a change in the printer status or number of jobs queued and PrintJobListeners which are triggered when an event occurs concerning a print job, such as a job being added, written or deleted.

Attaching custom listeners

You attach custom listeners to the printer monitoring service by adding lines in the configuration files in the <printerEventListeners> and <printJobEventListeners> sections. The new listeners will be loaded when you next stop and restart the service.