HP Distributed Print Service Administration Guide

Chapter 9 253
Managing Spoolers, Queues, and Logical Printers
Monitoring Spooler, Queue, and Logical Printer Configurations
attribute or attributes were changed, who changed them, and when the
changes were made.
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 Spoolers, Queues, and
Logical Printers
Use -r archive with the pdls command to create an archive file for the
spooler, queue, logical printer, initial-value-job, or
initial-value-document. The archive file contains all 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
spooler, you can use the archive file as an attributes file to quickly
re-create the object. If you do so, you must either assign values to
attributes or delete any attributes without 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 already have created. You can copy an archive file and edit it to
assign different values to any attribute or attributes as necessary. Then
use the archive file as an attributes file to create a similar object.
Use the following commands to create archive files:
To create an archive file named Spool1.archive in the directory
/attr for the spooler Spool1, enter:
pdls -c server -r archive Spool1 > /attr/Spool1.archive
To create an archive file for the queue Queue1, enter:
pdls -c queue -r archive Queue1 > /attr/Queue1.archive