HP Distributed Print Service Administration Guide
138 Chapter6
Configuring Spoolers, Queues, and Logical Printers
Configuring Logical Printers for Defaulting and Restriction
pdcreate -x "associated-queue=Queue2 \
printer-initial-value-document=IVD3 \
sides-supported=2" Spool1:LogPrt5
• To create the initial-value-document object IVD3, enter:
pdcreate -c initial-value-document \
-x "sides=2" Spool1:IVD3
• To create logical printer LogPrt6, enter:
pdcreate -x "associated-queue=Queue2 \
printer-initial-value-document=IVD3 \
sides-supported=2" Spool1:LogPrt6
The initial-value-document object IVD3 is associated with both
LogPrt5 and LogPrt6 to enforce the restrictions imposed by these
logical printers with the sides-supported attribute.
All of the initial value objects in this configuration are used to enforce
the restrictions imposed by the logical printers. It could also include
initial-value-job or initial-value-document objects used only for
defaulting. For example, you could associate an initial-value-document
object with LogPrt4 to assign default values for jobs submitted to that
logical printer.
Using Initial Value Objects to Ensure Restriction
Most job and document attributes do not have default values. To restrict
the printer capability that corresponds to a job or document attribute
that has no default, you must create an initial-value-job or
initial-value-document object and associate it with the logical printer to
ensure that the intended restriction is enforced.
For example, the logical printer,LogPrt6, in Figure 6-7 is intended
to limit the job submittor to two-sided printing (sides-supported=2).
The document attribute sides defaults to no value. If a user submits a
job to this logical printer, it passes validation at the logical printer level.
Validation fails only if a specific job or document attribute value is not
supported by a specific logical printer attribute value. When the job
actually prints, the printer device could default to print the job on one
side of the paper. The intended restriction fails.
Therefore, the initial-value-document object IVD3 is associated with
LogPrt6 to assign a value of "2" to the sides attribute to all documents
in jobs submitted to the logical printer. If the user overrides the
initial-value-document object and requests one-sided printing, validation