1.4

When generating output from the Print context, each of the Print sections is added to the output
document, one after the other in sequence, for each record. The sections are added to the
output in the order in which they appear on the Resources pane. See "Generating Print output"
on page 138.
In email output, only one section can be executed at a time. The section that will be output is
the section that has been set as the 'default'. See "Generating Email output" on page 148 and
"Email templates" on page 130.
It is, however, possible to include or exclude sections when the output is generated, or to set
another section as the 'default', depending on a value in the data. A Control Script can do this;
see "Control Scripts" on page 208.
See Skin/Formats/CrossReferencePrintFormat("Generating outputWhen merged with a record
set, the templates made in the Designer can generate twotypes of output: Print, and Email.Print
outputPrint templates, also called Print sections, are part of the Print context. They are meant to
be printed to a printer or printer stream, or to a PDF file (see
Skin/Formats/CrossReferencePrintFormat("Generating Print output" on page 1)). The Print
context can also be added to Email output as a PDF attachment; see
Skin/Formats/CrossReferencePrintFormat("Generating Email output" on page 1). When
generating output from the Print context, each of the Print sections is added to the output
document, one after the other in sequence, for each record. To dynamically select a section for
output, use a Control Script; see Skin/Formats/CrossReferencePrintFormat("Control Scripts" on
page 1).There is a number of settings in the Print context and Print sections that have an impact
on how the Print context is printed; see Skin/Formats/CrossReferencePrintFormat("Print
settings in the Print context and sections" on page 1).To split the Print output into several files,
see Skin/Formats/CrossReferencePrintFormat("Splitting printing into more than one file" on
page 1).Email outputThe Email context outputs HTML email with embedded formatting to an
email client through the use of an email server. The HTML generated by this context is meant to
be compatible with as many clients and as many devices as possible.Although the Email
context can contain multiple Email templates, only one of them can be merged with each
record. Which one is used, depends on a setting; see
Skin/Formats/CrossReferencePrintFormat("Email output settings in the Email context and
sections" on page 1).Email is sent in a single batch for the whole record set. To test a template,
you can send a test email first. Output, generated from an Email template, can have the
following attachments:The contents of the Print context, in the form of a single PDF attachment.
Other files, an image or a PDF leaflet for example.Attaching the Print context is one of the
options in the Send (Test) Email dialog; see Skin/Formats/CrossReferencePrintFormat
("Generating Email output" on page 1). To learn how to attach other files, see
Page 215