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

p
pdcreate(1) pdcreate(1)
(TO BE OBSOLETED)
style=
StyleName
Specify the presentation format that you want for the displayed output. StyleName can be:
column (default)
line
Object Attributes
You can specify these attributes in a
-x "AttributeValuePairs
" string or in an attributes file designated
with the
-X AttributesFileName option.
You can specify any settable or specifiable attribute with the
pdcreate command. You can specify an
attribute only when creating the object.
Arguments
Use the argument to specify the object to create. If you specify multiple objects, each must be separated by
spaces.
Note: Regardless of which object you are creating, you must use ServerName
: with the pdcreate com-
mand.
Valid argument values you can use are:
ServerName
:PrinterName
ServerName:QueueName
ServerName:InitialValueDocumentName
ServerName:InitialValueJobName
EXAMPLES
Create a Queue
To create the queue QUEUE1 on the spooler SPOOL1, enter the command:
pdcreate -c queue SPOOL1:QUEUE1
Create a Logical Printer
To create the logical printer LogPrt1 on the spooler SPOOL1 and specify the queue that the printer is to
be associated with, enter the command:
pdcreate -x "associated-queue=QUEUE1" SPOOL1:LogPrt1
Create a Physical Printer
To create a physical printer PhyPrt1 in the supervisor SUPER1 and specify the queue that the printer is
to be associated with, enter the command:
pdcreate -x "associated-queue=QUEUE1 printer-model=LaserJet3Si \
attachment-type=tcpip printer-internet-address=15.0.64.97" \
SUPER1:PhyPrt1
Create an Initial Value Object (IVO)
To create an initial-value-document called LP3ivd, enter the command:
pdcreate -c initial-value-document -m "Created 11/15/94" \
-x "copy-count=1 document-format=postscript\
sides=1 descriptor=’IVD for LogPrt3’" SPOOL1:LP3ivd
To create an initial-value-job object called MyJobTemplate using the attributes specified in the
attributes file named MyJobAttributes, enter the command:
pdcreate -c initial-value-job -X MyJobAttributes \
server3:MyJobTemplate
The server server3 must be a spooler; if not, the command is rejected.
Create a Queue and its Notification Profile
To create a notification profile for QUEUE1 in server SPOOL1, enter the command:
pdcreate -c queue -x \
"notification-profile={event-identifiers=job-modified \
queue-status-changed delivery-method=e-mail \
event-comment=’This is a modification of job or status event’ \
HP-UX 11i Version 1: September 2005 3 Hewlett-Packard Company Section 1711