2020.1

Table Of Contents
Field Type Description
(see
"Position"
below)
allow content on sheets in different positions; for
example:
var section1 =
merge.template.contexts.PRINT.section
s[0];
section1.sheetConfig.positions.all.me
dia = "Media 1";
For an overview of the available settings in each
position see "Position" below.
tumble Boolean (Only with duplex printing.) When tumble is set to
true, pages are printed like in a calendar. (On
Portrait output, this would be equivalent to short-
edge duplex.)
Example
This script retrieves a section and changes its sheet configuration settings.
let section = merge.template.contexts.PRINT.sections["Section 1"];
section.sheetConfig.duplex = true;
section.sheetConfig.omitEmptyBackside = true;
section.sheetConfig.facingPages = true;
section.sheetConfig.mediaRotation = 0;
Position
The positions property of the sheetConfig object (see "sheetConfig" on the previous page)
can be used to retrieve and modify settings for sheets in different positions. Available positions
are:
l
single: The only sheet in a section.
l
first: The first sheet in the section.
l
middle: All after the first sheet and before the last sheet in a section.
l
last: The last sheet in a section.
Page 893