HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)

p
pdmod(1) pdmod(1)
(TO BE OBSOLETED)
job-hold=
Boolean
Specify whether you want to put the job in a hold state.
Boolean can be true or false (default).
job-name=name
Specify the new name that you want for the job.
Also, you may specify any other settable attributes for the job or document.
Note: You can set the value for a settable attribute with either the
pdset or pdmod command.
Arguments
Use the arguments to identify the specific objects that you want to modify. If you specify multiple objects,
each must be separated by spaces.
LocalJobId or GlobalJobId Specify the local or global job identifier. If you modify more than one job
with a single command, each must be separated with one or more white
spaces.
EXAMPLES
Modify Content Orientation
To modify the job (local id of 10) and change the orientation to landscape, enter the command:
pdmod -x content-orientation=landscape 10
Modify Job Hold Condition
To modify the job-attribute
job-hold to false for job 10, so that the job (which was previously submit-
ted with
job-hold set to true) can be scheduled, enter the command:
pdmod -x job-hold=false 10
Modify Job Comment
To modify the job-attribute
job-comment to be "Test Results 100" for job 10, enter:
pdmod -x job-comment="Test Results 100" 10
Modify Number of Sides to be Printed
To modify the document-attribute
sides to be 2 for all documents in the global job 1011222243 on server
DivSpool2 enter:
pdmod -x sides=2 DivSpool2:1011222243
To modify the sides document attribute to specify to print documents on both sides for jobs 10 and 20:
pdmod -x sides=2 10 20
Add a Value
To add the value building47 to the attribute Printer-locations-requested
for job 10, enter:
pdmod -x Printer-locations-requested+=building47 10
Remove a Value
To remove the value building47 from the Printer-locations-requested
attribute in my job
10, enter:
pdmod -x Printer-locations-requested-=building47 10
Reset to Default Values
To reset the job-originator job attribute to the default values in my job 10, enter:
pdmod -x job-originator==10
Combining Modifications
To modify job 17, notifying the operator, and placing the job on hold, enter the command:
pdmod -x "job-message-to-operator="
This job requires blue legal-sized paper.
Please advise when the paper is
available
Section 1734 Hewlett-Packard Company 3 HP-UX 11i Version 1: September 2005