HP Distributed Print Service Administration Guide
204 Chapter7
Using Notification
Creating a Notification Profile
concerning any of the default events for queue Queue1 contained in
spooler Spool1. Assumptions for this example:
• You want him to receive the message whether he is logged on or off.
Because of this, jjones will receive some duplicate messages when
logged on, one set on the display and the other set using electronic
mail.
• You do not want to delete any other values you might have set or were
set for you when you created this queue.
• John Jones
UserName
is jjones and has the same locale as you.
Enter:
pdset -c queue -x "notification-profile+= \
{delivery-address=jjones@mmco.com} \
{delivery-method=message delivery-address=jjones}" Queue1
You have taken advantage of the defaulting conditions of the notification
profile.
• Both values will be added to the existing values; the first added value
will have a delivery-method of electronic-mail (e-mail) and the
second will have a delivery-method of message (the default).
• Both will have the default set of events for a queue and the default of
your locale.
If you check the values by using the command:
pdls -c queue -g -r notification-profile Queue1
you will see two values similar to these among the others:
{event-identifiers=object-deleted object-cleaned
queue-backlogged delivery-method=electronic-mail
delivery-address=jjones@mmco.com
locale = C}
{event-identifiers=object-deleted object-cleaned
queue-backlogged
delivery-method=message
delivery-address=jjones locale=C}
Assumptions for this example:
• You want to keep the value set when you created the queue.
• You want also to know if queue Queue1 becomes backlogged any time
when you are not logged on.