IPP Rules specify relations between IPP attributes.
An SPConstraint
rule specifies values of two incompatible
IPP attributes, for example two-sided printing on transparency media. The rule
is formatted like this:
Some examples:
*SPConstraint: transparency-two-sided \ media-type/transparency \ sides/!one-sided *SPConstraint: booklet-punch \ org.savapage-finishings-booklet/!none \ org.savapage-finishings-punch/!3
SPConstraint
is the IPP counterpart of the
UIConstraints
directive found in PPD
files.
“CUPS does not enforce constraints when printing. Constraints must be managed and resolved by the user interface, because there is usually no way to specify preferences or intentions for automatic resolution of constraints by the driver or other filters.” From “CUPS: Common Unix Printing System” by Michael R. Sweet, Sams Publishing, 2002 (page 337).
SPConstraint
rules are used by SavaPage to
validate user input when specifying a print job.
SavaPage has predefined rule sets. When activated, they are applied globally, independent of any PPDE file.
This set is for org.savapage-finishings-booklet and must be activated by setting
configuration property ipp.ext.constraint.booklet.enable
to Y
.
*SPConstraint: sp-booklet-number-up-1 \ org.savapage-finishings-booklet/!none \ number-up/1 *SPConstraint: sp-booklet-number-up-4 \ org.savapage-finishings-booklet/!none \ number-up/4 *SPConstraint: sp-booklet-number-up-6 \ org.savapage-finishings-booklet/!none \ number-up/6 *SPConstraint: sp-booklet-number-up-9 \ org.savapage-finishings-booklet/!none \ number-up/9 *SPConstraint: sp-booklet-one-sided \ org.savapage-finishings-booklet/!none \ sides/one-sided *SPConstraint: sp-booklet-rotate-180-on \ org.savapage-finishings-booklet/!none \ org.savapage.int-page-rotate180/1
When Media Cost is specified for Proxy Printers or Job Tickets supporting booklet finishing, activating this set is crucial for calculating the right cost for booklet print jobs. See Section 4.8.2.2, “Printer Costs” and Section K.5.1, “Job Ticket Media Options”.
When this set is activated, user choices will be restricted to
number-up/2
and
side/!one-sided
. As this is correct for cost
calculation, these options will probably not deliver the intended booklet. So, make sure to
review the required IPP options for the booklet job, and use SPExtra rules
to customize proxy printer instances where needed.