Loading

page-overrides

Syntax

page-overrides <1setOf collection>

XPath (lower page range): /xpif/job-template-attributes/page-overrides[@syntax=”1setOf”]/value[@syntax=”collection”]/pages[@syntax="1setOf"]/value[@syntax="rangeOfInteger"]/lower-bound[@syntax="integer"]/

XPath (upper page range): /xpif/job-template-attributes/page-overrides[@syntax=”1setOf”]/value[@syntax=”collection”]/pages[@syntax="1setOf"]/value[@syntax="rangeOfInteger"]/upper-bound[@syntax="integer"]/

XPath (for media): /xpif/job-template-attributes/page-overrides[@syntax=”1setOf”]/value[@syntax=”collection”]/media/

XPath (for media-col): /xpif/job-template-attributes/page-overrides[@syntax=”1setOf”]/value[@syntax=”collection”]/media-col/

XPath (for rotation): /xpif/job-template-attributes/page-overrides[@syntax=”1setOf”]/value[@syntax=”collection”]/page-rotation/

XPath (for 1-sided/2-sided): /xpif/job-template-attributes/page-overrides[@syntax=”1setOf”]/value[@syntax=”collection”]/sides/

XPath (for shifts): /xpif/job-template-attributes/page-overrides[@syntax=”1setOf”]/value[@syntax=”collection”]/<shift attribute>. The <shift attribute> can be:

  • x-image-shift/

  • x-side1-image-shift/

  • x-side2-image-shift/

  • y-image-shift/

  • y-side1-image-shift/

  • y-side1-image-shift/

Supported values

This collection may hold any combination of the attributes described in:

  • lower-bound

  • upper-bound

  • media

  • media-col

  • page-rotation

  • sides

  • x-image-shift/

  • x-side1-image-shift/

  • x-side2-image-shift/

  • y-image-shift/

  • y-side1-image-shift/

  • y-side1-image-shift/

Description

The "lower-bound" and "upper-bound" attributes determine the range of pages to override. Value 1 for attribute "lower-bound" means the first page of the document. The following condition must be true: "upper-bound" >= "lower-bound".

The "media" or "media-col" attributes determine which media must be used. Attribute "sides" defines 1-sided/2-sided printing. You can also define page-rotations and shifts.

Example - page range [1 2] uses blue media and 2-sided printing, range [9 10] uses red media

<page-overrides syntax="1setOf">

<value syntax="collection">

<pages syntax="1setOf">

<value syntax="rangeOfInteger">

<lower-bound syntax="integer">1</lower-bound>

<upper-bound syntax="integer">2</upper-bound>

</value>

</pages>

<sides syntax="keyword">two-sided-long-edge</sides>

<media-col syntax="collection">

<media-color syntax="keyword">blue</media-color>

</media-col>

</value>

<value syntax="collection">

<pages syntax="1setOf">

<value syntax="rangeOfInteger">

<lower-bound syntax="integer">9</lower-bound>

<upper-bound syntax="integer">10</upper-bound>

</value>

</pages>

<media-color syntax="keyword">red</media-color>

</value>

</page-overrides>