Emmet preferences Emmet is a framework that enables the lightning-fast creation of HTML code though the use of a simple and effective shortcut language resembling CSS Selectors (see Emmet Abbreviations: "Emmet" on page 165. The Emmet functionality is available in the HTML and CSS source editors of Connect Designer. Emmet transforms abbreviations for HTML elements and CSS properties to the respective source code. This is, for example, the abbreviation for a
element with the class row: div.
l New: Add a new abbreviation. l Name: The name of the abbreviation is also its trigger. l Context: The context in which the abbreviation is enabled (HTML, CSS, etc.). l Description: A short description of the abbreviation . l l Pattern: This defines what an abbreviation expands to. Since Emmet is mostly used for writing HTML/XML tags, abbreviation definition uses XML format to describe elements; see http://docs.emmet.io/abbreviations/types/.
l New: Click to create a new snippet. l Name: The name of the abbreviation is also its trigger. l Context: The context in which the snippet is enabled (HTML, CSS, etc.). l Description: A short description of the snippet. l Pattern: The pattern defines what a snippet expands to. l Automatically insert: This option doesn't affect how Emmet works in Connect Designer. l Edit: Modify the currently selected snippet. l Remove: Remove the currently selected snippet from the list.
l l l Reload Engine. This allows you to reload the Emmet engine based upon the current settings. Restore Defaults. This option restores the preferences to Defaults. This applies to the current Preferences page only, but not other Preferences. Apply: This option applies the settings made within the current Preferences page, but does not close the Preferences dialog. Engines preferences See Engines Preferences.
The Hardware for Digital Signing preferences also provides you with buttons to : l l Restore Defaults. This option restores the preferences to Defaults. This applies to the current Preferences page only, but not other Preferences. Apply: This option applies the settings made within the current Preferences page, but does not close the Preferences dialog.
retained. These log files can be an essential resource when diagnosing issues with OL Support. The logging settings are global to all Connect applications and the Logging Preferences can be adjusted from within any of the Designer and Print Manager dialogs. The settings are: l Overall Logging Level selection: Select the overall Connect Logging level. This controls how much logging Connect will do.
retain, this effectively allows a hard disk space usage limitation to be placed upon the logging process. l l l Maximum size for log file: This sets the maximum size a log file can reach before the logging system creates a new file. Number of files to keep:This sets the maximum number of log files kept in the log folder. The default value is set to 50 for a new Connect installation and 99, 999 for an existing installation (to preserve backward compatibility).
leading to substantially larger log files. The Advanced Log Settings should only be set in conjunction with advice from OL support, to ensure that only the most relevant settings are set to the higher logging levels. This Preferences page allows you to add ( ) or remove ( ) individual Connect Packages, or change their logging settings ( ). The Log Setting and Advanced Log Setting preferences also provides you with buttons to : l l Restore Defaults. This option restores the preferences to Defaults.
General Print preferences In order to print, the Designer connects to a Connect Server. To enable communication between the Designer and the Connect Server, settings have to be made under "Preferences" on page 56. Print Measurements preferences l l Units: Use the drop-down to specify the default measurements system used for dimensions of the template and boxes. In addition it defines the coordinates/position of box elements.
------------------------------------------------------------------------------------------ Save preferences The saving preferences are a way control if and how often PrintShop Mail Connect saves your work in the background, and if how many backup files it creates when you save the template or data mapping configuration. See also: "Saving a template" on page 106.
l Apply: This option applies the settings made within the current Preferences page, but does not close the Preferences dialog. Scripting preferences The Scripting preferences define different options related to scripting within PrintShop Mail Connect. See also: "Testing scripts" on page 399. l General: l l Script timeout at design time (sec): In Preview mode or when running the Script Profiler (see the Profile Scripts dialog), a long running script is stopped after the amount of time set here.
Engines preferences Background A Merge engine merges the template and the data to create Email output, or to create an intermediary file for Printed output. The intermediary file is in turn used by a Weaver engine to prepare the Print output. This page appears in the Designer Window > Preferences dialog. It allows control over Merge and Weaver (output) engines. Settings Configure engine options l Tasks handled by: Select how Connect jobs are to be processed.
Number of engines This group is only available if Engines were selected as the processing architecture . l Merge Engines selection: Select the desired amount of Merge Engines. A Merge engine merges the template and the data to create Email output, or to create an intermediary file for Printed output. The intermediary file is in turn used by a Weaver engine to prepare the Print output.
l Weaver Engines selection: This option is read-only in PrintShop Mail Connect Designer Preferences. Select the desired amount of Weaver (Output) Engines. A Merge engine merges the template and the data to create Email output, or to create an intermediary file for Printed output. The intermediary file is in turn used by a Weaver engine to prepare the Print output. Adding extra Weaver (Output) engine(s) might be useful when large Print jobs are to be run simultaneously with smaller Print jobs.
l l l DataMapper engines may perform better with greater memory when running jobs containing a lot of data. For complex templates with a lot of pages per document, there is a chance that Merge engines will run better with more memory. The maximum memory usage of a Weaver engine can be relevant for jobs with heavy graphics; or for jobs that use Cut & Stack impositioning; or for jobs using particular variables that entail page buffering (see "Content variables" on page 998).
l Number of multi-threaded form rips selection: Set the amount of individual threads to assign to form ripping. This setting is useful for when graphics content triggers rasterization when writing AFP or IPDS output. Typical examples of content triggering rasterization are: transparency; fill patterns; gradient fills; or text rotated at a non-right angle. Increasing the number of threads should speed up Output Creation under such circumstances.
Parallel Processing properties Preset selection Only the Custom setting is applicable to the PrintShop Mail Connect Preferences, so this option is always selected and the field made read-only. Content Creation Tab The options are: l l Total Merge engines configured read only display: This is a read only entry that shows the total number of Merge engines available. To change this value, you must update the Merge Engines in the "Engines preferences" on page 80 page.
Buttons The Parallel Processing preferences also provides you with buttons to : l l Restore Defaults. This option restores the preferences to Defaults. This applies to the current Preferences page only, but not other Preferences. Apply: This option applies the settings made within the current Preferences page, but does not close the Preferences dialog. Known Issues This page lists important information about issues that apply to PrintShop Mail Connect 2022.1.
This issue will be fixed in a later release. In the meantime, the workaround is to use “Custom” or “ISO8601” date parsing options in DataMapper. CSS inlining colour values now converted to RGB As of PrintShop Mail Connect 2021.2 when using the CSS inlining mode "Apply CSS properties on elements" for emails, all colour values are now converted to RGB, rather than to HEX. Issues running Connect on Hyper-V 9.0 Some customers have reported difficulties running PrintShop Mail Connect on Hyper-V version 9.0.
Issues associating PDF files with Connect Under certain circumstances, Connect Setups prior to 2019.2 would fail when attempting to add the "Enhance with Connect" association with PDF files. This would then cause the setup to appear to fail. Whilst this issue has been fixed in the Connect 2019.2 installer, if a user had previously experienced the issue and temporarily worked around it to complete the installation, then the Connect installer will fail on upgrade or uninstallation.
Administration for the installer, as it would likely already have been downloaded for installation by the document designers. Page break changes in 2019.1 Improved page breaking in Connect 2019.1 might impact upon some existing templates. It is recommended that you check page breaking in existing jobs, where page breaks at a specific location are a known criteria. Minor differences in AFP and IPDS output introduced in 2019.1 Connect 2019.1 now defaults to "Scale to Fit" for both IPDS and AFP output.
Connect installation or version upgrade in Connect's Knowledge Base: http://help.objectiflune.com/en/kb-connect/#KB/FAQ/OL Connect/KB2002.htm. Backend database might require periodic maintenance Databases maintain a variety of statistics in order to optimize performance. When high levels of inserts and/or deletions occur, the statistical data keeping can struggle to keep up.
Windows 10 Search service impacting Connect The Windows 10 Search service runs as a background task, indexing files and folders. It has been noted that this background task is sometimes preventing files being added to the Connect temporary files folder when large amounts of files are being output and copied. If this is an issue for you, we suggest disabling Search Indexing on the C:\Users\\Connect folder. This issue will be fixed in a later release.
Known Font issues The following font(s) are known to have issues in PrintShop Mail Connect 2022.1: l Benton Sans CFF font Minor differences in PCL, AFP and IPDS output introduced in 2018.1 The browser component (Mozilla Gecko) used in the WYSIWYG editor of the Designer was updated for Connect 2018.1. This allows use of new CSS properties, such as flexbox. However this update could lead to increased output file sizes for some PCL, AFP and IPDS jobs.
Please contact OL Support for instructions on how to modify the image memory cache value, if needed. Print Output: Booklet Impositioning changes introduced in 2018.1 When Booklet Impositioning is enabled, all pages within a document need to be changed to duplex prior to Impositioning . The method for duplexing jobs has been changed to now always combine existing pages into the front and backsides of sheets, rather than adding empty backsides to any simplex pages.
2. Change the language parameter to the required one under Duser.language=en | es | de | fr | it | ja | ko | pt | tw | zh Only one of the above language tags should be selected. Once saved, Connect will appear in the selected language at next start-up. GoDaddy certificates When installing Connect offline, dialogs allow installing the GoDaddy certificates. Most users should use the default settings and click Next. In some cases, however, this may not work correctly.
l Images will be shown as 0 size boxes (no red 'X' is displayed). l Live preview does not progress, and when re-activated reports "browsers is busy". To fix the issue you must check the "Bypass proxy settings for local addresses" option. VIPP Output Some templates set up with landscape orientation are being produced as portrait in VIPP. It can also sometimes be the case that text and images can be slightly displaced. These are known issues and will be addressed in a later release of Connect.
Important: Stop any active Anti-Virus software before uninstalling Connect. Some anti-virus systems are known to block the uninstallation of MySQL datafiles, as well as blocking the uninstallation of the MySQL database application itself. Therefore it is highly recommended that any anti-virus application be stopped prior to uninstalling PrintShop Mail Connect, as otherwise the Connect uninstallation might not work correctly.
Note If an error occurs during uninstallation or after/when re-installing Connect after uninstalling it, please see: Problems during a Connect installation or version upgrade in Connect's Knowledge Base (https://help.objectiflune.com/en/kbconnect/#KB/FAQ/General/Installation_Upgrade.htm).
General information Connect consists of visible and invisible parts. The invisible parts process the Connect job to provide the actual output. They are introduced to you in the topic: "Connect: a peek under the hood" below. For information about Connect logging, see "Log files" on page 100. For a list of all file types used in Connect, see: "Connect file types" on page 101.
The Connect database The Connect database is the database back-end used by Connect itself when processing jobs. It can be either the MySQL instance provided by the Connect installer, or a pre-existing (external) instance (see "Database Considerations" on page 15). All generated items (records, content items etc.) are stored in this database. . Note Email content items are not stored in the Connect database.
The engines DataMapper engine. A DataMapper engine extracts data from a data file. This is an internal engine, for which there are no settings to make. Merge engine/s. A merge engine merges data with a template using the scripts in the template, in order to create content items. The number of merge engines is configurable (see "Engines preferences" on page 80): it can be increased depending on the capacity of the machine that runs the solution (see "Performance Considerations" on page 23). Weaver engines.
Note that actions of the Cleanup service are only logged in the Server's log file. (See also: "Clean-up Service preferences" on page 366.) Tip For more information about Connect's architecture, see: "Connect: a peek under the hood" on page 98. Name The name of a log file consists of the component's name, a time stamp and the Windows process ID.
l l l .OL-template: A Designer Template file (see "Templates" on page 105). Is linked to a data mapping configuration by default, but not necessarily. .OL-datamodel: A data model file which can be imported or exported into either a data mapping configuration or a template. Contains a list of fields and their data type (date, currency, string, etc). See The Data Model.
The Designer The Designer is a WYSIWYG (what you see is what you get) editor that lets you create templates for Print and Email output. A template may contain designs for multiple output channels: a letter intended for print and an e-mail variant of the same message, for example. Content, like the body of the message or letter, can be shared across these contexts. Templates are personalized using scripts and variable data. More advanced users may edit the underlying HTML, CSS and JavaScript directly.
page 105. 2. Fill the template Add text, images and other elements to the template and style them. See "Content elements" on page 187 and "Styling and formatting" on page 290. 3. Personalize the content Personalize the content using variable data. See "Personalizing content" on page 334. 4. Generate output Adjust the settings, test the template and generate output: letters andemails. See "Generating output" on page 978. Note that steps 2 and 3 are not necessarily to be followed in this order.
"Personalizing content" on page 334. Personalize your customer communications using variable data. "Writing your own scripts" on page 389. Scripting can take personalization much further. Learn how to script via this topic. "Generating output" on page 978. Learn the ins and outs of generating output from each of the contexts. Templates The Designer is a WYSIWYG (what you see is what you get) tool to create templates. This topic gets you started.
It is, however, not possible to use a Template Wizard when adding a context or section to an existing template. Tip When you add an Email context to an existing template you get a 'basic action email'. This is one of the 4 types of email that you can choose from when you start a template with an Email Template Wizard; see "Creating an Email template with a Wizard" on page 167. Opening a template To open a template from the Welcome screen, select Open File.
configuration. To save a template, select File > Save or press Ctrl+S. The first time you'll have to give the template a name. File > Save as allows you to save the template with a different name. The Save as dialog also appears when saving a template that is read-only. Tip To quickly copy the name of any other file, set Save as type to Any file (*.*) in the Save dialog. Select a file to put its name in the File name field. Then set Save as type to Template files (*.OL-template) and save the template.
Auto Backup Connect Designer can automatically create a backup file when you manually save a template. To configure Auto Backup: 1. Select the menu option Window > Preferences > Save. 2. Under Auto backup, check the option Enable to activate the Auto Backup function. 3. Type the number of revisions to keep. 4. Select the directory in which the backups should be stored.
To down-save a template, select File > Save a Copy, from the menu. Select the software version and click OK. Next you can select a location and give the template a name, as usual. To save a copy, follow the same procedure without selecting a previous version of the software. Creating package files A package file (*.OL-package) contains one or more templates and Print Presets.
Creating a custom template report The Export Template Report wizard also offers the possibility to export custom template reports (in PDF format only). A custom template report could contain another selection of information and present that differently, e.g. with the logo of your company. To create a custom template report, you need two files: A template design with the desired layout and variable data. This .OL-template file has to be made in the Designer.
4. Select the data file that you want to use. Word will attempt to automatically determine the file type and select appropriate options, but you can adjust the parameters if needed. 5. As you create your Word document, you insert the fields using Insert Merge Fields. 6. Save the file. Import the Word Mail Merge document as a template 1. From within Connect Designer, select File > New and then select the Word-based Print template. 2.
Tip The Text Filter box at the top of the Resources pane allows to look for text in the name of resources and in the source of any text-based files: HTML (including sections, master pages, and snippets), JSON, JS and CSS. Internal resources Internal resources are files that are added to and saved with the template. To add images, fonts, style sheets, and snippets to your template, you can drag or copy/paste them into the Resources Pane.
Note When referring to images or fonts from a CSS file, you need to remember that the current path is css/, meaning you can't just call images/image.jpg. Use a relative path, for example: #header { background-image: url('../images/image.jpg'); } External resources External resources are not stored in the template, but on the local hard drive or on a network drive. They are accessed using a path. The path must have forward slashes, for example
PAGE 114
Contexts Contexts are parts of a template that are each used to generate a specific type of output: Email or Print. l l The Print context outputs documents to either a physical printer or a PDF file; see "Print context" on page 128. The Email context outputs HTML email, composed of HTML code with embedded CSS. See "Email context" on page 170. When a new template is made, the Context appropriate to that new template is automatically created, including one section.
Adding a context To add a context, right-click the Contexts folder on the Resources pane and click New print context, New email context or New web context. Or use Context > Add in the main menu. Only one context of each type can be present in a template. Each context, however, can hold more than one section; see "Sections" below. Importing a context To import a context, click File > Import Resources... in the menu. See: "Import Resources dialog" on page 498.
It is not possible to use a Template Wizard when adding a section to an existing template. Tip When you add an Email context to an existing template you get a 'basic action email'. This is one of the 4 types of email that you can choose from when you start a template with an Email Template Wizard; see "Creating an Email template with a Wizard" on page 167. Importing a section To import a section from another template, click File > Import Resources... in the menu.
1. Open the section that you want to copy and go to the Source tab in the workspace. 2. Copy the contents of the Source tab (press Ctrl+A to select everything and then Ctrl+C to copy the selection). 3. Add a new section (see "Adding a section" on page 115, above). 4. Go to the Source tab and paste the contents of the other section here (press Ctrl+V). 5. When copying a section to another template, add the related source files, such as images, to the other template as well.
Section properties Which properties apply to a section, depends on the context it is part of. See also: "Print sections" on page 133, "Email templates" on page 173, and Web pages. To change the properties for a section: 1. On the Resources pane, expand the Contexts folder. 2. Expand the folder of the respective context. 3. Right-click the name of the section, and then click one of the options.
Note Style sheets are applied in the order in which they are included in a section. The styles in each following style sheet add up to the styles found in previously read style sheets. When style sheets have a conflicting rule for the same element, class or ID, the last style sheet ‘wins’ and overrides the rule found in the previous style sheet. Note Style sheets that are linked to (i.e. included in) a section show a chain icon in the Resources pane (see "Resources pane" on page 579).
It is, however, possible to include or exclude Print sections when the output is generated, depending on a value in the data. A Control Script can do this; see "Control Scripts" on page 425. See "Generating output" on page 978 to learn how to generate Print documents or Email. Print Connect supports a number of different types of print outputs.
Only one Print section is created at the start, but you can add as many Print sections as you need; see "Print sections" on page 133. Pages Unlike emails, Print sections can contain multiple pages. Pages are naturally limited by their size and margins. If the content of a section doesn't fit on one page, the overflow goes to the next page. This happens automatically, based on the section's page size and margins; see "Page settings: size, margins and bleed" on page 144.
When both Media and a Master Page are used on a certain page, they will both be displayed on the Preview tab of the workspace, the Master Page being 'in front' of the Media and the Print section on top. To open the Preview tab, click it at the bottom of the Workspace or select View > Preview View on the menu. The Media will not be printed, unless this is specifically requested through the printer settings in the Print Wizard; see "Generating Print output" on page 979.
Another way to start a PDF-based Print template is this: l Right-click the PDF file in the Windows Explorer and select Enhance with Connect. The various template types and their options are described below. See "Print context" on page 128 and "Print sections" on page 133 for more information about Print templates. Tip Use the Outline pane at the left to see which elements are present in the template and to select an element.
postcard by the value of a field called "first_name" when you open a data set that has a field with that name. See "Variable Data" on page 347. l l A script called Dynamic Front Image Sample. This script shows how to toggle the image on the front page dynamically. See also "Writing your own scripts" on page 389. One empty Media. Media, also called Virtual Stationery, can be applied to all pages in the Print section. See "Media" on page 155.
l l l l A Print context with one section in it; see "Print context" on page 128 and "Print sections" on page 133. One empty Master Page. Master Pages are used for headers and footers, for images and other elements that have to appear on more than one page, and for special elements like tear-offs. See "Master Pages" on page 152. One Media. You can see this on the Resources pane: expand the Media folder. Media 1 is the Virtual Stationery that you have selected in the Wizard.
elements, like a reseller address, voucher codes and so on, can be added in front of it (see "Personalizing content" on page 334 and "Variable Data" on page 347). By default, the PDF itself is added to the Image folder located in the Resources pane. Uncheck the option Save with template if the PDF should not be imported in the template. If it isn't saved with the template, the image remains external.
l l A Print context with the specified number of sections in it; see "Print context" on the facing page and "Print sections" on page 133. For each page in the document one page is created in the Print section. Image files for each image in the original file. As with other templates, you can place images on the master page if you want them to appear in every document in the same place. l A separate word.css file in the Stylesheets. The css file is linked to the active section.
l Choose the desired type of business document from the General drop-down. l Select a color for the colored parts of the document; see "Color Picker" on page 488. l Enter your contact details. l l Click the Browse button to select a logo, or select to use a placeholder logo or no logo at all. Select a PDF file with the letterhead stationery. Also see "Media" on page 155. Tip Nice to know: your info and preferences are saved and will be reused the next time you create an ERP template.
Print templates (also called Print sections), are part of the Print context. They are meant to be printed directly to a printer or a printer stream/spool file, or to a PDF file (see "Generating Print output" on page 979). The Print context can also be added to Email output as a PDF attachment; see "Generating Email output" on page 1003. 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.
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" on page 152.
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)" on page 141. This setting can not be changed in a Job Creation Preset or an Output Creation Preset. Note Your printer must support duplex for this option to work.
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" on page 144. Overprint and black overprint Normally, when two colors overlap in Print output, the underlying color is not printed.
1. Right-click the Print context in the Resources pane and select Color Output. 2. Enable the Keep RGB black in output option. In Connect versions prior to 2018.2, RGB black was not automatically converted to CMYK black. Therefore, this option is by default enabled in templates made with an earlier version. In new templates, this option is disabled by default. Print sections Print templates (also called Print sections), are part of the Print context.
See "Master Pages" on page 152 for an explanation of how to fill them and how to apply them to different pages. Using stationery (Media) When the output of a Print context is meant to be printed on paper that already has graphical and text elements on it (called stationery, or preprinted sheets), you can add a copy of this media, in the form of a PDF file, to the Media folder. Media can be applied to pages in a Print section, to make them appear as a background to those pages.
to be printed out on paper. When a Print template is created (see "Creating a Print template with a Wizard" on page 122 and "Print context" on page 128), only one Print section is added to it, but you can add as many print sections as you need. To add a section to a context: l On the Resources pane, expand the Contexts folder, right-click the Print context , and then click New section. Note that the new section automatically gets the same properties as the first section.
Tip If you need a whole Print section to be visible in the output only under certain conditions, consider using the Conditional Print Section script wizard; see "Conditional Print sections" on page 359. You can use the Conditional Content script wizard to hide parts of the content of a section; see "Showing content conditionally" on page 354. Importing a Print section To import a section from another template, click File > Import Resources... in the menu. See: "Import Resources dialog" on page 498.
output in the order in which they appear on the Resources pane, so changing the order of the sections in the Print context changes the order in which they are outputted to the final document. To rearrange sections in a context: l l On the Resources pane, expand the Print context and drag and drop sections to change the order they are in. Alternatively, on the Resources pane, right-click a section in the Print context and click Arrange.
Note Style sheets are applied in the order in which they are included in a section. The styles in each following style sheet add up to the styles found in previously read style sheets. When style sheets have a conflicting rule for the same element, class or ID, the last style sheet ‘wins’ and overrides the rule found in the previous style sheet. Note Style sheets that are linked to (i.e. included in) a section show a chain icon in the Resources pane (see "Resources pane" on page 579).
l l Disk lists image files that reside in a folder on a hard drive that is accessible from your computer. Click the Browse button to select a folder (or an image in a folder). As an alternative it is possible to enter the path manually. You can give a local path (e.g. C:\Images\Test.jpg) or use the "file" protocol. The complete syntax of a fully qualified URL with the "file" protocol is: file:///.
and the Left field to specify the distance between the left side of the page and the left side of the PDF. The Top and Left offset can be specified in the usual units of measurement or as a percentage of the page (for example: a Left value of 25% means it will be placed at 25% of the page width). 6. Set the scale of the width (x) and height (y) of the image as a percentage of the original image. To avoid stretching, check the option Keep aspect ratio and set the scale of the width. 7.
The settings in a script take precedence over the settings made in the Print Section Properties dialog. Setting the binding style for a Print section In printing, Finishing is the binding style, or the way pages are bound together. Each Print section can have its own Finishing settings, as well as the Print context as a whole; see "Setting the binding style for the Print context" on page 131. To set the binding style of a Print section: 1.
1. On the Resources pane, expand the Print context, right-click the print section and click Sheet configuration. 2. Check Duplex to enable content to be printed on the back of each sheet. 3. When Duplex printing is enabled, further options become available. l Check Omit empty back side for Last or Single sheet to reset a page to Simplex if it has an empty back side. This changes the Duplex job into a Mixplex job.
numbering. Note that an empty page is defined as a page that has no content and no Master Page. To suppress the Master Page on otherwise empty back sides, check the option Omit Master Page Back in case of an empty back page for last and single sheets, in the Sheet Configuration dialog. (See "Sheet Configuration dialog" on page 542.) As of version 2020.2, a page that only has a DataMapper PDF background is no longer seen as empty. This may affect the output of templates created with previous versions.
The widow/orphan setting lets you control how many lines of a paragraph stick together, when content has to move to another page; see "Preventing widows and orphans" on page 148. You can also avoid or force a page break before or after an entire element, see "Page breaks" on page 150. Each page in a print section has a natural position: it is the first page, the last page, a 'middle' page (a page between the first and the last page) or a single page.
For the page size, click the drop-down to select a page size from a list of common paper sizes. Changing the width or height automatically sets the page size to Custom. Margins define where your text flow will go. Static elements can go everywhere on a page, that is to say, within the printable space on a page that depends on the printer. 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.
2. Insert the promotional image or snippet in the content. Note l l Only a top-level element (for example, a paragraph that is not inside a table or div) can function as a whitespace element. Do not place the promotional image or snippet inside an absolute positioned box. Whitespacing only works for elements that are part of the text flow, not for absolute-positioned boxes. 3.
in the Sheet Configuration dialog, see "Applying a Master Page to a page in a Print section" on page 154) but no contents, is not included in the Content page count. l l l Content page count: This is the total number of pages in the current document that have contents, supplied by the Print section. A page that has a Master Page but no contents, is not included in the Content page count. Sheet number: The current sheet number in the document.
Configuring page numbers By default the page numbers are Arabic numerals (1, 2, 3, etc.) without leading zeros nor prefix, and page numbering starts with page 1 for each section. But this can be changed. To do that: 1. On the Resources pane, right-click a section in the Print context and click Numbering. 2. Uncheck Restart Numbering if you want the page numbers to get consecutive page numbers, instead of restarting the page numbering with this section.
Note Widows and orphans are ignored if the page-break-inside property of the paragraph is set to avoid; see "Preventing a page break" on page 151. In the entire Print context To prevent widows and orphans in the entire Print context: 1. On the menu, select Edit > Stylesheets. 2. Select the Print context. 3. Click New (or, when there are already CSS rules for paragraphs, click the selector p and click Edit). 4. Click Format. 5.
In tables The CSS properties widows and orphans can be used in tables to prevent a number of rows from being separated from the rest of the table. A Standard Table doesn't flow over multiple pages by default. Splitting a Standard Table over multiple pages requires setting the Connect-specific data-breakable attribute on all of its rows. You can either open the Source tab, or write a script to replace each
with
. Note that the effect will only be visible in Preview mode.3. In the Breaks group, set the before or after property. l l Before: Sets whether a page break should occur before the element. This is equivalent to the page-break-before property in CSS; see CSS page-break-before property for an explanation of the available options. After: Sets whether a page break should occur after the element. Equivalent to the page-break-after property in CSS; see CSS page-break-after property for an explanation of the available options.
Master Pages 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 only on specific pages, such as only the first page, or the last page, or only on pages in-between. Examples are a different header on the first page, and a tear-off slip that shows up on the last page. This is what Master Pages are used for. Master Pages can only be used in the Print context (see "Print context" on page 128).
applied to different pages; see "Applying a Master Page to a page in a Print section" on the facing page. Importing a Master Page To import one or more Master Pages from another template, click File > Import Resources... in the menu. See: "Import Resources dialog" on page 498. Editing a Master Page Master Pages are edited just like sections, in the workspace. To open a Master Page, expand the Master pages folder on the Resources pane, and double-click the Master Page to open it.
2. Next, define the margins for the header and footer. The margins for a header and footer are set in the Master Page properties. This does not change the content placement within the Master Page itself; in Master Pages, elements can go everywhere on the page. Instead, the header and footer of the Master Page limit the text flow on pages in the Print sections to which this Master Page is applied.
the specified Master Page on the last backside of a section if that page is empty. That page will then also be skipped from the page count unless the page numbers continue on the next section (see "Configuring page numbers" on page 148). Note that if the Omit empty back side for Last or Single sheet option (see "General options" on page 543) is checked as well, the empty backside will not appear in the output at all and will not be counted in any case. 5.
For further explanation about how to apply Media to different pages, see "Applying Media to a page in a Print section" on page 159. Media will not be printed, unless you want them to; see below. Per Media, a front and back can be specified and you can specify on what kind of paper the output is meant to be printed on. This includes paper weight, quality, coating and finishing; see "Setting Media properties" below.
type of image file) for both the front and the back of the Media, and you can determine how the virtual stationery should be positioned on the page. This is done as follows: 1. On the Resources pane, expand the Contexts folder, expand the Media folder, rightclick the Media and click Properties. 2. Now you can change the name and page size of the Media. Note that it isn't possible to change the page size once the Media is applied to a section. Media can only be applied to sections that have the same size. 3.
not selected, the Select Image dialog automatically adds the filetype parameter with the file extension as its value (for example: ?filetype=pdf (if it is the first parameter) or &filetype=pdf). The filetype, page and nopreview parameters are not sent to the host; they are used internally. Therefore, URLs that rely on one of these parameters cannot be used. l With an external image, you can check the option Save with template.
Setting the paper's characteristics To set a Media's paper characteristics: 1. On the Resources pane, expand the Contexts folder, expand the Media folder, and right-click the Media. Click Characteristics. 2. Specify the paper's characteristics: l l l l l l l Media Type: The type of paper, such as Plain, Continuous, Envelope, Labels, Stationery, etc. Weight: The intended weight of the media in grammage (g/m2).
1. On the Resources pane, expand the Print context; right-click the Print section, and click Sheet configuration. 2. Optionally, check Duplex to enable content to be printed on the back of each sheet. Your printer must support duplex for this option to work. If Duplex is enabled, you can also check Tumble to duplex pages as in a calendar, and Facing pages to have the margins of the section switch alternately, so that pages are printed as if in a magazine or book. 3.
2. Decide which pages should have dynamically switching media: every first page in the Print section, every last page, one of the pages in between (a 'middle page'), or a single page. (Uncheck the option Same for all positions, to see all page positions.) 3. In the area for the respective sheet position, click the Edit script button next to Media. The Script Wizard appears with a standard script: results.
Note l l Any Virtual Stationery settings made for the Media also influence how the Media is displayed in each section (see "Setting Media properties" on page 156). Section backgrounds are rotated separately (see "Using a PDF file or other image as background" on page 138). If in the Media properties, the Virtual Stationery position is set to Absolute, any offset given by the Top and Left values will be applied after rotation.
Designing HTML email that displays properly on a variety of devices and screen sizes is challenging. Building an email is not like building for the web. While web browsers comply with standards (to a significant extent), email clients do not. Different email clients interpret the same HTML and CSS styles in totally different ways.
This topic explains why designing HTML email design is as challenging as it is, which solutions are used in the Email Template Wizards and it lists good practices, for example regarding the use of images in HTML email. It will help you to create the best possible Email templates in the Designer. HTML email challenges Creating HTML email isn't like designing for the Web. That's because email clients aren't like web browsers.
Tip Click the Edges button on the toolbar to make borders of elements visible on the Design tab. The borders will not be visible on the Preview tab or in the output. Litmus There are several tools to preview how email will be rendered on a variety of clients. We recommend using Litmus. Support for Litmus is integrated into the Designer; the Send Test Email dialog has an option to "Send to Litmus".
Preferences To change the way Emmet works in the Designer, select Window > Preferences, and in the Preferences dialog, select Emmet; see "Emmet preferences" on page 378. Using CSS files with HTML email Email clients do not read CSS files and some even remove a