Loading

Same-Up Custom

In order to define a customized same-up we need to add some new elements. First you need to define the same-up in @LayoutPreparationParams (for instance, add @NumberUp="3 2" and @StepRepeat="3 2 1") and beside those, you will also need to add some of the following:

  • oce:SelectionRows

  • oce:SelectionColumns

  • oce:OrientationRows

  • oce:OrientationColumns

Syntax

  • XPath: /JDF/LayoutPreparationParams/@oce:NumberUp

    Type: XYPair

  • XPath: /JDF/LayoutPreparationParams/@oce:StepRepeat

    Type: IntegerList

Supported range

@NumberUp

@StepRepeat

Imposition

"2 1"

"1 2"

“2 1 1”

“1 2 1”

Same 2-up

"2 2"

“2 2 1”

Same 4-up

"3 2"

"2 3"

“3 2 1”

Same 6-up

"3 3"

"3 3 1"

"2 3 1"

Same 9-up

"4 4"

"4 4 1"

Same 16-up

other

other

Combinations of same-N-up, booklet and/or Multiple-N-up

  • @NumberUp

    The @NumberUp defines that N pages must be shown on one sheet side. The type of this attribute is "XYPair", where X is the number of columns and Y is the number of rows.

    The value of @NumberUp can be "3 2"

  • @StepRepeat

    The @StepRepeat defines that the same page must be shown "N" times on one sheet side. The type of this attribute is "IntegerList". The format of the list of integers is "A B C": A is the number of columns. B is the number of rows. C is the number of pages, but values higher than 1 are not supported.

    @StepRepeat can be "3 2 1"

  • @oce:SelectionRows

    @oce:SelectionRows

    Description

    None

    None of the rows gets selected.

    First

    First row gets selected.

    Last

    Last row gets selected.

    Odd

    All rows with odd index number get selected.

    Even

    All rows with even index number get selected.

  • @oce:SelectionColumns

    @oce:SelectionColumns

    Description

    None

    None of the columns gets selected.

    First

    First column gets selected.

    Last

    Last column gets selected.

    Odd

    All columns with odd index number get selected.

    Even

    All columns with even index number get selected.

  • @oce:OrientationRows

    @oce:OrientationRows

    Description

    None

    No orientation is applied to any of the rows.

    First

    Orientation is applied to the first row.

    Last

    Orientation is applied to the last row.

    Odd

    All rows with odd index number get the orientation changed.

    Even

    All rows with even index number get the orientation changed.

  • @oce:OrientationColumns

    @oce:OrientationColumns

    Description

    None

    No orientation is applied to any of the columns.

    First

    Orientation is applied to the first column.

    Last

    Orientation is applied to the last column.

    Odd

    All columns with odd index number get the orientation changed.

    Even

    All columns with even index number get the orientation changed.

  • @oce:StackingDirection1

    @oce:StackingDirection1

    Description

    None

    None

    LeftToRight

    Direction of stacking is left to right.

    RightToLeft

    Direction of stacking is right to left.

    TopToBottom

    Direction of stacking is top to bottom.

    BottomToTop

    Direction of stacking is bottom to top.

  • @oce:StackingDirection2

    @oce: StackingDirection2

    Description

    None

    None

    LeftToRight

    Direction of stacking is left to right.

    RightToLeft

    Direction of stacking is right to left.

    TopToBottom

    Direction of stacking is top to bottom.

    BottomToTop

    Direction of stacking is bottom to top.

Example:

<LayoutPreparationParams Class="Parameter" ID="r200520111545.901_000013" NumberUp="3 2" Status="Available" StepRepeat="3 2 1">
	<GeneralID IDUsage="oce:SelectionRows" IDValue="First"/>
	<GeneralID IDUsage="oce:SelectionColumns" IDValue="Last"/>
	<GeneralID IDUsage="oce:OrientationRows" IDValue="Rotate180"/>
	<GeneralID IDUsage="oce:OrientationColumns" IDValue="Flip180"/>
	<FitPolicy SizePolicy="ClipToMaxPage"/>
	<PageCell>
		<ImageShift PositionX="Center" PositionY="Center" ShiftBack="0 0" ShiftFront="0 0"/>
	</PageCell>
</LayoutPreparationParams>

Archive with examples for download

NOTE

If you want to use this snippet, download the whole collection of examples in this TRM from this link:

https://supportfiles.cpp.canon/trm/Examples-TRM-Mk8.1.zip