2018.2

Table Of Contents
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 page1179) 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.
l
all: All sheets in the section.
Note
Settings for all sheets may conflict with settings for a particular position. In such
cases, the setting that was specified last overrides the other.
Each of these positions has the following fields.
Field Type Description
allowContent AllowContent
Used to specify on which sides of a sheet (in a certain
position) content is allowed.
Possible values:
l AllowContent.ALL_SIDES
l AllowContent.FRONT_ONLY (only with duplex
printing)
l AllowContent.BACK_ONLY (only with duplex
printing)
l AllowContent.NONE (not allowed on all, single and
Page 1181