HP Distributed Print Service Administration Guide

202 Chapter7
Using Notification
Creating a Notification Profile
Creating a Notification Profile
An example of creating a notification profile with one value and every
component specified for a queue is:
pdset -c queue -x "notification-profile= \
{event-identifiers=job-modified queue-state-changed \
delivery-method=e-mail delivery-address=dave@cowboy \
event-comment='This is a job modification or status event' \
locale=C}" Queue1
Adding a Value to a Notification Profile
An example of adding a value to the notification profile created in the
previous example by using the += operator of the pdset command and
specifying one of the key components is:
pdset -c queue -x "notification-profile+= \
{delivery-address=mary@cowboy}" Queue1
Now the notification profile has two values:
notification-profile={event-identifiers=job-modified
queue-state-changed
delivery-method=e-mail
event-comment='This is a job modification or status event'
delivery-address=dave@cowboy locale=C}
{event-identifiers=object-deleted object-cleaned
queue-backlogged
delivery-address=mary@cowboy locale=C}
The second one contains default values except for the
delivery-address. If you want values other than defaults, you must
specify them.
Adding an Event to an Existing Value
Assume that the following value is part of a notification profile set for
physical printer PhyPrt1.
{event-identifiers=class-physical-printer-attention
delivery-method=message delivery-address=jjones locale=C}