HP Distributed Print Service Administration Guide

212 Chapter7
Using Notification
Notification Profile Examples by HPDPS Object Type
Logical Printer Notification Profile Examples
These examples show how you can set up notification profiles for logical
printers.
Example 1 In this example, an operator (fpjones) is responsible for managing any
event that requires intervention of the logical printer operation.
The administrator (lbjohnson) wants to know about any configuration
events that occur on this logical printer.
To satisfy these conditions, this notification profile can be entered from
the command line using either the -x flag or the -X flag if the notification
profile is contained in an attributes file. To set the notification profile for
LogPrt3, enter:
pdset -x "notification-profile= \
{event-identifiers=class-logical-printer-configuration \
delivery-method=electronic-mail \
delivery-address=lbjohnson@willow.xyz.com} \
{event-identifiers=class-logical-printer-attention \
delivery-method=electronic-mail \
delivery-address=fpjones@poplar.xyz.com}" LogPrt3
Example 2 In this example, the operator (fpjones) from Example 1 has taken a new
job and the new operator is named majones.
The value for lbjohnson is to be kept, the value for fpjones is to be
deleted, and a value is to be added for majones.
One way to make these changes is to enter these two commands:
pdset -x "notification-profile-= \
{delivery-address=fpjones@poplar.xyz.com}" LogPrt3
pdset -x "notification-profile+= \
{event-identifiers=class-printer-attention \
delivery-method=electronic-mail \
delivery-address=majones@poplar.xyz.com}" LogPrt3
NOTE The deletion of the value for fpjones works because the
delivery-method had been electronic-mail and this command
defaults to electronic-mail. To ensure that the value deleted is the one