2019.1
Table Of Contents
- Table of Contents
- Welcome to PrintShop Mail Connect 2019.1
- 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
- Upgrading
- Connect: a peek under the hood
- Known Issues
- The OL Connect 2019.1 license update does not cater for existing AFP input li...
- The Update Client OL for Connect 2019.1 does not cater for standalone Connect...
- Page break changes in 2019.1
- Minor differences in AFP and IPDS output introduced in 2019.1
- Issue with image placement in 2019.1 when using some customized AFP and IPDS ...
- Issue after erroneous or incomplete update or re-installation
- Backend database might require periodic maintenance
- Windows 10 Search service impacting Connect
- Job Creation Presets: External Sorting change introduced in 2018.2
- Business Graphics: Backward Compatibility Issues introduced in 2018.1
- Known Font issues
- Minor differences in PCL, AFP 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
- Designer basics
- Content elements
- Snippets
- Styling and formatting
- Personalizing content
- Preferences
- COTG Servers preferences
- Clean-up Service preferences
- Database Connection preferences
- DataMapper preferences
- Editing preferences
- Email Preferences
- Emmet Preferences
- Engine Setup
- Language Setting Preferences
- Log Setting Preferences
- Print Preferences
- Project Wizards
- Saving Preferences
- Scheduling Preferences
- Scripting Preferences
- Writing your own scripts
- Translating templates
- Designer User Interface
- 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
- Japan 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
- Setting the margins of a Print section
- Setting the header and footer of a Master Page
- Designer Script API
- Generating output
- Print Manager
- Print Manager Introduction Video
- Print Manager usage
- Print Manager Interface
- License Update Required for Upgrade to Connect 2019.1
- Overview
- OL Connect 2019.1 Enhancements
- Connect 2019.1 Designer Updates
- Connect 2019.1 Output updates
- Print Wizard and Preset Wizard Improvements
- Known Issues
- Previous Releases
- Overview
- Connect 2018.2.1 Enhancements/Fixes
- Connect 2019.1 Enhancements
- Connect 2019.1 Designer Updates
- Connect 2019.1 Output updates
- Print Wizard and Preset Wizard Improvements
- Connect 2019.1 Print Manager updates
- Known Issues
- 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
- Knowledge Base
- Legal Notices and Acknowledgements
Skin/Formats/CrossReferencePrintFormat("Remote snippets" on page1)).To quickly get the
location of an HTML snippet in the template resources, right-click the snippet in the Resources pane
and select Copy Resource Location.The path to a remote HTML snippet can be copied from the
snippet's properties: right-click the snippet in the Resources pane and select
Properties.selectorString. The supplied selector should conform to CSS selector syntaxand allows
you to retrieve only the content of matching elements.ExamplesThis script loads a specific element
from a snippet and uses that to replace the results (the HTML element or set of HTML elements
matched by the selector of the script; see Skin/Formats/CrossReferencePrintFormat("results" on
page1)).var mysnippet = loadhtml('snippets/snippet-selectors.html','#item3'); results.replaceWith
(mysnippet);This script loads the children of the selected element.var snippet = loadhtml
('file:///C:/Users/PParker/Documents/Example.html','foobar').children(); results.replaceWith
(snippet);The next script loads a remote snippet (see Skin/Formats/CrossReferencePrintFormat
("Remote snippets" on page1)), looks for an H1 heading and uses that text.var post = loadhtml
('snippets/post.rhtml');var h1 = query('h1', post).text();results.text(h1);Another example is given in
the following how-to: Using a selector to load part of a snippet." on page1)); for JSON, use
loadjson() ("loadjson()" on page802).
Tip
External content is not loaded while editing a script. To test a script that loads external content, you
can do a preflight; see "Doing a Preflight" on page370.
loadtext(location)
Returns the content of a text file. The file extension doesn't have to be .txt. It may also be a
JavaScript file (.js) or a style sheet (.css), for instance.
location
String containing a path that can either be a URL or a path that is relative to the
section/context.
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.js.
Examples
This script loads a JavaScript file (from the Resources pane) directly into a <script> element.
Page 805










