IPP Rules specify relations between IPP attributes.
SPConstraint rule specifies values of two incompatible
IPP attributes, for example two-sided printing on transparency media. The rule
is formatted like this:
*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
“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
*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 18.104.22.168, “Printer Costs” and Section K.5.1, “Job Ticket Media Options”.
When this set is activated, user choices will be restricted to
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.