2018.2
Table Of Contents
- Table of Contents
- Welcome to PrintShop Mail Connect 2018.2
- Setup And Configuration
- System and Hardware Considerations
- Installation and Activation
- Where to obtain the installers
- Installation - important information
- Installation - How to guides
- Activation
- Installation Prerequisites
- User accounts and security
- Installing PrintShop Mail Connect on Machines without Internet Access
- Installation Wizard
- Running Connect installer in Silent Mode
- Activating a License
- Migrating to a new workstation
- Preferences
- Connect: a peek under the hood
- Known Issues
- Job Creation Presets: External Sorting
- Business Graphics: Backward Compatibility Issues
- Known Font issues
- Minor differences in PCL, AFPDS and IPDS output introduced in 2018.1
- Windows Server 2016 issue
- Limit of 100MB of image files within a single job
- Print Output: Booklet Impositioning changes introduced in 2018.1
- Installation Paths with Multi-Byte Characters
- Switching Languages
- GoDaddy Certificates
- MySQL Compatibility
- Available Printer Models
- Color Model in Style Sheets
- Image Preview in Designer
- VIPP Output
- Magic Number changes when installing Docker
- Uninstalling
- Connect: a peek under the hood
- Connect File Types
- The Designer
- Australia Post 4 State Settings
- Codabar Settings
- Code 128 Settings
- Code 39 Settings
- Datamatrix Settings
- EAN-128 Settings
- EAN-13 Settings
- EAN-8 Settings
- Interleaved 2 of 5 Settings
- KIX Code (Dutch Post) Settings
- PDF417 Settings
- QR Code Settings
- Royal Mail 4 State Settings
- Royal Mail 2D Settings
- UPC-A Settings
- UPC-E Settings
- US Postal Service IMB Settings
- US Postal Service IMPB Settings
- Designer Script API
- Standard Script API
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Examples
- Example
- Example
- Example
- Example
- Example
- Examples
- Creating a table of contents
- Example
- Examples
- Examples
- Examples
- Examples
- Replace elements with a snippet
- Replace elements with a set of snippets
- Example
- Example
- Creating a Date object from a string
- Control Script API
- Examples
- Post Pagination Script API
- Designer Script API
- Generating output
- Print Manager
- Print Manager Introduction Video
- Print Manager usage
- Print Manager Interface
- Overview
- Connect 2018.2 Enhancements
- Connect 2018.2 Designer Updates
- JSON support added to the Data Model Panel
- Minimum Pages option added to Print Sections
- Color Output option added to Print Contexts
- Breadcrumb Improvements
- Paste as Plain Text option added
- Scripting Improvements
- Post Pagination Improvements
- Barcode Improvements
- Business Graphics Improvements
- General Designer Improvements
- Connect 2018.2 Output updates
- Print Wizard and Preset Wizard Improvements
- Connect 2018.2 Print Manager updates
- Known Issues
- Overview
- Connect 2018.2.1 Enhancements/Fixes
- Connect 2018.2 Enhancements
- Connect 2018.2 Designer Updates
- JSON support added to the Data Model Panel
- Minimum Pages option added to Print Sections
- Color Output option added to Print Contexts
- Breadcrumb Improvements
- Paste as Plain Text option added
- Scripting Improvements
- Post Pagination Improvements
- Barcode Improvements
- Business Graphics Improvements
- General Designer Improvements
- Connect 2018.2 Output updates
- Print Wizard and Preset Wizard Improvements
- Connect 2018.2 Print Manager updates
- Known Issues
- Previous Releases
- Overview
- Connect 2018.1.6 Enhancements/Fixes
- Connect 2018.1.5 Enhancements/Fixes
- Connect 2018.1.4 Enhancements/Fixes
- Connect 2018.1.3 Enhancements/Fixes
- Connect 2018.1.2 Enhancements/Fixes
- Connect 2018.1.1 Enhancements/Fixes
- Connect 2018.1 General Enhancements
- Connect 2018.1 Designer Enhancements/Fixes
- Connect 2018.1 Output Enhancements/Fixes
- Connect 2018.1 Print Manager Enhancements/Fixes
- Known Issues
- Overview
- Connect 1.8 General Enhancements and Fixes
- Connect 1.8 Performance Related Enhancements and Fixes
- Connect 1.8 Designer Enhancements and Fixes
- Connect 1.8 Output Enhancements and Fixes
- Connect 1.8 Print Manager Enhancements and Fixes
- Known Issues
- Overview
- Connect 1.7.1 General Enhancements and Fixes
- Connect 1.7.1 Designer Enhancements and Fixes
- Connect 1.7.1 Output Enhancements and Fixes
- Known Issues
- Overview
- Connect 1.6.1 General Enhancements and Fixes
- Connect 1.6.1 Designer Enhancements and Fixes
- Connect 1.6.1 Output Enhancements and Fixes
- Known Issues
- Overview
- Connect 1.5 Designer Enhancements and Fixes
- Connect 1.5 Output Enhancements and Fixes
- Connect 1.5 General Enhancements and Fixes
- Known Issues
- Overview
- Connect 1.4.2 Enhancements and Fixes
- Connect 1.4.1 New Features and Enhancements
- Connect 1.4.1 Designer Enhancements and Fixes
- Connect 1.4.1 Output Enhancements and Fixes
- Known Issues
- Legal Notices and Acknowledgements
Tip
To load an HTML fragment, you can use use loadhtml() (see
Skin/Formats/CrossReferencePrintFormat("loadhtml()Loads HTML content from the specified
HTML file. The file may be located inside the template (see
Skin/Formats/CrossReferencePrintFormat("Snippets" on page1)) or hosted on a Content
Management System or on another location outside the template.An optional selector allows you to
retrieve only the content of matching elements.Loadhtml() is cached per batch run (based on the
URL) in print/email.To load a JavaScript file (.js) or a style sheet (.css) you can use loadtext(). See
Skin/Formats/CrossReferencePrintFormat("loadtext()" on page1).External content is not loaded
while editing a script. To test a script that loads external content, you can do a preflight; see
Skin/Formats/CrossReferencePrintFormat("Preflight" on page1).loadhtml(location)Loads all
HTML from the specified HTML file.locationString containing a path that can be absolute or
relative to the section/context. Use snippets/<snippet-name> to retrieve the content from an HTML
file residing in the Snippets folder on the Resources panel.In order to retrieve files from outside the
template the file protocol is supported as well as the http/https protocols.The complete syntax of a
fully qualified URL with the "file" protocol is: file://<host>/<path>. If the host is "localhost", it can
be omitted, resulting in file:///<path>, for example: file:///c:/somefolder/somecontent.html.When
using the http/https protocol, remember that only absolute paths are supported inside remote snippets
(see Skin/Formats/CrossReferencePrintFormat("Remote snippets" on page1)).ExamplesThis script
loads a local HTML snippet (from the Resources panel) directly into the matched
elementsresults.loadhtml("snippets/snippet.html");The following script loads a local HTML snippet
(Resources panel) into a variable. The replaceWith() command is used to replace the element(s)
matched by the script's selector with the contents of the snippet.var mysnippet = loadhtml
('snippets/snippet.html'); results.replaceWith(mysnippet);Same result as the previous script, but a
different notation:results.replaceWith(loadhtml('snippets/snippet.html'));The following script loads a
snippet into a variable and finds/replaces text in the variable before inserting the content into the
page. The second find command also adds formatting to the replacing text.var mysnippet = loadhtml
('file:///C:/Users/PParker/Documents/Example.html'); mysnippet.find('@var1@').text('OL Connect
1'); mysnippet.find('@var2@').html('<i>OL Connect 2</i>').css('text-decoration','underline');
results.replaceWith(mysnippet); This last script loads a snippet into a variable and retrieves an
element from the snippet using query().var mysnippet = loadhtml('snippets/text-root-wrapped.html');
var subject = query("#subject", mysnippet).text(); results.append("<p style='font-weight: bold;'>" +
subject + "</p>");loadhtml(location, selector)Retrieves specific content from the specified HTML
file.locationString containing a path that can be absolute or relative to the section/context. Use
snippets/<snippet-name> to retrieve the content from an HTML file residing in the Snippets folder
on the Resources panel.In order to retrieve files from outside the template, the file protocol is
supported as well as the http/https protocols.The complete syntax of a fully qualified URL with the
"file" protocol is: file://<host>/<path>. If the host is "localhost", it can be omitted, resulting in
Page 741










