HP Distributed Print Service Administration Guide

Chapter 10 299
Managing Supervisors and Physical Printers
Monitoring Supervisor and Physical Printer Configurations
NOTE If you modify an object using the -m flag, then modify the object again
omitting the -m flag, the message attribute will still contain the message
text. This can cause users querying for the message text to receive
incorrect information.
To prevent this problem, if after you use the -m flag, the message is no
longer applicable, you should change it to a new value using the pdset
command, or change it to a null value for -m as illustrated below:
pdset -c printer -m "" LogPrt1
Creating Archive Files for Supervisors and
Supervisor Objects
An archive file contains the settable and specifiable attributes and their
values, including attributes with no values. If you need to re-create any
of the objects contained in the supervisor, you can use the archive file as
an attributes file to quickly re-create the object. You must either assign
values to or delete any attributes in the file that have no values. HPDPS
issues an error message if an attributes file contains an attribute with no
value.
You can also use the archive file to make modifications to attributes and
values for an object or to create new objects that are similar to objects
that you have already created. You can copy an archive file and edit it to
assign different values to any attribute or attributes as necessary. Then
you can specify the archive file as an attributes file with the pdcreate
command and the -X flag to create a similar object.
Use the following commands to create archive files:
To create an archive file named Super1.archive in the directory /attr
for the supervisor Super1, enter the command:
pdls -c server -r archive Super1 > /attr/Super1.archive
To create an archive file named PhyPrt1.archive in the directory /attr
for the physical printer PhyPrt1, enter the command:
pdls -c printer -r archive PhyPrt1 > /attr/PhyPrt1.archive