Print context

The Print context is the folder in the Designer that can contain one or more Print templates.

Print 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 Generating Print output).
The Print context can also be added to Email output as a PDF attachment; see Generating Email output. 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.

Creating the Print context

You can start creating a Print template with a Wizard (see Creating a Print template with a Wizard), or add the Print context to an existing template (see Adding a context).

Editing PDF files in the Designer is not possible, but when they're used as a section's background, you can add text and other elements, such as a barcode, to them.
The quickest way to create a Print template based on a PDF file is to right-click the PDF file in the Windows Explorer and select Enhance with Connect. Alternatively, start creating a new Print template with a Wizard, using the PDF-based Print template (see Creating a Print template with a Wizard).
To use a PDF file as background image for an existing section, see Using a PDF file as background image.

When a Print template is created, the following happens:

  • The Print context is created and one Print section is added to it. You can see this on the Resources pane: expand the Contexts folder, and then expand the Print folder.
    The Print context can contain multiple sections: a covering letter and a policy, for example, or one section that is meant to be attached to an email as a PDF file and another one that is going to be printed out on paper. Only one Print section is added to it at the beginning, but you can add as many print sections as you need; see Adding a Print section.
    See Print sections to learn how to fill a Print section.
  • One Master Page is added to the template, as can be seen on the Resources pane, in the Master Page folder.
  • In Print sections, there are often elements that need to be repeated across pages, like headers, footers and logos. In addition, some elements should appear on each first page, or only on pages in between the first and the last page, or only on the last page. Examples are a different header on the first page, and a tear-off slip that should show up on the last page.

    This is what Master Pages are used for. Master Pages can only be used in the Print context.

    See Master Pages.

    Initially, the (empty) master page that has been created with the Print context will be applied to all pages in the Print section, but more Master Pages can be added and applied to different pages.

  • One Media is added to the template, as is visible on the Resources pane, in the Media folder. This folder can hold the company's stationery in the form of PDF files. When applied to a page in a Print section, Media can help prevent the contents of a Print section from colliding with the contents of the stationery. See Media to learn how to add Media and, optionally, print them.
    Initially, the (empty) media that has been created with the Print context, is applied to all pages in the Print section. You can add more Media and apply them each to different pages.
  • One Stylesheet, named context_print_styles.css, is added to the template, as you can see on the Resources pane, in the Stylesheets folder. This stylesheet is meant to be used for styles that are only applied to elements in the Print context. See also Styling templates with CSS files.

Print settings in the Print context and sections

The following settings in the Print context and Print sections have an impact on how the Print context is printed.

Arranging and selecting sections

The Print context can contain one or more Print sections. 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. This order can be changed; see Print sections.

It is also possible to exclude sections from the output, or to include a section only on a certain condition that depends on a value in the data. This can be done using a Control Script; see Control Scripts.

Printing on both sides

To print a Print section on both sides of the paper, that Print section needs to have the Duplex printing option to be enabled; see Enabling double-sided printing (Duplex, Mixplex). This setting can not be changed in a Job Creation Preset or an Output Creation Preset.

Your printer must support duplex for this option to work.

Setting the binding style for the Print context

The Print context , as well as each of the Print sections, can have its own Finishing settings. In printing, Finishing is the way pages are bound together after they have been printed. Which binding styles can be applied depends on the type of printer that you are using.

To set the binding style of the Print context:

  1. On the Resources pane, expand the Contexts folder; then right-click the Print context and select Finishing.
    Alternatively, select Context > Finishing on the main menu. This option is only available when editing a Print section in the Workspace.
  2. Choose a Binding style and, if applicable, the number of holes. For an explanation of all Binding and Hole making options, see Finishing Options.

To set the binding style of a Print section, see Setting the binding style for a Print section.

Overriding binding styles in a job creation preset

A Job Creation Preset can override the binding styles set for the Print sections and for the Print context as a whole. To bind output in another way than defined in the template’s settings:

  1. Create a Job Creation Preset that overrides the settings of one or more sections: select File > Presets and see Job Creation Presets for more details.
  2. Select that Job Creation Preset in the Print wizard; see Generating Print output.

Setting the bleed

The bleed is the printable space around a page. It can be used on some printers to ensure that no unprinted edges occur in the final trimmed document. The bleed is one of the settings for a section. See Page settings: size, margins and bleed.

 
  • Last Topic Update: 31, October, 2017 10:54 AM
  • Last Published: 23, May, 2019 01:55 PM