HP Distributed Print Service Administration Guide

218 Chapter7
Using Notification
Notification Profile Examples by HPDPS Object Type
Example 1 This example shows a possible notification profile for an initial-value-job
object.
Assumptions:
For select jobs, you want your assistant, Todd, to receive messages
that indicate problems, such as the printer needs paper and a
message when a job is complete so it can be picked up.
You want to receive messages concerning all events covered by the
class class-job-default by message.
You would enter the command:
pdcreate -c initial-value-job -x "notification-profile= \
{event-identifiers=class-job-attention \
job-complete delivery-address=toddp \
locale=C} \
{event-identifiers=class-job-default delivery-method=message \
delivery-address="myid" \
locale=C}" Spool1:myivj1
This will create an initial-value-job object named myivj1 in spooler
Spool1 with a notification profile of:
notification profile=
{event-identifiers=class-job-attention job-complete
delivery-method=message delivery-address="toddp"
locale=C}
{event-identifiers=class-job-default delivery-method=message
delivery-address="myid" locale=C}
When you want to use this initial-value-job object with one of your jobs,
you would enter the command:
pdpr -x "initial-value-job=myivj1" filename
Example 2 This example shows you how to create an initial-value-job object to be
associated with logical printer LogPrt2 to support a user group. You
enter the commands:
pdcreate -c initial-value-job -x "notification-profile= \
{event-identifiers=class-job-default \
close-to-discard-time past-discard-time job-timed-out \
delivery-method=message locale=C}" Spool3:IVJGrp1
pdset -x "printer-initial-value-job=IVJGrp1" Spool3:LogPrt2