2022.2
Table Of Contents
- Table of Contents
- What is Connect Send?
- Installation
- Printer driver
- Workflow Plugins
- Connect Send database cleanup service
- Moving Workflow to another machine
- Prerequisites
- System Requirements
- Installing OL Connect Send Printer Driver
- Printer driver properties and advanced settings
- Mass deployment of the OL Connect Send Printer Driver
- Using API Keys
- OLCS Notifier
- Known Issues
- Existing OL Connect Send Upgrade Issue
- Installing OL Connect Send on Windows Server 2016
- Installing OL Connect Send on a machine with Connect installed
- OL Connect Send issues under Microsoft Edge browser
- Printing PDF files with Adobe Acrobat Reader
- Paper Size vs Printer Page Size
- Passthrough Printing not supported
- License modes
- OL Connect Send in Workflow
- Using the Printer Driver
- Log files
- Troubleshooting
- OL Connect Send 2.1.2 Printer Driver Release Notes
- Overview
- Important Notes
- OL Connect Send 2.1.2 Printer Driver
- OL Connect Send 2.1.1 Printer Driver
- OL Connect Send 1.8.0 Printer Driver
- OL Connect Send 1.7.0 Printer Driver
- OL Connect Send 1.6.6 Printer Driver
- OL Connect Send 1.4.5 Printer Driver
- OL Connect Send 1.3.5 Printer Driver
- OL Connect Send 1.2.5 Printer Driver
In order to tell the printer driver if an API key is missing or incorrect, the Input task of the process
must be set to return a custom HTTP server response code, which is stored in a variable (in this
example: %{http_response}).
Retrieving the API key from the HTTP headers can be done with a Run Script task. For
example:
// Get Bearer Key from raw header
var rawHeaders = Watch.ExpandString("xmlget('/request[1]/header
[1]/rawheaders[1]',Value,KeepCase,NoTrim)");
var authHeaderPattern = /^Authorization=Bearer (\S+)$/m;
var matchResult = rawHeaders.match(authHeaderPattern);
if (matchResult != null && matchResult.length == 2) {
Watch.SetVariable ('bearer_key', matchResult[1]);
Watch.SetVariable ('key_found', 'yes');
} else {
Watch.SetVariable ('bearer_key', '');
Watch.SetVariable ('key_found', 'no');
}
Watch.log('*'+Watch.GetVariable('bearer_key').length+'*', 2);
A following Text Condition task can check if the API key was found (here: the %{key_found}
variable is equal to yes).
Page 64