HP Distributed Print Service Administration Guide

Chapter 7 203
Using Notification
Creating a Notification Profile
The event-identifier class-physical-printer-attention does not
contain the event printer-shutdown and the user jjones wants to
know any time that PhyPrt1 is shutdown. To add the event to the
existing events, enter:
pdset -x "notification-profile+= \
{event-identifiers=printer-shutdown-job-requeued \
class-physical-printer-attention delivery-method=message \
delivery-address=jjones locale=C}" PhyPrt1
This causes the value with a delivery-method value of message and a
delivery-address of jjones to be replaced (use of the += operator) with
this new value which contains the desired additional event.
Specifying Who Receives Notification
The following information provides examples of using the
delivery-method and the delivery-address components to add,
replace, and delete values.
Sending Different People Messages for the Same Object
Because the notification-profile attribute is multiple-valued, you
can specify that different people are to receive notification messages
about the same or different events for the same HPDPS object.
For example, to specify that joang@sys1.com and kathyw@sys1.com
receive notification about the status of queue Queue1 , enter:
pdset -c queue -x "notification-profile= \
{event-identifiers=class-queue-status \
delivery-method=electronic-mail \
delivery-address=joang@sys1.com} \
{event-identifiers=class-queue-attention \
delivery-method=electronic-mail \
delivery-address=kathyw@sys1.com}" Queue1
Setting Two Values for the Same Person
Within a single notification profile, each person (delivery-address) can
have, at most, two values (one for each delivery-method).
Setting Two Values for Someone Other Than Yourself
Assume that you are creating objects and setting up notification profile
for those objects. You want John Jones to receive a notification message