Professional Documents
Culture Documents
Enterprise
CCMPRJ160000-CGD-EN-03
OpenText™ Communications Center Enterprise
Project Configuration Guide
CCMPRJ160000-CGD-EN-03
Rev.: 2016-Dec-27
This documentation has been created for software version 16.0.
It is also valid for subsequent software versions as long as no new document version is shipped with the product or is
published at https://knowledge.opentext.com.
Tel: +1-519-888-7111
Toll Free Canada/USA: 1-800-499-6544 International: +800-4996-5440
Fax: +1-519-888-0677
Support: https://support.opentext.com
For more information, visit https://www.opentext.com
Disclaimer
Every effort has been made to ensure the accuracy of the features and techniques presented in this publication. However,
Open Text Corporation and its affiliates accept no responsibility and offer no warranty whether expressed or implied, for the
accuracy of this publication.
Table of Contents
Part 1 Design Center fundamentals 23
7.31.2.3 Setting up a web service connection profile for Output Manager ....... 231
7.31.2.4 Vista Plus Output Manager connector settings ................................ 233
7.31.3 Configuration steps to set up job tracking ........................................ 239
7.31.4 Configuration steps to set up device tracking .................................. 241
This chapter describes the work environment and the interface elements of Design
Center. You will find a comprehensive reference of all Design Center dialog boxes in
“Design Center dialog boxes“ on page 275.
The Design Center graphical user interface (GUI) consists of four windows, and one
view per Project component (Platform, Message, Runtime configuration, and
resource set). The component views are displayed in the main window.
• 1. Project browser
The “Project browser” is where you create and structure your Project.
• 2. Main window
The “Main window” is where you configure the Project components.
• 3. Property window
The “Property window” displays properties for the active view in the Main
window.
• 4. Search results window
The “Search results window” displays the search results after submitting Edit >
Find.
• 5. Log window
The “Log window” on page 38 displays the Design Center log.
Showing/hiding windows
You can use the View menu to show/hide windows (you cannot hide the Main
window).
Folders
You can use folders to structure the Project nodes.
Project nodes
You add the Project nodes either at root level, or to the appropriate folders.
Moving nodes
You can drag and drop Project nodes between the folders.
You can open the following component views in the Main window:
• “Platform view”
• “Message view”
• “Runtime configuration view”
• “Resource set view”
Connectors
All connectors used in the Project are added to the Platform view. The
connectors are displayed as shown in Figure 1-4. The connector contains labels
that helps you identify the main features specified for the connector. The
connector labels are described below.
Message
The actual Message is displayed between the Events and Processes.
Script indicators
You can add different types of scripts in the Message view. Script indicators on
the Event, Message, and Process objects indicate where scripts are added.
Input connectors
The input connectors are created in the Platform and displayed in the Runtime
configuration view. The connections between input connectors and Events are
indicated by lines in the Runtime configuration view.
Output connectors
The output connectors are created in the Platform and displayed in the Runtime
configuration view. The connections between Processes and output connectors
are indicated by lines in the Runtime configuration view.
Runtime jobs
A Runtime job is created by default when you create a Runtime configuration.
You can add new jobs to the Runtime configuration if you need to.
Message configurations
You add a Message configuration to a Runtime job, and connect its Events and
Processes to the appropriate input and output connectors.
Post-processors
You must add a Post-processor to the Runtime configuration in order to retrieve
documents from a Post-processor repository.
Script indicators
You can add different types of scripts in the Runtime configuration view. Script
indicators on the Runtime jobs and Post-processors indicate where scripts are
added.
2. Right-click the Runtime configuration view and select New Job. A new Runtime
job is added to the Runtime configuration view.
2. Right-click the job, select Rename, and enter the new name.
To add a Post-processor
To rename a Post-processor
2. Right-click the Post-processor, select Rename, and enter the new name.
To delete a Post-processor
2. In the top-left corner of the job, click - to collapse or + to expand the job.
Folders
You can use folders to organize the resources in the resource set. A folder can
contain any number of resources and sub folders.
Local resources
Local resources are resources created from within the resource set. These
resources are stored in the Project directory.
Shortcuts to resources
You can add resources from other Project directories to a resource set. The icons
for these resources contain shortcut symbols to indicate that they are not local
resources. If you create a local resource, and then move it to another folder in the
resource set, the corresponding resource file stored on disk will not be moved.
The icon for a moved resource will also contain a shortcut symbol.
Note tab
On the Notes tab, you can add notes to the Selected item.
Dependencies tab
There are dependencies between the nodes in the Project browser. For example,
a Runtime configuration is related to settings in the Platform, resource sets,
Messages, and physical layers. On the Dependencies tab, you can see the
dependencies for the Active view, i.e. the corresponding node in the Project
browser.
The search results are displayed in a list. You can double-click a line to activate the
corresponding view.
You can enable logging to record the events which happen while you work with
your Design Center Projects. To enable logging you must specify the appropriate log
level and the path to the log file.
To enable logging
The log can be examined in the Log window in Design Center. You can use filters to
increase/decrease the level of information displayed.
1. Select File > New > Project. The Project Settings dialog box opens.
• Default code page – The default code page you specify here will be the
default code page in all code page drop-down lists in the Project.
• Default Resource set – The default resource set of the Project. This resource
set is automatically connected to all Platforms, Message configurations, and
Runtime configurations you create from within the Project.
3. Click OK.
At this stage, the Project contains the Project node and a resource set node. You must
now add a Platform, Runtime configurations, and Message configurations to the
Project.
Invalid strings
AUX, CLOCK$, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8,
COM9, CON, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9, NUL,
PRN
1. Right-click the Project node where you want to insert the folder, and select New
> Folder.
1. Right-click the Project node where you want to insert the Platform, and select
New > Platform. A new Platform node and a physical layer node are added to
the Project tree.
Configuring a Platform
Now you have an empty Platform with one physical layer. To complete the
Platform, you must add and configure connectors, specify Platform settings, etc.
1. Right-click the Project node where you want to insert the Message
configuration, and select New > Message. A new Message node is added to the
Project tree.
2. Rename the Message node.
1. Right-click the Project node where you want to insert the Runtime
configuration, and select New > Runtime. The Select Platform dialog box opens.
2. Select the Platform you want to use for your Runtime configuration, and click
OK. A new Runtime configuration node and one or more physical layer nodes
are added to the Project tree.
3. Rename the Runtime configuration node.
means all Project components will have access to all resources in the default resource
set.
You can also create additional resource sets. For example, you can create a resource
set that contains resources used by a number of Message configurations in the
Project. In this case, you must manually connect the resource set to the Message
configurations.
In this section
• “Sharing a component between Projects” on page 46
• “Finding reused components” on page 47
• “Verifying that Project components have unique keys” on page 47
Copying a component
To copy a component within the same Project
1. In the Project browser, right-click the Project node, and then click Add copy to
Project.
2. Select the component you want to copy and then click OK.
1. In the Project browser, right-click the Project node, and then click Add copy to
Project.
2. In the Add to Project dialog box, click Browse, and if prompted log on to the
tenant.
3. In the Select CAS resources dialog box, enter your search criteria in the Find
box and then click Find.
4. In the Selectable resources list in the area on the left-side of the dialog box,
double-click the component or components you want to copy to the Project.
In the Selected resources area on the right-side of the dialog box, you see the
selected component(s) as well as all the dependencies, which are the Project
components that depend on the selected component(s).
5. Click OK to copy the selected component and the dependencies to the Project.
See also “To search for a specific type of Project component (Platform, runtime,
etc.)“ on page 47.
Notes
• You should not copy Processes that are used with, or will be used with,
StoryBoard.
3. In the Select CAS resources dialog box, enter your search criteria in the Find
box and then click Find.
4. In the Selectable resources list in the area on the left-side of the dialog box,
double-click the component or components you want to add to the Project.
In the Selected resources area on the right-side of the dialog box, you see the
selected component(s) as well as all the dependencies, which are the Project
components that depend on the selected component(s).
5. Click OK to add the selected component and the dependencies to the Project.
1. In the Select CAS resources dialog box, click Change below the Find box.
2. Select the component types you want to search for and click OK.
1. In the Project browser, right-click the component node, and then click File
Properties.
• Platform (*.dcplatform)
• Physical Platform layer (*.dcphyspf)
• Runtime configuration (*.dcruntime)
• Physical runtime configuration layer (*.dcphysrt)
• Message configuration (*.dcmessage)
• Process (*.dcprocess)
• Resource (*.dcres)
• Resource set (*.dcrset)
All Design Center Project files must have unique keys. If several files have the same
key, Design Center cannot identify which file to use where. When you copy a
component in a Design Center Project, and use it in the same Project or in another
Project that has any relations to the original Project, Design Center assigns a new to
key to the component.
You can perform a sanity check to see if any components in the Design Center
Project have the same keys, i.e. if there are any key conflicts. Please contact
OpenText Support if you experience any duplicate key related issues.
Packing a Project
You can pack any type of Project, and create a package file where all Project files and
resource files used in the Project are included.
If the Project includes linked components or a metadata model is used in the Project,
the linked Project files and metadata model are also included in the package file.
To pack a Project
1. Select File > Pack Project. The Project Package information dialog box opens.
2. Click Save as Project Package. A file browser opens.
3. Browse to the folder where you want to save the package, enter a File name for
the package, and click Save.
Unpacking a Project
When you unpack a Project, the Project files are stored in a predefined directory.
You cannot change the location of this directory.
Custom drivers
If you unpack a Project that contains custom drivers, the corresponding driver
files are unpacked as well. If there is a naming conflict, you are prompted to
overwrite the driver file you already have, rename the unpacked driver file, etc.
This means you must decide whether to overwrite existing driver files before
you unpack the Project.
To unpack a Project
Creating a template
You can save a Project as a template. When you create a template, you should enter a
category and description of the template. This will make it easier to identify the
template.
1. Select File > Pack Project. The Project Package Information dialog box opens.
2. Enter a Category and Description and click Save as Project Template. The
Enter Project Template Name dialog box opens.
3. Enter a name for the template and click OK.
1. Select File > New > Create Project from Template. The Create Project From
Template dialog box opens.
2. Select the appropriate category. All available templates in the selected category
are displayed in the Available templates list.
3. Select the template you want to open, and click OK. The Unpack Project dialog
box opens.
4. In Unpack to, specify the appropriate options, and then click OK.
To save a Project
Important
You cannot recover local Projects that you delete. Changes that you have
made in the Project that are not checked in are lost.
• In the Open Project dialog box, below the Locally available projects area, click
the Delete icon.
2. In the Select Management Gateway dialog box, click Add new MGW
connection.
3. Enter a name for the connection, and the host and port for the management
gateway:
• Host
The address of the computer with the management gateway. For example:
https://localhost.
• Port
The port used for communication with the management gateway. The
default port is 28300.
Tip: OpenText recommends that you use the CAS to manage your Project files
and create packages. This is because not all functionality is available if you
store your files on disk and export to disk.
Design Center files and release packages are not added to the CAS automatically. To
use this functionality, you must connect Design Center to the management gateway
and manually check in your Project or create a release. After this, all Design Center
users who have access to the same tenant can access the files.
Design Center files and release packages in the CAS are versioned. This means that
each time a Project is checked in, a new version of the Project is added to the CAS.
And each time a release is created, a new version of both the Project and the export
file are added to the CAS.
The version of the Project file in CAS does not correspond to the Project version. For
example, you can check in several versions of a Project file without changing the
Project version.
• Not in view
The file exists in your local Project directory, but is not in the CAS. You must
check in the Project to add the file to the CAS.
• Out of Date
Another user has modified a file and checked in the Project. This means you
must update the Project component in order to get the latest version. See “To
compare and then download or promote individual files“ on page 54.
• Conflict
Both you and another user have modified the same file. The other user has
checked in the Project. You have two options:
• You can promote your version of the file to the latest. This overwrites the
other persons changes.
• You can download the version of the file from the CAS. This overwrites your
changes.
For more information, see “To compare and then download or promote
individual files“ on page 54.
• Unresolved
The file exists both in your local Project directory and in the CAS. However
Design Center cannot identify if the local version corresponds to one of the
versions in the CAS.
For more information, see “Managing unresolved files ” on page 55.
To check in a Project
Locking files
Before you make changes to a Project or Project component, you should lock the
file to prevent other users from making changes at the same time. When you
have finished working, you should unlock the file and check in your work.
• Click the Add new MGW connection icon to create a new connection to a
management gateway. See “Connecting a Project to a management gateway”
on page 50.
• Click an existing management gateway connection.
3. Enter the tenant name, user name, and password to connect to the tenant
environment.
4. In the Select project and label to open dialog box, do the following:
• In the Select Project area, click the Project you want to open.
• In the Select commit area, click the revision of the Project you want to open.
1. In the Project tree, select the entire Project or individual component you want to
lock.
2. On the toolbar, click the Lock icon.
You cannot change the location of where the local Project files are saved.
• On the toolbar, click the Save icon to save the active Project component, or the
Save All icon to save all the components in the Project.
1. In the Project tree, select the entire Project or individual component you want to
unlock
2. On the toolbar, click the Unlock icon.
This is useful if you are working on the same Project as others, and someone else
checks in a newer version of the Project than you are currently working on.
If differences exist between your local version of a file and the version in the CAS,
you can choose what course of action to take for each file. The following options are
available:
• Download latest version – Retrieves the version of the file from the CAS. This
will overwrite your local version with the version from the CAS. Any changes
you made to the file are lost.
• Promote this version to the current – This will make your version of the file the
most recent version in the CAS. This will overwrite the version of the file in the
CAS with your version. This change is applied in the CAS after you check in the
Project.
• Leave as-is – No action is taken. The next time you check in the Project, you will
have the option to make a force check in, which will overwrite the version of the
file in the CAS with your version.
1. On the toolbar, click the Update the state of the Project components icon.
2. For each file under the Files with "conflict" status and Out of date lists in the
Update components area, select the action to take:
• Leave as-is
• Download latest version
• Promote this version to the current
Note: If there are no files with the conflict or out of date status, you can close the
dialog box.
3. Click OK.
Design Center downloads any files marked for Download latest version. This
may take some time. Files marked for Promote this version to the current are
promoted the next time you check in the Project.
1. In the Project tree, right-click the Project node, and then click Settings.
You can try to resolve this issue with the Update components > Attempt to resolve
version option.
If the local version of a file can be matched to a version in the CAS (for example, if
the component has not been changed), Design Center updates the file with the
appropriate status (current, out of date, etc.).
If the version of the file cannot be resolved, you have the following options:
• You can promote your version of the file to the latest. This will make your
version of the file the latest version in the CAS.
• You can download a version of the file from the CAS. This overwrites your file
with the version you download from the CAS.
For more information, see “To compare and then download or promote individual
files“ on page 54.
The export file is based on the current versions of the Project components that you
have open in Design Center. If the CAS contains a more recent version of a Project
component that you want to include in the export, you must download it before
creating the release. For more information about how to do this, see “Comparing,
downloading, and promoting individual files” on page 54.
Each time you create a release, a new version the export file is stored in the CAS.
Release packages you create in Design Center can be deployed to StreamServer
applications from Control Center. When you deploy the Project in Control Center,
you must connect to the CAS, select the Project, select the appropriate release
package based on the label, and then specify which physical layer to deploy.
To create a release
2. In the Export for release dialog box, specify the export settings. See “Export and
Export for release dialog boxes” on page 282.
4. Click OK.
See also
• “Increasing the Project version number” on page 56
already paused documents in the Message store repository are previewed and
released using the previous Project version, while new documents are created
using the updated Project version.
Note: When increasing the Project version number, the version numbers
of all templates included in the Project are also increased.
Tip: Because not all functionality is available when you export a Project to disk,
OpenText recommends you check in your Project to the CAS and create a
release rather than exporting to disk.
See also
• “Increasing the Project version number” on page 56
2. Specify the export settings. See “Export and Export for release dialog boxes”
on page 282.
3. Click OK.
To add a script
1. Right-click the object (Event, Process, Message or Job) and select Script.
2. In the Script editor, select a Trigger, then edit the script and click OK
Several alternatives
An alias includes several alternatives. The alias also includes the conditions for
when to select a specific alternative. For example, an alias for output connector
selection contains several connector alternatives, and the conditions for when to
select a specific connector.
• Script alias, where you use scripting to determine which alternative to select.
See “Script alias” on page 62 for more information.
• Lookup alias, where you use lookup tables to determine which alternative to
select. See “Lookup alias” on page 63 for more information.
Default alternative
You must specify a default alternative. This alternative is used if there is no
matching condition specified in the alias. For example, a script alias includes
conditions for &countryCode="SWE" and &countryCode="FIN". If &
countryCode is neither SWE nor FIN, the default alternative is used.
Key
The key is used in the script conditions. You can use a field reference
(&fieldname) or a variable ($variable) as key.
Script
In the script, you use the key to specify conditions for when to select a specific
alternative.
Alias variable
The alias variable is the variable you use when you set the alias in the Design
Center user interface. Note that the alias variable must be a variable
($variable). It must not be a field reference (&fieldname).
• spoolSWE – output connector used for invoices with country code SWE. This is
also the default connector alternative.
• spoolFIN – output connector used for invoices with country code FIN.
Key
The country code is used to determine which connector to select. In this
example, the field reference &countryCode is used as key. This is a reference to
the Event field countryCode.
Script
The script is a Before Message script that uses &countryCode to determine
which connector to select, and sets the value of the alias variable $connector to
the name of the selected connector.
$connector = "spoolFIN";
}
How it works
4. The connector alias is set to spoolSWE, and the invoice is sent to the connector
spoolSWE.
Key
The key is used to find the appropriate alternative in the lookup table. You must
use a variable ($variable) as key, for example $countryCode.
Lookup table
The lookup table is a resource that you add to the appropriate resource set. The
lookup table contains two columns:
• spoolSWE – output connector used for invoices with country code SWE. This is
also the default connector alternative.
• spoolFIN – output connector used for invoices with country code FIN.
Key
The country code is used to determine which connector to select. In this
example, the variable $countryCode is used as key. This is a variable created for
the Event field countryCode.
Lookup table
The lookup table is called connectors.tbl. It contains two rows, where each
row consists of a key value (the value of $countryCode) and an alternative
associated with the key value:
SWE spoolSWE
FIN spoolFIN
How it works
3. The StreamServer application finds the key value SWE and the corresponding
connector alternative spoolSWE in the lookup table.
4. The connector selection alias is set to spoolSWE, and the invoice is sent to the
connector spoolSWE.
• Platform
• Connectors (Platform)
• Queues (Platform)
• Output connectors (Runtime configuration)
• Events and Processes (Runtime configuration)
1. Select Edit > Custom Settings. The Edit custom fields dialog box opens.
2. In the Access points browser, browse to and select the node you want to
configure.
3.5 Scheduling
You can define schedules for different types of actions, for example, how frequently
to collect input, spool queues, etc. You can set a single time interval, or create more
complex schedules.
Figure 3-2: Example: Schedule that triggers an action once every second
Monday to Wednesday, and once every hour Thursday to Sunday.
To add an interval
2. Click New (Apply selected interval area). A new item is added to the area.
3. Select a unit (Year, Month, etc.) for the item and enter a Start and, optionally, an
End value for the time frame.
You can set a time frame for when to apply all intervals in the list.
• In the Apply all intervals area, use Date and Time for Start and Stop to set the
frame for all intervals.
2. Right-click the Platform view and select Configure Export. The Configure
Platform Export dialog box opens.
Argument lists
Each argument tab contains a list of available arguments, and each argument in
the list has a check-box attached.
All arguments that you check will be included in the argument file. Some
arguments, for example -langfile, have values that you must specify. To
specify these values, you must select the argument and specify the values.
Custom arguments
The StreamServer can use special arguments that are not included in the
argument lists. To add these arguments to the argument files, you must add
them as custom arguments:
1. In the Configure Platform Export dialog box, click Edit Custom. The
Custom Arguments dialog box opens.
2. Specify the arguments and click OK.
Reference
“Startup argument reference“ on page 329
Input phase
The input phase starts when an input connector finds data, and ends when the
complete input job is stored in the input queue.
Formatting phase
The formatting phase starts when a job is picked from an input queue for
processing, and ends when the complete input job has been processed, and all
output jobs are successfully stored in the output queues. See “Formatting phase”
on page 69.
Output phase
The output phase starts when all output jobs are stored in the output queues,
and ends when all the output jobs are delivered.
Formatting phase
During the formatting phase, all transformations and formatting is done. All scripts
are also run during this phase. The formatting phase starts when a job is picked from
an input queue for processing, and ends when the complete input job has been
processed, and all output jobs are successfully stored in the output queues.
Conditional formatting using scripts is also applied during this phase. The
formatting phase is separated into three phases:
• Collect phase
• Pre-process phase
• Process phase
Collect phase
In the collect phase, StreamServer analyzes the incoming data, detects
documents (Events), and creates the Messages. Sorting of incoming documents
is also done during the collect phase. When StreamServer analyses the incoming
data, and detects a document, the job begins internally in StreamServer.
StreamServer will now start to scan the input for fields and new documents. All
fields found are stored in a Message associated with the current Event. If a field
is configured to create a variable, this is done at this stage. If a new Event is
found, it will be added to a list of found Events, and any fields found after this
will be associated with the Message for the new Event. This procedure continues
until a list of all Events, with all fields, in the input job is created. The Messages
are stored in sequence in a temporary storage. As the last step in the collect
phase, the stored Messages can be sorted. Sorting is based on the values of the
script variables. To add more logic to sorting, a Retrieved script can be executed
after each Event has been collected. At this stage, the variables for the Event are
already created, and can be updated in the script, which in turn affects the result
of sorting.
Pre-process phase
The pre-process phase starts when the collect phase ends. During the pre-
process phase, all Events and Processes in the input job are executed without
producing any output data. For example, during the pre-process phase, the
number of pages are calculated, page breaks are located, overlays are added, etc.
The pre-processing order is as follows:
1. The first Event is pre-processed, followed by the Processes for this Event.
2. The next Event is pre-processed, followed by the Processes for this Event.
Process phase
The process phase starts when the pre-process phase ends. All information
needed to create the desired output is available during this phase. The Processes
and scripts are run as in the pre-process phase, but now the information
retrieved during the pre-process phase is used to create the output. Before the
process phase starts, all variables are rolled back to the values they had before
the pre-process step – this since all scripts in are run in the pre-process phase.
The same applies to all external data sources the scripts have updated. For
example, databases updated using ODBC script functions.
StreamServer reads Messages stored in the temporary storage one Message at a
time. For each Message, the internal Message structure is recreated in memory,
and then the Processes and scripts are executed. The output is sent from the
Processes, and stored in the output queues.
1. Select the list item of the Process, and click Go to selected item. The Message
view opens with the Process highlighted.
To add an Event
1. Right-click the Message view, select Add Event, and select the Event type. A
new Event is added to the Message view.
To copy an Event
2. Right-click the Message view and select Paste. The Event is pasted to the
Message.
To delete an Event
2. Right-click the Event and select Settings. The Runtime Event Settings dialog
box opens.
3. On the General tab, select a Priority (the higher the number, the lower the
priority).
PageIN example
If input data contains multi-page documents with different page layout, for
example one layout on the first page and another layout on following pages, you
can concatenate Events, i.e. create one PageIN Event for each page type in the
same Message configuration .
Figure 4-1: Input with three different page layouts (page 1, 2, and 3).
The fields defined in the concatenated Events will be appended to the same
Message structure. When all fields are appended to the Message structure, it is
passed on to the Process(es) in the Message.
Patterns
You must use different patterns, or multiple patterns, to specify when to trigger
which Event.
Non-recurring fields
If non-recurring fields are defined in several Events, the StreamServer tries to
add the same field to the Message structure several times.
If all documents in the input contains all page types defined by the concatenated
Events, you should only define non-recurring fields once in all concatenated
Events, and not once per Event.
If there are documents in the input that do not contain all page types, you need
to define non-recurring fields in several Events. For example, if a non-recurring
field normally is defined in the first of the concatenated Events, and the input
document only contains the page type specified by the second Event, this field
must also be defined, with the same name, in the second Event.
Block priority
If you use block priorities to group blocks, you must make sure blocks of the
same type have the same priorities in all concatenated Events.
To concatenate Events
1. Add the Events to the Message view and configure the Events.
3. Click the first Event and select Settings. The Event Settings dialog box opens.
4. On the Event Order tab, select the appropriate option (First, Repeating, or Last).
See “Ordering the concatenated Events”.
First
Output from a First Event starts the Message structure.
If there are no more Events in the Message configuration, or if the following
Event in the Message configuration is also a First Event, the Message structure
only includes output from this Event.
Repeating
Output from a Repeating Event is appended to the Message structure.
Last
Output from a Last Event is appended at the end of the Message structure.
1. Right-click the Message view, select Add Process, and select the Process type. A
new Process is added to the Message view.
To copy a Process
2. Right-click the Message view and select Paste. The Process is pasted to the
Message.
• Right-click the Message view, select Add Process > Existing Process, and
browse to and select the Process. The Process is added to the Message view.
To delete a Process
To define rules
1. Right-click the Process and select Settings. The Runtime Process settings dialog
box opens.
2. On the “Rule tab”, enter the rule.
Result: The Process is run only if the Event contains both patterns
idInvoice1 and idInvoice2.
Rule: $InConnector=Input1
Result: The Process is run only if input comes from the connector Input1.
To enable/disable a Process
1. Right-click the Runtime job and select Add Message. The Add Messages dialog
box opens.
• If you create a static connection, the output is always delivered via the same
output connector. Note that you cannot create static links from a Process to
several connectors.
• If you create a dynamic connection, variables in the processed data
determine which output connector to use.
2. In the Connector Selection Method dialog box, select the appropriate method,
specify the settings, and click OK.
2. In the Connector Selection Method dialog box, select None and click OK.
Multi-channel delivery
You can connect a Process to several output connectors (without using the callproc
script function), and deliver the output from the Process via several channels at the
same time. To do this, you must create a before Process script that includes an array
variable for all connectors to use, and use a script alias to connect the Process to the
connectors.
$channel[0]="connector_1";
$channel[1]="connector_2";
$channel[2]="connector_3";
3. Click OK.
1. In the Runtime configuration view, right-click the Process and select Connector
Selection.
3. In the Variable field, enter the array variable used in the script. For example:
$channel[*]
4. Click OK.
The script
The following script is added before Process:
$channel[0]="Out_1";
$channel[1]="Out_2";
$channel[2]="Out_3";
Connector selection
A script alias is used to select the three connectors. The selection variable is the
array variable $channel[*].
Input queue
You can connect an input queue to the input connector. The input queue stores
input jobs before they are processed by StreamServer.
Connector type
You must specify a connector type for each connector, and configure the settings
for the selected connector type. You can use different connector types and
settings in the physical layers. This means you must specify and configure the
connector type for each physical layer.
4. Optional Activate the generic layer, click the Queue icon and then select the
appropriate Queue.
6. On the Connector Settings tab, select the appropriate Connector type and then
configure the settings. See “Connector reference“ on page 105.
To use the priorities, each connector must be connected to a queue with sorting
enabled. The queue can be a shared queue or a separate queue.
An application has two input connectors that share an input queue with
sorting enabled. Connector A has normal priority and Connector B has high
priority.
Connector A receives the first job (job 1). Connector B receives the second
and third jobs (job 2 and job 3).
In this scenario, the application will retrieve Job 2 first, then job 3, and finally
job 1.
To enable sorting for the queue and set the job priority of the connector
4. In the Queue area, click the queue to configure, and then click the Advanced
tab.
5. Select the Sorted queue check box and then click OK.
6. On the Queue tab, in the Priority list, click the appropriate priority.
To move a connector
You can sort the connectors using drag and drop, sort them in alphabetical order
(ascending or descending), or sort them in the same order as they are organized in
the Platform view.
To move a connector
The Input Analyzer is the component responsible for delivering data to the
appropriate Event type. For example, if an input connector is connected to an
XMLIN Event and a PageIN Event, the Input Analyzer ensures that XML structured
input is delivered to the XMLIN Event, and that page formatted input is delivered to
the PageIN Event.
Figure 5-1: The Input Analyzer directs XML structured input to an XMLIN
Event.
The following steps describe how the Input Analyzer finds a matching Event:
2. The Input Analyzer checks the input type list associated with the input
connector.
3. The Input Analyzer starts with the first input type in the list, and sends the
data to the corresponding Event.
4. The Event tries to identify the input data to see if it is the right input type.
• If it is the right input type, the Input Analyzer is notified, and the Event
starts processing the data.
• If it is not the right input type, the Input Analyzer is notified and
continues with the next input type in the list.
5. The Input Analyzer continues through the input type list until it finds a
matching Event.
• FieldIN (StreamIN)
• RecordIN (StreamIN)
• MessageIN
• XMLIN
• PageIN
This means that if you link an Event using any of these input types, you cannot
link any other type of Event to the same input connector.
Device driver
If the output connector delivers page formatted output to the target application,
you must add the appropriate device driver to the output connector. For
example, if the target application is a PCL printer, you must add the appropriate
PCL device driver to the output connector.
Output queue
You can connect an output queue to the output connector. The output queue
stores the output jobs before they are delivered to the target application.
Output mode
You must specify the appropriate output mode. See “Output modes”
on page 98 for more information about output mode.
Connector type
You must specify a connector type for each connector, and configure the settings
for the selected connector type. You can use different connector types (of the
same category) and settings in the physical layers. This means you must specify
and configure the connector type for each physical layer.
1. Right-click the Platform view and select New Output Connector > <category>.
4. Optional Click the Driver icon, select a Device and edit the settings.
5. Optional Click the Queue icon and select the appropriate Queue.
6. Click the Output mode icon and specify the output mode.
8. On the Connector Settings tab, select the appropriate Connector type and
configure the settings. See “Connector reference“ on page 105.
To copy a connector
5. On the Device Driver Settings tab, edit the device driver options.
You configure the connector settings at either Process Begin, Document End, or Job
End. The option to use depends on the output mode specified for the connector.
1. Activate the appropriate physical layer and double-click the output connector.
To use the priorities, each connector must be connected to a queue with sorting
enabled. The queue can be a shared queue or a separate queue.
An application has two output connectors that share an output queue with
sorting enabled. Connector A has normal priority and Connector B has high
priority.
Connector A receives the first job (job 1). Connector B receives the second
and third jobs (job 2 and job 3).
In this scenario, the application will deliver Job 2 first, then job 3, and finally
job 1.
To enable sorting for the queue and set the job priority of the connector
4. In the Queue area, click the queue to configure, and then click the Advanced
tab.
5. Select the Sorted queue check box and then click OK.
6. On the Queue tab, in the Priority list, click the appropriate priority.
To move a connector
You can sort the connectors using drag and drop, sort them in alphabetical order
(ascending or descending), or sort them in the same order as they are organized in
the Platform view.
To move a connector
Which output mode to use depends on the type of output and target application.
The default output mode Process can be used in different types of scenarios. In other
scenarios you may have to use output mode Document or Job.
Both Processes deliver output via the same fax output connector. If you select
output mode Document, the hardware and software invoice are grouped per
customer before they are faxed. This means each customer will receive one fax.
Document trigger
A Document trigger is a variable that determines the scope of the Document. For
example, if you assign the variable $customerNumber to the Event field
customerNumber, you can use $customerNumber as Document trigger. In this case,
all documents with the same customer number in the input job are included in the
same Document.
Job scenario
In this scenario, you have a Runtime job that contains one Process that prints
invoices to an AFP file via a File output connector. The AFP file is used for
production printing, and all invoices in the Runtime job should be printed to the
same AFP file. To achieve this, you must select output mode Job.
1. In the Runtime configuration view, activate the generic layer and then double-
click the connector.
2. Double-click the job for which you want to define the Document.
3. Click the Document Trigger icon and enter the Document trigger variable.
Exception rules use the Communications Center script syntax to set up conditions
that specify when to pause a job in the output connector. The conditions are
evaluated as either true or false, and can be based on variables or on property values
retrieved with the metadata script functions (see section 19 “Metadata functions” in
OpenText Communications Center Enterprise - Scripting Reference Guide (CCMPRJ-
RSC)).
In this example, an exception rule pauses the jobs with a total order value
greater than 5000 dollars. The jobs that are paused can then be released in
Supervisor. Jobs with a total order value less than 5000 dollars are delivered
without being paused.
In the resource set, a new rule resource called Pause Large Orders is
created.
getMetadataMessage("5fb1c989-ae0b-4c98-8a15-c592af6db25c",
$totalOrderValue);
return "true";
Tip: If you update a rule function in an already deployed Project, the updated
function is used the next time the exception rule is evaluated.
4. Click OK.
• Timeout
The time (seconds) to wait for a result. Timeout = 0 means wait forever.
<java_class_name>.i
Definition of input connector settings.
<java_class_name>.o
Definition of output connector platform settings.
<java_class_name>.or
Definition of output connector runtime settings.
The zip archive must also include a lib folder with all required *.jar and *.class
files.
1. Create a Generic output connector and select Connector type > Java.
2. In the Java class field, click ... and select your java class.
• Device path
The file path to the FIFO. For example:
./fifos/My_Fifo
• Schedule
Opens the Scheduler Configuration dialog where you specify when and how
often to scan the FIFO. See “Scheduling” on page 66for more information about
scheduling.
• Time-out
Specifies a time-out (seconds) for the connector. StreamServer uses job-end
sequences in the input data to determine when all data in an input job is
received. If there are no job-end sequences in the input data, StreamServer will
not know when to stop waiting for more input. To prevent this from happening,
you can define a time-out for the input connector.
Comments
Several connectors can scan the same directory for input. The connectors can
belong to different StreamServer instances running on the same machine or on
different machines. The Directory connector that first finds a match moves the
file to a temporary directory. The reason is to prevent the file from being
processed more than once. After the file is moved it is opened and processed.
A temporary directory streamserve_proc is automatically created under the
scanned directory. The default behavior is to move the files to this directory. If
StreamServer scans a directory located on a remote machine, it is safer to move
the files to the tmp directory of the StreamServer application (normally export/
tmp). The reason is that if the network goes down, StreamServer may also go
down if the file is not stored locally.
Connector settings
• Folder
The folder to scan for input. Use an absolute path, or a path relative to the
working directory of the StreamServer application. Two sub directories
(streamserve_lock and streamserve_proc) are created when you run the
Project. These directories ensure that a file is processed only once. These
directories should not be tampered with.
• File name pattern
The match criterion for the files to retrieve. For example, to match all *.txt files
you can use the following pattern:
*.txt
• Interval for file size check
This interval specifies how frequently to check the file size. The file is not moved
to the temporary directory immediately after it is found. First the file size is
checked, and the file is moved only if the file size remains the same after this
time interval. If the file size has changed, the connector waits for yet another
interval to pass before it tries to move the file. This prevents the connector from
moving the file before it is completed.
• Sort by
StreamServer generates a list of all the files found in the scanned directory, and
uses this list to find files that match File name pattern above. You can sort this
list by:
• Name
• Date and time
• File extension
• File size
If enabled, files are deleted from the scanned folder after they are retrieved by
StreamServer. This ensures that an input file is not processed more than once.
If disabled, StreamServer will retrieve the files over and over again, using the
polling interval specified (see Schedule below). This can be used, for example, to
scan a database for changes once per polling interval.
• Use spool directory as temporary storage
Select to use streamserve_proc as the temporary directory for the retrieved
files. If the scanned directory is located on a remote machine, it is safer to use the
tmp directory of the StreamServer application (normally export/tmp). In this
case you should not select this option.
• Synchronize scanning
Select to enable synchronized scanning for the connector. The connector runs
single-threaded and retrieves files one by one from the input folder.
If you do not select this option, the connector scans the input folder
asynchronously. The connector runs multi-threaded and retrieves several files in
parallel.
• Schedule
Opens the Scheduler Configuration dialog where you specify when and how
often to scan the directory. See “Scheduling” on page 66 for more information
about scheduling.
• Fax
• Text message (SMS)
• Email
5. Optionally, set up status reporting for EasyLink jobs. See “EasyLink job status
reporting” on page 124.
Performance considerations
Sending emails, SMS, or faxes to EasyLink in batches typically improves the
performance of the EasyLink delivery services. Batches of 10 are recommended
in most cases, however you should consider the average size of each fax, email,
or SMS. Sending too many emails, SMS, or faxes in one batch will mostly likely
have negative impact on performance. For example, sending one batch that
contains 20 emails that are 5 MB each may cause a network time-out or mean
additional overhead for EasyLink to process the batch.
When a batch setting of 0 is used, all the invoices are sent in one batch to
EasyLink. Use this option with care.
Batch settings
You specify the number of emails, SMS, or faxes sent in each batch when you set up
the connector (Batch size box in the Platform Connector Settings). For descriptions of
the connector settings, see the following sections:
• “EasyLink Email output connector” on page 115
• “EasyLink Fax output connector” on page 121
• “EasyLink SMS output connector” on page 122
1. Obtain a public key certificate from EasyLink. See “Getting a certificate from
EasyLink” on page 112.
2. Add the certificate to a Java KeyStore. See “Importing the certificate to a Java
KeyStore” on page 113.
3. In the resource set in Design Center, import the KeyStore file and set up a
certificate store profile resource for the certificate. See “Importing the KeyStore
file and creating a Certificate store profile resource” on page 113.
4. In the resource set, set up a secure channel profile resource. See “Creating a
Secure channel profile resource” on page 113.
The procedures for downloading certificates differ for each web browser. For
information, see the documentation for your Web Browser.
This section describes one method of using Internet Explorer 9.0.13 to export a
certificate from EasyLink.
1. Browse to https://messaging.easylink.com/
2. In the right side of the Address bar, click Security Report (lock) icon.
4. Click Add and then browse to and select the EasyLink certificate resource.
3. On the Channel type list, click SSL (version 3) or TSL (version 1).
4. On the Certificate store profile list, click the certificate store profile you created
in the previous step.
Next step
• Create an EasyLink web service profile that uses HTTPS communication. See
“Setting up a web service connection profile for EasyLink” on page 114.
6. On the Authentication profile list, click <Create new...>, and enter your
EasyLink user name and password.
7. On the Secure channel profile list, click the secure channel profile you set up
previously. For information about setting this up, see “Obtaining and adding a
certificate to the resource set” on page 112
Note: You cannot add watermarks to emails sent via the EasyLink email
output connector.
Attachments
You can use the Attachment output connector together with the EasyLink
output connector to add attachments to emails. See “Adding attachments to
emails” on page 119.
Click and select the web service profile. For information about setting up a
web service profile, see “Creating a connection profile for EasyLink” on page 112.
• Email Type
• Point To Point - Select to send emails point-to-point. With this option you
specify email addresses to each recipient.
The name displayed in the From field of the emails. You can use a variable in the
runtime connector settings.
• Subject
The email subject. You can use a variable in the runtime connector settings.
• Customer Reference
Your customer reference with EasyLink. You can use a variable in the runtime
connector settings.
• Billing Code
The EasyLink billing code. You can use a variable in the runtime connector
settings.
When running the EasyLink Email connector in Broadcast mode (Email Type >
Broadcast), StreamServer can broadcast the same email content to multiple
recipients specified in a destinations table. The destinations table can contain
personalized information, and this information can be included in the emails in
order to do simple personalization of the email content (variable replacement) on
Easylink side. In Broadcast mode, only one email is sent to the EasyLink service, and
this email is broadcast to all recipients specified in the destinations table.
Destinations table
The destinations table contains one row for each recipient, and each row
contains a number of tab separated information items. The destinations table can
be a fixed table resource that you reference as Destinations value in the
connector settings, and it can also be generated dynamically by scripts at
runtime. When using a dynamic destinations table you must use a variable as
Destinations value in the runtime connector settings.
The items in a row must come in the following order:
1. The reference number of the recipient, for example 0003.
2. The email address.
3. Any other items used for personalization.
• The email body (HTML). This is the output from the Process and the driver
assigned to the connector, for example a Template Engine Process with no
driver, or a StoryTeller Process with an HTML unpaginated driver.
• The information defined in the destinations table. This information is
automatically added to separate sections in the SOAP envelope.
<Internet ref="001">
<InsertList>
<Insert number="1">Joe Boe</Insert>
<Insert number="2">Kingston</Insert>
<Insert number="3">Jamaica</Insert>
</InsertList>
<Email>joeboe@example.com</Email>
</Internet>
Personalization
All items in the insert list in the SOAP envelope can be used to personalize the
content of the email body.
When you configure the Process that generates the email body you can add
placeholders for the items in the insert list. A placeholder has the format (I<n>),
where <n> is the value of the number attribute in the insert list. For example, use
the placeholder (I2) to reference the value of the element <Insert
number="2"> in the insert list.
Note: The first two items in the destinations table (reference number and
email address) are not part of the insert list. This means the placeholder
(I1) corresponds to the third item in the destinations table. If you, for
example, want to have the email address in the insert list, you must create
a new item for the email address in the destinations table.
To create the attachment you connect the Process to an Attachment connector. In the
Attachment connector, you specify which driver to use for the attachment (e.g. PDF)
and the name of the attachment. You can also specify the name of the attachment by
using the “MIMESetPartProperty” script function.
All output from Processes that are connected to the Attachment connector and
run before the Process connected to the EasyLink email connector are
automatically added to the email.
There are no physical layer settings for the Attachment connector. The generic layer
settings are the same as for other output connectors with two exceptions:
1. Right-click the Platform view and select New Output Connector > Attachment.
A new Attachment connector is added.
2. Rename the connector and open the Output Connector Settings dialog box
(generic layer).
4. Click the Attachment icon and enter a Name for the attachment.
• Auto – the content type is derived from the driver used by the Attachment
connector.
• Predefined – select the content type from the Predefined content type drop-
down list.
• Custom – enter a custom content type in the Custom content type field.
6. Click OK.
Script functions
Prerequisites
• You must use the PDF driver with the EasyLink Fax output connector.
• The EasyLink connectors support the UTF-8 code page.
Click and select the web service profile. For information about setting up a
web service profile, see “Creating a connection profile for EasyLink” on page 112.
• External Job Completion
• True – StreamServer applications wait for a job completion notification from
EasyLink before marking the top job as completed.
• False – StreamServer applications mark the job as completed after the
Communications Center job is successfully delivered from the output
connector.
Note: External job completion cannot be used if batches of message are sent
to EasyLink. When these settings are used together, unexpected results are
returned.
• Batch size
The number of faxes the connector groups into a batch to send to EasyLink. The
connector only sends batches in scenarios where a single input job generates
many faxes. If an input job generates an incomplete batch, the batch is sent at job
end.
Setting this to 0 means that the batch size is unlimited and the connector groups
all the messages in an input job into one batch. Unlimited batch sizes should be
used with care.
For more information about how messages are grouped into batches and
performance considerations, see “Batch sending of messages” on page 110.
The phone number of the recipient. You can use a variable in the runtime
connector settings.
Specify the phone number using the following format:
+<country_code><phone_number>
For example:
+46704117011
You can specify multiple phone numbers by separating them with a semicolon.
For example: +46704117011; +46704117011
• Customer Reference
Your customer reference with EasyLink. You can use a variable in the runtime
connector settings.
• Billing Code
The EasyLink billing code. You can use a variable in the runtime connector
settings.
Click and select the web service profile. For information about setting up a
web service profile, see “Creating a connection profile for EasyLink” on page 112.
• Maximum Characters
The maximum number of characters that can be sent in the SMS. The maximum
number of characters you can send depends on the language of the SMS and the
Note: External job completion cannot be used if batches of message are sent
to EasyLink. When these settings are used together, unexpected results are
returned.
• Batch size
The number of SMS messages the connector groups into a batch to send to
EasyLink. The connector only sends batches in scenarios where a single input job
generates many messages. If an input job generates an incomplete batch, the
batch is sent at job end.
Setting this to 0 means that the batch size is unlimited and the connector groups
all the messages in an input job into one batch. Unlimited batch sizes should be
used with care.
For more information about how messages are grouped into batches and
performance considerations, see “Batch sending of messages” on page 110.
Steps overview
Follow these steps to set up status reports for EasyLink jobs or update the top
job status with the EasyLink job status:
• In Control Center, set up a connection to the EasyLink reporting service. Link
the connection profile to the domain where you will create the Task
Scheduler. See “Setting up a connection to the EasyLink reporting service”
on page 124.
• Set up a Task Scheduler application. See “Creating a Task Scheduler to
retrieve the EasyLink reports” on page 125.
• (Optional) If you want to update the Communications Center top job status
with the EasyLink job status, enable External Job Completion for the
EasyLink output connector. See “Enabling EasyLink to update the top job
status” on page 125.
• (Optional) If you want to generate custom actions or format the reports, set
up a StreamServer application with a Service Request input connector,
MessageIN Event, and an appropriate Process. See “Setting up a Project to
the format the reports or generate custom actions” on page 126.
1. In Control Center, from the Repositoriesnode, create a new repository with the
type EasyLink Reports.
2. Enter the URL for EasyLink and specify the recovery actions. The URL for the
EasyLink reporting service is the same as the URL for the web service profile
used by the connectors. For descriptions of the parameters, see “EasyLink Web
service profile property descriptions” on page 114.
3. Create a new Authentication profile for your EasyLink user name and
password.
4. Create a new Secure channel profile.
5. In the Secure Channel profile, create a new Certificate store profile, add a new
trusted authorities certificate and import the certificate file.
6. Link the EasyLink repository to the domain with the Task Scheduler.
Note: Only one Service Request input connector (or service) can be used for
each EasyLink account.
1. Add a Service Request input connector to your Project. In the Request type list,
click Notification.
2. In the Service name box, enter the Service name you entered in the Task
Scheduler.
3. Add the EasyLinkNotification SXD file to the resource set. This file is found
in the OpenText Communications Center installation directory.
6. Set up an appropriate Process and output connector to format and deliver the
reports or generate custom actions based on the reports.
• Mailbox type
The type of mailbox on the mail server.
• Port
The port StreamServer will use to communicate with the mail server.
• Mail folder
The mail folder to scan for input. Leave this empty if you want to select the
Inbox.
• Mail server
The mail server IP address or host name.
• User name
A user name for accessing the mailbox. If several StreamServer instances retrieve
input from the same mail server, each instance must use a unique user name.
• Password
A password for accessing the mailbox.
• Read email body text
Select to enable processing of the email body. You can disable this option if you
only want to process email attachments.
• Retrieve email
• Retrieve all – Retrieve all emails in the mailbox.
• Advanced – Use the filter parameters below to specify which emails to
retrieve. You can use wildcards.
• From – Retrieve emails with specific From addresses.
• To – Retrieve emails with specific To addresses.
• Cc – Retrieve emails with specific Cc addresses.
• Date – Use a time frame to specify which emails to retrieve. The time
frame corresponds to the date and time the email was received. Use YYYY-
MM-DD as format.
• Subject – Retrieve emails with specific subjects.
• Reply to – Retrieve emails with specific Reply to addresses.
• Request encryption – Select to reject unencrypted emails.
• Request signature – Select to reject unsigned emails.
• Read attachment
Specifies which attachments to process.
• Delete mail
• No – Do not delete emails.
• Save attachment
Select to save attachments to disk. The attachment files saved to disk will be
given new unique names. The reason for this is to prevent files from being
overwritten. You must use the following scripting functions where you map the
original file names to the corresponding names of the files saved to disk:
• “GetAttachmentFile”
• “GetAttachmentOriginalFile”
• “GetAttachmentCount”
$i=1;
$count = GetAttachmentCount();
while(num($i)<=num($count))
{
$original = GetAttachmentOriginalFile(num($i));
if($original = "streamserve.gif")
{
$file = GetAttachmentFile(num($i));
}
$i++;
}
Attachments saved to disk are not removed automatically. One way to delete the
attachments is to call an After Event script using the “FileDelete” scripting
function.
• Attachment directory
The directory where to save the attachments.
• Schedule
Opens the Scheduler Configuration dialog where you specify when and how
often to try to retrieve emails. See “Scheduling” on page 66 for more information
about scheduling.
• Ignore email content
Select to ignore the email body and attachments. You can use this option to
trigger an Event when an email is received, but not process any information in
the email. In this case, you must use an all matching pattern in the Event (e.g.
“?”).
For example, use this option in "auto reply Projects", and use the
“GetConnectorValue” script function to retrieve the appropriate email attributes
(From, Reply To, etc.).
To retrieve content type and encoding of attachments you can use the following
scripting functions.
• “GetAttachmentContentEncoding”
• “GetAttachmentContentType”
EmailIN attributes
You can use the scripting function “GetConnectorValue” to fetch EmailIN attributes.
• From
GetConnectorValue("From")
• To
GetConnectorValue("To")
• Cc
GetConnectorValue("Cc")
• Reply To
GetConnectorValue("Reply To")
• Subject
GetConnectorValue("Subject")
• Date
GetConnectorValue("Date")
• Body encoding
GetConnectorValue("Encoding")
• Body type
GetConnectorValue("Type")
• Attachment encoding
GetConnectorValue("AttEncoding<n>")
GetConnectorValue("AttType<n>")
GetConnectorValue("AttCount")
Returns the number of attachments in the current email that have been saved to
disk.
Note: If you create new Design Center Projects you should use the new
SMTP (MIME) connector.
MAPI connector
The MAPI connector is used to attach output from a Process to a MAPI email.
The output is retrieved from the Process connected to the MAPI connector, and
attached to the email delivered via the same connector. See “Using a MAPI
output connector” on page 144.
Email body
You can use rich HTML formatting in the email body. You can create a static
email body or use an attachment as email body. The attachment can either be a
file stored on disk or HTML output from a StoryTeller or Template Engine
Process.
Certificate store
A certificate store is used to sign and encrypt emails. The certificate store is a
resource that includes all certificates needed to sign and encrypt emails.
Zipping attachments
You can zip all attachments into a single zip archive, and add the zip-archive as
attachment to the email.
1. Connect to the mail server. See “Connecting to the SMTP mail server”
on page 132.
1. Right-click the Platform view and select New Output Connector > Generic.
2. Double-click the connector. The Output Connector Settings dialog box opens.
value for TCP/IP profile. See “TCP/IP profiles” on page 404 for information
about how to create TCP/IP profiles.
The only mandatory setting for the TCP/IP profile is the host. If you need to use
another port number than 25 you must also specify the port number in the TCP/
IP profile.
• Authentication profile
Use Authentication profile to specify the logon credentials to the mail server.
The logon credentials are specified in an Authentication profile resource. You
must first create the Authentication profile resource, and then browse to and
select this resource as value for Authentication profile. See “Authentication
profiles” on page 407 for information about how to create Authentication
profiles.
• Alternate TCP/IP profile
Use Alternate TCP/IP profile to specify the connection settings to an alternate
mail server. The connection settings are specified in a TCP/IP profile resource.
You must first create the TCP/IP profile resource, and then browse to and select
this resource as value for Alternate TCP/IP profile. See “TCP/IP profiles”
on page 404 for information about how to create TCP/IP profiles.
• Domain name
Use Domain name to specify the domain of the StreamServer application that
creates the email. A mail server is normally configured to serve a specific
domain, and Domain name must be a name accepted by the mail server.
• Certificate store profile
Use Certificate store profile to specify which certificates and private keys to use
to sign and encrypt emails. Certificates and private keys are specified in a
Certificate store profile resource. You must first create the Certificate store profile
resource, and then browse to and select this resource as value for Certificate
store profile. See “Certificate store profiles” on page 408 for information about
how to create Certificate store profiles.
• Sign
If you want to sign the emails, you must select a Certificate store and select Sign.
• Encrypt
If you want to encrypt the emails, you must select a Certificate store and select
Encrypt.
• DSN On Failure
You can specify how much of the original message to return in case of a delivery
failure.
C:\storedEmails\$custno.mht
The email, including all attachments attached to the email, is stored as a MIME
envelope in the save path specified. You can use this functionality to, for
example, store emails to disk and then archive the emails using the appropriate
tool.
If you select Body, Alternative Body or Attachment you must select the
appropriate Output MIME type option for the output:
• Autoselect – the MIME type is derived from the driver used by the SMTP
(MIME) connector.
• Predefined – Select the MIME type from the Predefined MIME Type drop-
down list.
• Custom – Enter a custom MIME type in the Custom MIME Type field.
If you select to attach the output to the email you must also specify an
Attachment name and optionally to Compress the attachment.
You can create a static body definition to be used as body or alternative body:
1. Click Edit static body definition. The Static email body editor opens.
2. Edit the body and click OK.
Use Use static body definition as to specify how to use the static body definition:
• Output mode Process - The email is sent when the Process that invokes the
SMTP (MIME) connector is completed. Any attachment intended for the current
email must be created before that time, i.e. all attachments from other Processes
must be run before the SMTP (MIME) connector Process is run.
• Output mode Document - The email is sent when the document ends, i.e. the
document containing the Process that invoked the SMTP (MIME) connector. Any
attachment intended for the current email must belong to a Process run before
the SMTP (MIME) connector Process, or after the SMTP (MIME) connector
Process but before the document trigger changes value.
• Output mode Job - Any attachment from Processes within the same job as the
SMTP (MIME) connector Process can be attached to the email.
To add an attachment
1. In the email editor, click . The Mail Attachment dialog box opens.
2. From the Attachment type drop-down list, select Output from attachment
connector.
4. From the Use attachment as drop-down list, select how to use the attachment:
6. Select the Attachment connector from which to retrieve the attachment and
click OK.
When you specify the Attachment path you can either specify the path to a file on
disk, a URI to an Open Text Media Management (OTMM) asset or a URI to a
resource stored in the repository via a Resource filter or Resource output connector.
To be able access OTMM assets you must first create a Media Management
connection profile (see “Media Management connection profiles” on page 406).
When you have the connection profile you can reference an asset using the following
syntax:
otmm://<profileName>/<reference>
To attach a resource
1. In the email editor, click . The Mail Attachment dialog box opens.
4. From the Use attachment as drop-down list, select how to use the attachment:
• Predefined – Select the content type from the Predefined type drop-down
list.
• Custom – Enter a custom content type in the Custom type field.
8. Use Convert PCL to PDF if you need to convert PCL files to PDF attachments.
To zip attachments
2. In Zip-archive name, enter the name of the zip file to attach to the email.
To create the attachment you connect the Process to an Attachment connector. In the
Attachment connector you specify which driver to use for the attachment (e.g. PDF),
and the name and content type of the attachment. All Attachment connectors in a
Design Center Project are available from a drop-down list in all SMTP (MIME)
connectors in the same Design Center Project.
There are no physical layer settings for the Attachment connector. The generic layer
settings are the same as for other output connectors with two exceptions:
• Queueing is not applicable.
• A section for attachment settings is added.
1. Right-click the Platform view and select New Output Connector > Attachment.
A new Attachment connector is added.
2. Rename the connector and open the Output Connector Settings dialog box
(generic layer).
4. Click the Attachment icon and enter a Name for the attachment.
• Auto – the content type is derived from the driver used by the Attachment
connector.
• Predefined – select the content type from the Predefined content type drop-
down list.
• Custom – enter a custom content type in the Custom content type field.
6. Click OK.
You use the following startup arguments to configure the connection pool:
• “-smtppoolsizemin”
• “-smtppoolsizemax”
• “-smtppooltempdisable”
Note: This connector is only used in upgraded Design Center Projects where
the old version of the Project included SMTP (MIME) connectors. If you create
new Design Center Projects you should use the new SMTP (MIME) connector.
See “Using an SMTP (MIME) output connector” on page 131.
Email body
You create the email body in a body editor. You can use plain text or HTML in
the email body.
Attaching files on disk to the email
You can attach files on disk (static attachments) to the email.
Scripting functions for attachments
You can use the scripting functions “AttachmentBegin” and “AttachmentEnd”
to handle attachments.
1. Connect to the mail server. See “Connecting to the SMTP mail server”
on page 141.
2. Configure runtime settings for the connector. See “Configuring runtime
settings” on page 142.
3. Edit the email. See “Editing the email” on page 142.
1. Right-click the Platform view and select New Output Connector > Generic.
2. Double-click the connector. The Output Connector Settings dialog box opens.
3. In the physical layer, select Connector type > SMTP (MIME) (Legacy).
• Default – Quoted Printable for subject and body. Base64 for attachments.
• None – No encoding for the subject. The maximum number of characters in
the subject is 65. No encoding for the body. Base64 for attachments.
• Quoted Printable – Quoted Printable for subject, body, and attachments.
• Base64 – Base64 for subject, body, and attachments.
• S/MIME Sign
Use S/MIME Sign to enable/disable signing of emails. Use static value or
variable to enable (value=1) or disable (value=0).
• S/MIME Encrypt
Use S/MIME Encrypt to enable/disable encryption of emails. Use static value or
variable to enable (value=1) or disable (value=0).
• Attachment name
Use Attachment name to specify the name of the Process attachment.
• Output MIME type
Use Output MIME type to specify the MIME type for the Process attachment:
• Autoselect – the MIME type is derived from the driver used by the SMTP
(MIME) (Legacy) connector.
• Predefined – Select the MIME type from the Predefined MIME Type drop-
down list.
• Custom – Enter a custom MIME type in the Custom MIME Type field.
• Address and subject
• Use From, To, Cc and Bcc to specify From, To, Cc and Bcc addresses.
• Use Subject to specify the email subject.
• Use Display name to specify a display name. The From address is replaced
by this name when the email is delivered to the recipient. This functionality
must be supported by the email client.
• Use Reply to to specify an address to be used by the email recipient instead of
the From address when responding to an email.
• Use Request receipt to request a delivery receipt. A notification is received
when the email is delivered. This functionality must be supported by the
email servers and clients.
1. Click Edit static body definition. The Static email body editor opens.
To add an attachment
1. In the email editor, click . The Mail Attachment dialog box opens.
• Predefined – Select the content type from the Predefined type drop-down
list.
• Custom – Enter a custom content type in the Custom type field.
Email body
You create the email body in a body editor. You can use plain text or HTML in
the email body.
Logon options
In Control Center, the logon options for the StreamServer application must not
be set to System account. Use the logon option This account and specify an
account with permissions to use the Windows Messaging Profile specified for
the MAPI for MailOUT connector. To change the logon options, right-click the
StreamServer application in Control Center and select Service Startup.
1. Connect to the mail server. See “Connecting to the MAPI mail server”
on page 145.
1. Right-click the Platform view and select New Output Connector > Generic.
2. Double-click the connector. The Output Connector Settings dialog box opens.
• Default – Quoted Printable for subject and body. Base64 for attachments.
• None – No encoding for the subject. The maximum number of characters in
the subject is 65. No encoding for the body. Base64 for attachments.
• Quoted Printable – Quoted Printable for subject, body, and attachments.
• Base64 – Base64 for subject, body, and attachments.
• Profile name
Use Profile name to specify which Windows Messaging Profile to use:
• Use default Profile of connector – Use the profile specified in the Platform
configuration of the connector.
• Static profile – Use an alternative static profile.
• Variable profile – Use a variable to determine the alternative profile.
• Lookup profile – Use a lookup table to determine the alternative profile.
1. Click Edit static body definition. The Static email body editor opens.
To add an attachment
1. In the email editor, click . The Mail Attachment dialog box opens.
There are no physical layer settings for the Attachment connector. The generic layer
settings are the same as for other output connectors, but with two exceptions:
• Queueing is not applicable.
• A section for attachment settings is added.
Attachment settings
• Name
The name of the attachment.
• Attachment content type
The content type of the attachment:
• Auto – the content type is derived from the driver used by the Attachment
connector.
• Predefined – select the content type from the Predefined content type drop-
down list.
• Custom – enter a custom content type in the Custom content type field.
Platform settings
• TCP/IP profile
The TCP/IP profile resource that contains the connection settings to the mail
server. See “TCP/IP profiles” on page 404 for information about how to create
TCP/IP profiles.
The only mandatory setting for the TCP/IP profile is the host. If you need to use
another port number than 25 you must also specify the port number in the TCP/
IP profile.
• Authentication profile
The Authentication profile resource that contains the logon credentials to the
mail server. See “Authentication profiles” on page 407 for information about
how to create authentication profiles.
• Alternate TCP/IP profile
The TCP/IP profile resource that contains the connection settings to an alternate
mail server. Used if the first mail server does not respond.
• Domain name
The domain of the StreamServer application that creates the email. A mail server
is normally configured to serve a specific domain, and the Domain name must be
a name accepted by the mail server. For example:
opentext.com
• Certificate store profile
The Certificate store profile resource that contains the certificates and private
keys used to sign and encrypt emails. See “Certificate store profiles” on page 408
for information about how to create Certificate store profiles.
• Sign
Select to sign emails.
• Encrypt
Select to encrypt emails.
• DSN On Failure
Delivery status notification on failure. Specifies how much of the original
message to return in case of a delivery failure.
• Headers Only - Select to only return the headers.
• Full Context - Select to include the complete message in the error message.
Runtime settings
• Edit Mail
Opens the email editor. See Edit mail settings on page 149.
• Code page
The code page for the email.
• MIME encoding
The MIME encoding for subject, body, and attachments.
• Default – Quoted Printable for subject and body. Base64 for attachments.
• None – No encoding for the subject. The maximum number of characters in
the subject is 65. No encoding for the body. Base64 for attachments.
• Quoted Printable – Quoted Printable for subject, body, and attachments.
C:\storedEmails\$custno.mht
• Autoselect – the MIME type is derived from the driver used by the SMTP
(MIME) connector.
• Predefined – select the MIME type from the Predefined MIME Type drop-
down list.
• Custom – enter a custom MIME type in the Custom MIME Type field.
• Use static body definition as
Specifies how to use static body definition:
• Body – use as email body.
• Alternative body – use as alternative email body.
• Not used – do not use a static body.
• From
Standard email attribute.
• Display name
The display name. The From address is replaced by this name when the email is
delivered to the recipient. This functionality must be supported by the email
client.
• Reply to
The address to reply to. Used by the email recipient instead of the From address
when responding to an email.
• To
Standard email attribute.
• Cc
Standard email attribute.
• Bcc
Standard email attribute.
• Subject
Standard email attribute.
• Request receipt
Select to request a delivery receipt. A notification is received when the email is
delivered. This functionality must be supported by the email servers and clients.
• Edit static body definition
Opens the Static email body editor where you can create a static email body.
• Attachments
Attachment to the email. Use the Add/Edit/Delete buttons to add, edit or delete
attachments. See Mail Attachment dialog box on page 151 for information on
how to add or edit attachments.
In the static email body editor you edit the static body text. You can use the editor in
Plain Text or HTML mode. In HTML mode you can define the following for selected
text fragments:
• Font type
• Font size
• Font weight
• Italic
• Underline
• Text color
• Alignment
C:\att\gold.pdf
otmm://otmm-gbg/?id=6708ba967b9b4dbd94f01fd6457a781c3e98e173
resource:/?name=offer
• Content Type
The content type of the attachment:
• Predefined – select the content type from the Predefined type drop-down
list.
• Custom – enter a custom content type in the Custom type field.
• Convert PCL to PDF
Select to convert a PCL attachment to PDF.
• Compress
Select to compress the attachment.
Note: This connector is only used in upgraded Design Center Projects where
the old version of the Project included SMTP (MIME) connectors. If you create
new Design Center Projects you should use the new SMTP (MIME) connector.
Platform settings
• Mail server
The IP address or host name of the mail server.
• Mail server user name
A user name to access the mail server.
• Mail server password
A password to access the mail server.
• Show password
When enabled (checked), Mail server password is displayed in plain text in the
output connector dialog box. When disabled, each character in Mail server
password is displayed as an asterisk (*). Note that this setting only affects how
the password is displayed in the GUI.
• Alternate mail server
The TCP/IP profile resource that contains the connection settings to an alternate
mail server. Used if the Mail server does not respond.
• Domain name
The domain of the StreamServer application that creates the email. A mail server
is normally configured to serve a specific domain, and the Domain name must be
a name accepted by the mail server. For example:
opentext.com
• Number of retries
The number of times to try to reconnect if the mail server does not respond.
• Retry interval
The interval (seconds) between the retries.
• Sign
Select to sign emails (S/MIME). You must have created a security configuration
for this purpose. See “About encryption and authentication“ on page 711.
• Encrypt
Encrypt emails (S/MIME). You must have created a security configuration for
this purpose. See “About encryption and authentication“ on page 711.
Runtime settings
• Edit Mail
Opens the email editor. See Edit mail settings on page 154.
• Ignore missing attachments
Specifies whether to send an email if an attachment is missing. This applies to all
attachments – the Process output as well as static attachments.
• If enabled, StreamServer tries to send the email even if an attachment cannot
be found.
• If disabled, the job will fail if an attachment cannot be found.
• Code page
The code page for the email.
• MIME encoding
The MIME encoding for subject, body, and attachments.
• Default – Quoted Printable for subject and body. Base64 for attachments.
In the static email body editor you edit the static body text. You can use the editor in
Plain Text or HTML mode. In HTML mode you can define the following for selected
text fragments:
• Font type
• Font size
• Font weight
• Italic
• Underline
• Text color
• Alignment
Platform settings
• Default profile
Specifies the default Windows Messaging Profile.
A Windows Messaging Profile identifies a specific user and the mail server. To
find the profiles available, open the Mail setup dialog box from the Control Panel
and click Show Profiles.
The email address that will be used is the address specified as the From address
in the user's profile. To be able to use alternative From addresses, you must set
up a profile for each address. You do this in the runtime configuration of the
connector.
• Number of retries
The number of times to try to reconnect if the mail server does not respond.
• Retry interval
The interval (seconds) between the retries.
Runtime settings
• Edit Mail
Opens the email editor. See Edit mail settings on page 157.
• Ignore missing attachments
Specifies whether to send an email if an attachment is missing. This applies to all
attachments – the Process output as well as static attachments.
• If enabled, StreamServer tries to send the email even if an attachment cannot
be found.
buttons to add, edit or delete attachments. See Mail Attachment dialog box
on page 158.
In the static email body editor you edit the static body text. You can use the editor in
Plain Text or HTML mode. In HTML mode you can define the following for selected
text fragments:
• Font type
• Font size
• Font weight
• Italic
• Underline
• Text color
• Alignment
• Printer
The fax device. Used with the type Spool.
• Directory
The output directory from which the fax device retrieves the output. Used with
the type File.
Runtime settings
• Fax Number
The fax number.
• Priority
The priority of the output. The lower the number, the higher the priority. If you
specify nothing, output will be delivered on a first-in, first-out basis.
• Comment 1-3
Comments to add to the cover page.
• Cover Page
The path to the cover page. Maximum 8 characters.
• Alt. Destination
The fax number to an alternate destination. Used if StreamServer cannot connect
using the standard fax number.
• User
The name of the sender.
• Send Time
The time when to send the fax. Use the format HH[:MM:SS]. If you specify
nothing, the fax will be sent immediately.
Runtime settings
See your RightFax documentation.
7.8.1.3 Zetafax
Runtime settings
See your Zetafax documentation.
Prerequisites
HTML unpaginated driver is used.
5. In the File field, enter the path and file name for the output.
Tip: Each output file must have its own folder, otherwise the attachment
files are overwritten.
7. In the Attachment relative path field, enter the name of folder where you want
the attachment files created.
• File
The path and file where the output is created (overrides the settings in the
Platform). Each file generated must have its own folder, otherwise the
attachment files are overwritten.
• Enable attachments
Select to create output files for attachments.
• Attachment relative path
The folder where the attachment files are created (relative to the File directory). If
the Create directories option in the Platform is Yes, then the directories are
created automatically.
Comments
When a file has been retrieved, it is deleted from the FTP server. If a Project has
several connectors (FTP input or FTP output) per user account, the number of
concurrent connections specified on the FTP server must be equal to, or more
than, the number of FTP connectors. For example, if a Project has one FTP input
connector and one FTP output connector that use the same user account, the
number of concurrent connections specified on the FTP server must be at least 2.
Settings
• TCP/IP profile
The TCP/IP profile resource that contains the connection and recovery settings
for the channel between the FTP connector and FTP server. See “TCP/IP profiles”
on page 404.
• Authentication profile
The Authentication profile resource that contains the logon credentials to the FTP
server. See “Authentication profiles” on page 407.
• Remote directory
The directory to be accessed on the FTP server. If you leave this blank, the root
directory will be set as remote directory. The FTP server software determines
whether to use slash or back-slash.
Example:
/invoices/pdfout/area2
• File mask
The match criterion for the files to be retrieved.
Example:
*.pdf
• Save path
If you want to save copies of the retrieved files you must specify a Save path. Use
an absolute path, or a path relative to the StreamServer application working
directory.
• Data transfer mode
Specifies the transfer mode for the data.
• ASCII – use ASCII, Type A, transfer method. Control and formatting data is
converted to local equivalents.
• Binary – use FTP Image, Type I, transfer method. The file is transferred
without any changes.
• Schedule
Opens the Scheduler Configuration dialog where you specify when and how
often to try to retrieve files.
• Time-out
Specifies a time-out for the connector. StreamServer uses job-end sequences in
the input data to determine when all data in an input job is received. If there are
no job-end sequences in the input data, StreamServer will not know when to stop
waiting for more input. To prevent this from happening, you can define a time-
out for the input connector.
Comments
If a Project has several connectors (FTP input or FTP output) per user account,
the number of concurrent connections specified on the FTP server must be equal
to, or more than, the number of FTP connectors. For example, if a Project has one
FTP input connector and one FTP output connector that use the same user
account, the number of concurrent connections specified on the FTP server must
be at least 2.
Settings
• TCP/IP Profile
The TCP/IP profile resource that contains the connection and recovery settings
for the channel between the FTP connector and FTP server. See “TCP/IP profiles”
on page 404.
• Authentication Profile
The Authentication profile resource that contains the logon credentials to the FTP
server. See “Authentication profiles” on page 407.
• Remote directory
The directory to be accessed on the FTP server. If you leave this blank, the root
directory will be set as remote directory. The FTP server software determines
whether to use slash or back-slash.
Example:
/invoices/pdfout/area2
• Create Directories
Select whether to create the Remote directory if it does not exist.
• Yes – If any of the directories in the remote path does not exist, they are
created.
• No – If any of the directories in the remote path does not exist, the file is put
in the undeliverables folder.
• File
The file to write the output to, and to upload to the FTP server. You can use
variables, but only in the runtime connector settings.
Example:
• Script before process: $file = getdate() + "_" + $invo + ".pdf";
• Runtime FTP connector settings: $file
• Tmp File
A temporary filename for the file to upload.
You must use a file name pattern different from the filename pattern used by the
receiving application. This prevents the receiving application from downloading
the file before the upload is completed. When the upload is completed, the file is
renamed to the name specified in File above, and the receiving application can
download the file.
If external files are uploaded (see External files below) all files will be uploaded,
one by one, with the same temporary file name. After a successful upload, each
file will be renamed to its final file name.
• External files
Enables upload of external files, together with the generated output file, to the
Remote directory specified.
You can use an absolute path to the external file, or a path relative to the working
directory of the StreamServer application.
You can add several external files if you separate the file paths with semicolon.
For example:
<path1>;<path2>;<path3>
• Data transfer mode
Specifies the transfer mode for the data.
• Passive – use passive mode. This mode is used when communicating through
firewalls. It opens a control connection to the FTP server, tells the FTP server
to expect a control connection and a second connection. Then it opens the
data connection to the FTP server on a randomly chosen high-numbered port.
This works with most firewalls unless the firewall restricts outgoing
connections on high-numbered ports.
• Active – use active mode.
• File transfer type
Specifies the transfer mode for the files.
• ASCII – use ASCII, Type A, transfer method. Control and formatting data is
converted to local equivalents.
• Binary – use FTP Image, Type I, transfer method. The file is transferred
without any changes.
Runtime settings
• If you use a variable to override the Platform setting for the TCP/IP Profile
resource or the Authentication Profile resource, you must make sure the
resource name only contains the following characters:
• a-z
• 0-9
• “-” (hyphen)
Uppercase letters (A-Z) are replaced with lowercase letters (a-z) in the URI.
All other characters are replaced by “-” (hyphen).
• The <Default> options for Passive Mode and Transfer Mode means the
Platform settings will be used.
Comments
What settings to specify depends on the requirements from the archiving
system. For example, if an archiving client scans the directory for index files
with a certain extension, you must specify this extension. As the extension is
added at job end, you prevent the archiving client from accessing an index file
before it is completed.
Settings
• Index directory
The root directory for the output. The directory is specified in relation to the
working directory. You can use the SetDestPath() scripting function.
One sub directory is automatically created per job, containing the output data
and the index file. As an alternative to these automatically generated directories,
you can specify separate directories for the output data and the index files in the
Runtime settings.
Runtime settings
• Index entry
where programname retrieves the index file (%1) in the Index directory (%)
for further processing.
You must manually add any other attributes. The order in which the attributes
are listed is important since StreamServer outputs the attributes in this order.
You can enter the attribute name <idxcodepage> and the appropriate code page
as attribute value to specify a code page for the index file. The attribute name
must include the < and> characters.
Comments
• An HTTP(S) connector must have an input queue.
• You can use the custom startup argument -startallinconnectors to start
connectors that are not connected to any Event.
Settings
• Security configuration
The security configuration to add to the HTTPS connector. See “About
encryption and authentication“ on page 711for more information about security
configurations. The security configuration must be included in a resource set
connected to the Platform.
• Version
The HTTP version to use. Auto means the version is determined by the client.
• SSL version
The SSL version to use with the HTTPS connector. The server and the clients
must use the same SSL version.
• Reprocess type
The output channel for the reprocess service.
• Address
An alternative network address for the StreamServer application, for example the
IP address to a specific network card. You can leave this empty if you want to
use the default network address for the workstation.
• Port
The port the connector listens to for HTTP requests. If the Project contains several
HTTP(S) connectors, you must select a unique port for each connector. Instead of
using several HTTP(S) connectors, you can use one HTTP(S) input connector and
different URIs to other types of input connectors. See “HTTP Realms tab”
on page 171.
• Maximum concurrent requests
The response-timeout can also be set by the client using an HTTP header field. To
enable this, you must add the custom HTTPResponseTimeOut command (see
“Custom HTTP(S) connector settings” on page 172) to the Logical connector
access point. For example, if the client uses the header field x-timeout to set the
response time-out, you can use the following HTTPResponseTimeOut command
to enable the client to set the time-out:
Note: This will override the Response time-out set on the HTTP(S) input
connector.
When processing a job, StreamServer will not check if the connection to the client
is still open. A response time-out triggered by the client or StreamServer is not
regarded as an error and will not stop StreamServer from processing the job.
• Authentication
The type of authentication scheme (RFC 2617 (http://www.ietf.org/rfc/
rfc2617.txt)) to use for password authentication. The authentication scheme you
specify here applies to all HTTP realms you specify for the HTTP(S) connector.
See “HTTP Realms tab” on page 171.
• None - Do not use authentication.
• Basic - Send authentication parameters as clear text. This is the only scheme
supported in HTTP/1.0.
• Digest - Send authentication parameters as a checksum over the network.
Requires HTTP/1.1.
• Publish directory
The root directory for stored files. If you want to enable clients to access stored
files via HTTP(S), you must specify a publish directory.
• Publish extension file
A file that associates file formats and content-types (RFC 2045 (http://
www.ietf.org/rfc/rfc2045.txt)). Applies to files in the Publish directory.
StreamServer accepts html, htm, gif, jpg, txt, zip by default. To use other
formats, you must specify a publish extension file.
File syntax:
Where Target is the format to associate with a content type, ContentType is the
content type, and CustomHeader is an optional custom header (Name:Value).
• Password file
The password file resource that contains the user names and corresponding
passwords. The password file has the following syntax:
user_name [tab] password
HTTPExtJobIdField “ID_name”;
Retrieves the external ID from an application that sends input to StreamServer.
The application that sends the input must include the external ID as HTTP
header information (ID_name:ID_value).
HTTPMaxContentLength limit;
Limits the size (in bytes) of the body in an HTTP request. If a request contains a
body that exceeds this limit, an error response will be returned.
HTTPResponseTimeOut “timeout” “path” “custom” END;
Specifies custom response time-out options.
timeout
A time-out set by the client to override the response time-out. For example,
the client header field "x-timeout:60000" sets the response time-out to one
minute. To enable the client to set the response time-out, you can enter
HTTPResponseTimeOut "x-timeout" "" "" END;
Leave the timeout argument empty if you do not want to allow clients to
set the response time-out.
path
A time-out set by the client to override the response time-out. For example,
the client header field "x-timeout:60000" sets the response time-out to one
minute. To enable the client to set the response time-out, you can enter
HTTPResponseTimeOut "x-timeout" "" "" END;
Leave the timeout argument empty if you do not want to allow clients to
set the response time-out.
custom
Custom fields (name:value) added to the response header. For example:
Comments
• You can use the custom startup argument -startallinconnectors to start
connectors that are not connected to any Event.
Settings
• Security configuration
The security configuration to add to the HTTPS Poll connector. See “About
encryption and authentication“ on page 711 for more information about security
configurations. The security configuration must be included in a resource set
connected to the Platform.
• HTTP method
The method to use when polling the HTTP server.
• HEAD – Requests a HEAD header from the HTTP server. If the Last-
Modified entity-header field has changed, StreamServer will fetch and
process the data. If there is no Last-Modified field in the header, the
connector will switch to the GET method instead. If the Last-Modified field
is not updated correctly this method will fail.
• GET – Downloads the data once during each poll interval, and calculates a
checksum to see if the data has been updated. StreamServer will process the
data only if the checksum has changed.
• POST – Posts a file to the HTTP server, downloads the response and
calculates a checksum. StreamServer will process the data only if the
checksum has changed.
• URL
The URL to the HTTP server.
• Content-type
This property depends on the HTTP method:
• POST – The content type of the posted file.
• HEAD and GET – The media types the client accepts in the response. For
example text/*, text/xml, text/xml;level=1, */*. All formats will be
accepted if this field is empty.
• Post file name
The file to post when using HTTP method POST. The file must be included in a
resource set connected to the Platform.
• HTTP time-out
The maximum time (milliseconds) to wait before aborting a transfer.
• HTTP version
The HTTP version to use.
• SSL version
The SSL version to use with the HTTPS Poll connector. The server and the clients
must use the same SSL version.
• HTTP authentication
The type of authentication scheme (RFC 2617 (http://www.ietf.org/rfc/
rfc2617.txt)) to use for password authentication.
• None - Do not use authentication.
• Basic - Send authentication parameters as clear text. This is the only scheme
supported in HTTP/1.0.
• Digest - Send authentication parameters as a checksum over the network.
Requires HTTP/1.1.
• HTTP realm
The name of the realm to access. Used only if authentication is required.
• User name
A user name to access the realm. Used only if authentication is required.
• Password
A password to access the realm. Used only if authentication is required.
• Cache file
The cache file that stores communication checksums between StreamServer start/
stop.
• Schedule
Opens the Scheduler Configuration dialog where you specify when and how
often to poll the HTTP server. See “Scheduling” on page 66 for more information
about scheduling.
• Time-out
Specifies a time-out for the connector. StreamServer uses job-end sequences in
the input data to determine when all data in an input job is received. If there are
no job-end sequences in the input data, StreamServer will not know when to stop
waiting for more input. To prevent this from happening, you can define a time-
out for the input connector.
Settings
• Use security configuration
Select whether to use a security configuration or a CA certificate for the HTTPS
Submit connector. If the HTTPS server requires client authentication, you must
use a security configuration. If the HTTPS server does not require client
authentication, you can use a CA certificate instead.
• CA certificate
The CA root certificate that confirms the identity of the SSL server. See “About
encryption and authentication“ on page 711 for more information about security
configurations. The certificate must be included in a resource set connected to the
Platform.
PEM encoded x 509 certificates are supported.
• Security configuration
The Security configuration to use with the HTTPS Submit connector. See “About
encryption and authentication“ on page 711 for more information. The security
configuration must be included in a resource set connected to the Platform.
• Method
The method to use when submitting output to the HTTP server.
• POST – Send output to the HTTP server for further processing.
• PUT – Send output to the HTTP server. For example, if output is a web page,
select PUT to put it on a web server. Requires scripting and specific access
rights to the server.
• URL
text/html; charset="ascii"
• Time-out
The maximum time (milliseconds) StreamServer waits before cancelling a
transfer.
• Version
The HTTP version to use.
• SSL version
The SSL version to use with the HTTPS Submit connector. The server and the
clients must use the same SSL version.
• Authentication
The type of authentication scheme (RFC 2617 (http://www.ietf.org/rfc/
rfc2617.txt)) to use for password authentication.
• None - Do not use authentication.
• Basic - Send authentication parameters as clear text. This is the only scheme
supported in HTTP/1.0.
• Digest - Send authentication parameters as a checksum over the network.
Requires HTTP/1.1.
• Realm
The name of the realm to access. Used only if authentication is required.
• User name
A user name to access the realm. Used only if authentication is required.
• Password
A password to access the realm. Used only if authentication is required.
• Cache file
The cache file that stores communication checksums between StreamServer start/
stop.
Runtime settings
• Custom header
A custom header to add to the output. Use the following syntax:
Name:Value
The name of the connector that receives the response from the HTTP server.
Used only if a response is required. This connector is either an HTTP Response
output connector, or any type of queue enabled input connector.
A custom header to add to the response from the HTTP server. Use the following
syntax:
Name:Value
• On failure file
The path to a file to be used if output cannot be delivered to the HTTP server.
• On failure place connector
The connector that retrieves the On failure file specified above. This connector is
either an HTTP Response output connector, or any type of queue enabled input
connector. For example, if StreamServer receives input from a client, and sends
output to an HTTP server, an error message (the on failure file) can be sent back
to the client via an HTTP Response connector.
• On failure content-type
The content type of the On failure file. For example:
text/html; charset="ascii"
• On failure custom header
A custom header to add to the response with the On failure file. Use the
following syntax:
Name:Value
Settings
• Content-type
The content-type of the response. For example:
text/html; charset="ascii"
Runtime settings
• Custom header
A custom header to add to the output. Use the following syntax:
Name:Value
3. The processed data is sent back to the client via the HTTP Response and HTTP
connectors.
Note: If you loop back output via an Internal output connector, you must use
the UTF-8 code page for both connectors.
Notes
• Data sent from the Internal output connector must not contain any
formatting information.
• You must use the UTF-8 code page for both the Internal input and output
connectors.
• An Internal output connector always runs in output mode Job.
Settings
In the configuration of the JDBC input and output connector you specify the
appropriate JDBC driver and Connection URL settings to connect to the database,
and the SQL query to execute on the selected database.
Prerequisites
STRS_JAVA_HOME="C:\Program Files\Java\jre1.5.0_14"
• The appropriate JDBC driver must be available to connect to the database.
The following JDBC drivers are included in the Communications Center installation:
• JDBC-ODBC bridge
• DataDirect SQL Server driver
• DataDirect Oracle driver
• DataDirect DB2 driver
The SQL query is executed at a time interval (Polling interval) specified in the
connector settings. This means the JDBC input connector uses the same time interval
when retrieving data from the database.
Comments
• This connector must be used together with a MessageIN Event.
• The MessageIN Event must use an SXD file with one field element for each
column in the database table stated in the SQL query.
Settings
• Connector type
Select Java.
• Java class
Select JDBCInConnector. When you click the button attached to this field, all
available Java input connector classes are displayed. To activate the JDBC input
connector settings you must select the java class JDBCInConnector.
• JDBC driver
The JDBC driver to use to connect to the database. You can select the following
drivers from the drop-down list:
• JDBC-ODBC bridge
sun.jdbc.odbc.JdbcOdbcDriver
• DataDirect SQL Server driver
com.streamserve.www.jdbc.sqlserver.SQLServerDriver
• DataDirect Oracle driver
com.streamserve.www.jdbc.oracle.OracleDriver
• DataDirect DB2 driver
com.streamserve.www.jdbc.db2.DB2Driver
If you are using other drivers than the above, you can enter the corresponding
driver expression in this field.
• Connection URL
The connection URL to connect to the database. You can select and edit the
following Connection URLs from the drop-down list:
• JDBC-ODBC bridge
Option - jdbc:odbc:DB
Example - jdbc:odbc:myDatabase
• DataDirect SQL Server driver
Option - jdbc:streamserve:sqlserver://
server[:port];databaseName=DB
Example - jdbc:streamserve:sqlserver://localhost:1433;
databaseName=myDatabase
• DataDirect Oracle driver
Option - jdbc:streamserve:oracle://server[:port];SID=DB
Example - jdbc:streamserve:oracle://localhost:1433;
SID=myDatabase
• DataDirect DB2 driver
Option - jdbc:streamserve:db2://server[:port];DatabaseName=DB
Example - jdbc:streamserve:db2://localhost:50000;
DatabaseName=myDatabase
If you are using other drivers than the above, you can enter the corresponding
Connection URL in this field.
• User name
A user name to access the database. Overrides any other user names specified in
the Connection URL.
• Password
A password to access the database. Overrides any other passwords specified in
the Connection URL.
• SQL file
You can create an SQL file where you enter the query to submit to the database.
This query overrides any query specified in the SQL command field described
below.
If you use the SQL file option to specify the query, you can create more complex
queries using several lines of statements.
SELECT *
FROM CustomerData
WHERE CustNo>200
• SQL command
You can enter a one-line query in the SQL command field.
• Event name
The name of the MessageIN Event that retrieves the data via this input
connector.
• Mode
Specifies what to do with each table row in the database table after it is read.
• Objects as blocks
Each row is added as a block instance to the MessageIN Event.
Using this option, the input job starts when the first row is retrieved and ends
when the last row is retrieved. All rows are added as block instances to the
same MessageIN Event.
• Objects as events
Each row triggers a new MessageIN Event.
Using this option, the input job also starts when the first row is retrieved and
ends when the last row is retrieved. Each row triggers a new MessageIN
Event.
• Objects as jobs
Each row starts a new input job.
Using this option, each row represents a separate input job and triggers a new
MessageIN Event.
• Create SXD
Used when creating an SXD file. Enter the path to the SXD file to create, for
example:
C:\resources\SXD\JDBCretrieve.sxd
Password for the JDBC driver (if required). If you are using any of the DataDirect
JDBC drivers included in the Communications Center installation you should
leave this field blank.
• Time-out
Specifies a time-out for the connector. StreamServer uses job-end sequences in
the input data to determine when all data in an input job is received. If there are
no job-end sequences in the input data, StreamServer will not know when to stop
waiting for more input. To prevent this from happening, you can define a time-
out for the input connector.
• Polling interval
The interval at which the SQL query is submitted to the database, and at which
this connector retrieves data from the same database.
You can let the JDBC input connector retrieve the table information, and create this
SXD file for you. You can create a separate Project for this purpose. This Project must
contain a JDBC input connector, a MessageIN Event, and any Process and output
connector.
When you run the Project, the SXD file is created in the path you specify in the
connector settings. You must then import the SXD file to the appropriate resource
set, and connect it to the MessageIN Event in the real Project.
When you configure the connector to create an SXD file, you must specify the
connection settings (JDBC driver, Connection URL, User name, and Password) to
connect to the database with the table from which to retrieve the information. You
can use the same connection settings as in the real Project, but if you need to you can
connect to another database that contains a table with identical columns as the one
you will use in the real Project.
To create the SXD file, you must also specify the following:
• Mode
Select Copy (no delete). This will make sure no data is removed from the
database table.
• Row level
The same row level as in the real Project.
The row level affects the output in the SXD file. For example, if you select row
level Output as blocks, block elements will be included in the SXD file.
• Create SXD
The path to the SXD file.
XMLOUT Process
The output sent via the JDBC output connector is configured using an XMLOUT
Process. The XML structure is shown in the example below.
<?xml version="1.0"?>
<document>
<job>
<event>
<block>
<field name="column_1">value_1</field>
<field name="column_2">value_2</field>
....
<field name="column_N">value_N</field>
</block>
</event>
</job>
</document>
• The <event> element contains all the rows to be added to the database table.
• Each row in the database table is represented by a <block> element.
• Each column in a table row is represented by a <field> element.
• The name attribute represents the column (column_1, column_2, etc.). The
attribute value must be the same as the column name in the database.
• The field value represents the value to add to the corresponding column
(value_1, value_2, etc.). The field value is retrieved from a field or variable
defined in the Event.
If you are using other drivers than the above, you can enter the corresponding
driver expression in this field.
• Connection URL
The connection URL to connect to the database. You can select and edit the
following Connection URLs from the drop-down list:
• JDBC-ODBC bridge
Option - jdbc:odbc:DB
Example - jdbc:odbc:myDatabase
• DataDirect SQL Server driver
Option - jdbc:streamserve:sqlserver://
server[:port];databaseName=DB
Example - jdbc:streamserve:sqlserver://localhost:1433;
databaseName=myDatabase
If you are using other drivers than the above, you can enter the corresponding
Connection URL in this field.
• User name
A user name to access the database. Overrides any other user names specified in
the Connection URL.
• Password
A password to access the database. Overrides any other passwords specified in
the Connection URL.
• SQL file
You can create an SQL file where you enter the query to submit to the database.
This query overrides any query specified in the SQL command field described
below.
If you use the SQL file option to specify the query, you can create more complex
queries using several lines of statements.
• SQL command
You can enter a one-line query in the SQL command field.
• License Password
Password for the JDBC driver (if required). If you are using any of the DataDirect
JDBC drivers included in the Communications Center installation you should
leave this field blank.
7.15.1 Concepts
7.15.1.1 Queues an topics
Queues
A message that is put on a message queue always has one receiver only. If there
are more than one application listening to the same queue, still only one of them
will receive the message.
Topics
Topics works with publish/subscribe semantics. There can be many publishing
applications that publishes messages for a topic and there can be many
subscribing applications that all will receive the same message.
There are two connector settings that are used to specify how to connect to your
JNDI provider:
• java.naming.factory.initial – Specifies the JNDI provider class to use.
• java.naming.provider.url – Specifies where to find the JNDI directory.
If your JNDI provider needs other initial context parameters you can specify these
parameters as additional java system properties when starting java.
Input connectors automatically read both binary and text messages and writes the
data to the input queue.
x-streamserve.com-jms-correlation-id
The correlation identifier of the message to be retrieved. Either provider-specific
message IDs or application-specific String values.
x-streamserve.com-jms-message-id
Value that uniquely identifies each message sent by a provider.
x-streamserve.com-jms-priority
The message priority level.
The JMS API defines ten levels of priority value, with 0 as the lowest priority
and 9 as the highest. In addition, clients should consider priorities 0-4 as
gradations of normal priority and priorities 5-9 as gradations of accelerated
priority.
x-streamserve.com-jms-reply-to
The name of the destination to which a reply should be sent.
x-streamserve.com-jms-timestamp
The time a message was handed off to a provider to be sent. It is not the time the
message was actually transmitted, because the actual send may occur later due
to transactions or other client-side queueing of messages.
Note: A durable subscription can have only one active subscriber at a time.
Connector settings
• java.naming.factory.initial
Specifies the JNDI provider class to use. See “JNDI Settings” on page 189. You
can use the drop-down list to select a provider (see below) or type in the full
JNDI class name if you want to use another provider.
• File system JNDI (Sun)
File based JNDI directory provided by Sun. Full JNDI class name:
com.sun.jndi.fscontext.RefFSContextFactory
• LDAP (Sun)
LDAP based JNDI directory. Full JNDI class name:
com.sun.jndi.ldap.LdapCtxFactory
• java.naming.provider.url
The path to the JNDI directory. See “JNDI Settings” on page 189.
• Context
The JNDI context. If you leave this empty, the initial context will be used.
It is possible to specify nested JNDI directories. To do this you use this setting to
specify the name, within the initial context of the JNDI directory, to actually use.
• Connection factory
The JNDI name of the connection factory to use. See “Connection factory”
on page 191.
• Authentication
The authentication profile (user name and password) to use to access the JMS
provider. See “Authentication profiles” on page 407.
• Queue
The JNDI name of the queue to use.
• Selector
You can use a message selector to apply filters to the received messages. A
message selector is a string that contains an expression. The syntax of the
expression is based on a subset of the SQL92 conditional expression syntax.
Example - Type = 'Invoice' OR Type = 'Order'
This message selector selects messages where Type is set to either Invoice or
Order.
• Polling interval
Opens the Scheduler Configuration dialog where you specify when and how
often to retrieve messages. See “Scheduling” on page 66 for more information
about scheduling.
• Time-out
Specifies a time-out (seconds) for the connector. StreamServer uses job-end
sequences in the input data to determine when all data in an input job is
received. If there are no job-end sequences in the input data, StreamServer will
not know when to stop waiting for more input. To prevent this from happening,
you can define a time-out for the input connector.
Connector settings
• java.naming.factory.initial
Specifies the JNDI provider class to use. See “JNDI Settings” on page 189.
You can use the drop-down list to select a provider (see below) or type in the full
JNDI class name if you want to use another provider.
• File system JNDI (Sun)
File based JNDI directory provided by Sun. Full JNDI class name:
com.sun.jndi.fscontext.RefFSContextFactory
• LDAP (Sun)
LDAP based JNDI directory. Full JNDI class name:
com.sun.jndi.ldap.LdapCtxFactory
• java.naming.provider.url
The path to the JNDI directory. See “JNDI Settings” on page 189.
• Context
The JNDI context. If you leave this empty, the initial context will be used.
It is possible to specify nested JNDI directories. To do this you use this setting to
specify the name, within the initial context of the JNDI directory, to actually use.
• Connection factory
The JNDI name of the connection factory to use. See “Connection factory”
on page 191.
• Authentication
The authentication profile (user name and password) to use to access the JMS
provider. See “Authentication profiles” on page 407.
• Topic
The JNDI name of the topic to use.
• Selector
You can use a message selector to apply filters to the received messages. A
message selector is a string that contains an expression. The syntax of the
expression is based on a subset of the SQL92 conditional expression syntax.
Example - Type = 'Invoice' OR Type = 'Order'
This message selector selects messages where Type is set to either Invoice or
Order.
Platform settings
• java.naming.factory.initial
Specifies the JNDI provider class to use. See “JNDI Settings” on page 189.
You can use the drop-down list to select a provider (see below) or type in the full
JNDI class name if you want to use another provider.
• File system JNDI (Sun)
File based JNDI directory provided by Sun. Full JNDI class name:
com.sun.jndi.fscontext.RefFSContextFactory
• LDAP (Sun)
LDAP based JNDI directory. Full JNDI class name:
com.sun.jndi.ldap.LdapCtxFactory
• java.naming.provider.url
The path to the JNDI directory. See “JNDI Settings” on page 189.
• Context
The JNDI context. If you leave this empty, the initial context will be used.
It is possible to specify nested JNDI directories. To do this you use this setting to
specify the name, within the initial context of the JNDI directory, to actually use.
• Connection factory
The JNDI name of the connection factory to use. See “Connection factory”
on page 191.
• Authentication
The authentication profile (user name and password) to use to access the JMS
provider. See “Authentication profiles” on page 407.
• Queue
The JNDI name of the queue to use.
• Send as text
Select whether to send messages as text (True) or in binary format (False). See
“Message formats” on page 190.
Runtime settings
Queue
See platform settings above.
Custom Properties
Custom message properties. Custom message properties can be used for
selecting messages, or for providing information about contents or message
types.
Example - Set a custom header to "color='blue'"
Correlation Id
A correlation id for the message. Correlation IDs can be used to link one
message to another, for example to link a response message to the
corresponding request message.
Platform settings
• java.naming.factory.initial
Specifies the JNDI provider class to use. See “JNDI Settings” on page 189.
You can use the drop-down list to select a provider (see below) or type in the full
JNDI class name if you want to use another provider.
• File system JNDI (Sun)
File based JNDI directory provided by Sun. Full JNDI class name:
com.sun.jndi.fscontext.RefFSContextFactory
• LDAP (Sun)
LDAP based JNDI directory. Full JNDI class name:
com.sun.jndi.ldap.LdapCtxFactory
• java.naming.provider.url
The path to the JNDI directory. See “JNDI Settings” on page 189.
• Context
The JNDI context. If you leave this empty, the initial context will be used.
It is possible to specify nested JNDI directories. To do this you use this setting to
specify the name, within the initial context of the JNDI directory, to actually use.
• Connection factory
The JNDI name of the connection factory to use. See “Connection factory”
on page 191.
• Authentication
The authentication profile (user name and password) to use to access the JMS
provider. See “Authentication profiles” on page 407.
• Topic
The JNDI name of the topic to use.
• Send as text
Select whether to send messages as text (True) or in binary format (False). See
“Message formats” on page 190.
Runtime settings
Queue
See platform settings above.
Custom Properties
Custom message properties. Custom message properties can be used for
selecting messages, or for providing information about contents or message
types.
Example - Set a custom header to "color='blue'"
Correlation Id
A correlation id for the message. Correlation IDs can be used to link one
message to another, for example to link a response message to the
corresponding request message.
Settings
• Host
The host name or IP address of the server hosting LiveCycle ES.
• Port
The port used by the LiveCycle ES server.
• Web service name
The name (case sensitive) of the service to invoke. This name must be the same as
the corresponding process created in LiveCycle Workbench ES.
• User name
User name to connect to the server hosting LiveCycle ES. Used in case of basic
HTTP authentication.
• Password
Password to connect to the server hosting LiveCycle ES. Used in case of basic
HTTP authentication.
• Enable asynchronous communication
• Yes
Make asynchronous calls to the service. This option is used when invoking
long-lived LiveCycle services.
• No
Make synchronous calls to the service. This option is used when invoking
short-lived LiveCycle services.
• Asynchronous poll interval
Only used together with asynchronous calls. This is the interval (milliseconds)
used to check for a response to the invocation request.
• Root certificate for SSL communication
The root certificate used when HTTPS is used as web service protocol (secure
communication). The certificate must be available from a resource set connected
to the Platform.
• Custom options
A list of custom keys (key-value pairs) to include in the invocation request.
To be able to handle custom keys, the service must have a variable named
optionsMap of the type map. All custom keys defined here will be added to the
optionsMap variable in the invoked service.
The values provided can be extracted in the receiving LiveCycle process by using
an XPath expression in the LiveCycle process.
Examples of custom keys are passwords for creating password encrypted PDF
files. For example:
Key: pdfpassword
Value: encrypted
Runtime settings
• IXATTR file lines
The lines to add to the IXATTR control file.
• Commands file lines
The lines to add to the Commands control file.
Platform settings
• Resource name
The name of the resource. This name, or the GUID of the resource, can later be
used to access the resource.
• Content type
The content type of the resource.
• Expire by time
Specifies whether to set an expiry time for the resource.
Yes – Use Duration and Time unit below to specify for how long to store the
resource in the repository.
No – Do not set an expiry time for the resource.
• Duration
The number of <Time units> to store the resource.
• Time unit
The time unit for the Duration.
Runtime settings
• Resource name
See Platform settings above.
• Content type
See Platform settings above.
For example, you can use the connector if you only want to store the output as
resources, and use the filter if you want to deliver output via a standard output
connector and driver (e.g. a File connector and PDF driver) and at the same time
store the output as resources.
resource://guid=<GUID>
resource://name=<Name>
resource:/?guid=<GUID>
resource:/?id=<GUID>
resource:/?name=<Name>
resource:/v1/resources/<GUID>
resource:/v1/resources?name=<Name>
For example, Template Engine can use the #include directive to include the
resource in the output:
#include('resource://name=my_text')
Wait the specified time (milliseconds) for the response from the receiver
before marking the output job as successful or failed. The response includes
the status of the job processed by the receiver (successful or failed).
If the status is not returned within the time specified, an error is reported and
the output job is marked as failed.
Append enabled
Timeout is ignored.
Response place connector enabled
Wait the specified time (milliseconds) for the response from the receiver
before marking the output job as successful or failed. The response includes
output from the receiver and the status of the job processed by the receiver
(successful or failed).
If the status is not returned within the time specified, an error is reported and
the output job is marked as failed.
• Service version
The version of the service (StreamServer application) to call. If you leave this
empty, the latest version of the service is called.
• Append
Select to append the output job to the top job. This enables StreamServer
applications to receive the result produced by chained StreamServer
applications. See Example 7-29, “Using Append” on page 204.
Note: OpenText recommends you to use separate input queues for the
Response place connector and the input connector for the original input job
if queues are used on both connectors.
ST1 sends output to ST2. ST2 processes the ST1 input and delivers new
output to ST3. ST3 processes the ST2 input and returns the result in the
response to ST1.
If you want the StreamServer application to be able to return the output in the
response you must enable this in the Design Center Project:
2. Double-click the output connector that delivers the output (must be queue
enabled). The Output Connector Settings dialog box opens.
3. Click the General icon and select Include result in service response.
4. Click OK.
Connector settings
• Request type
• Generic – select this option to receive data from another StreamServer
application, or if the client is Adobe LiveCycle ES.
• IDoc – select this option to receive IDoc data.
• XOM – select this option to receive data from the Delivery Manager Sender.
• Notification – select this option to receive notifications from an external
system, such as job or device notifications from Vista Plus Output Manager.
• Service name
The name of the service a client must call to invoke the StreamServer application
via this connector.
For information about setting up the Service name in Vista Plus Output Manager
scenarios, see the following sections:
StreamServe MIB
The content of the SNMP trap is defined by the StreamServe MIB (Management
Information Base) in ...\Common\Data\MIBS\StreamServe-MIB.txt.
StreamServer configuration
Configuring StreamServer to create SNMP traps includes:
Settings
• Trap destination
The IP address or hostname of the NMS.
• Trap destination IP port
The port on which the NMS receives SNMP traps.
• Community string
The password to access the NMS.
• Source description
A description of the source sending the notifications.
<?xml version=\"1.0\"?>
<strs-xml version="1.0">
<job>
<event name="Garlic">
<block>
<field name="Message" path="">message</field>
<field name="JobSource" path="">source</field>
<field name="Type" path="">job</field>
<field name="Status" path="">fail</field>
</block>
</event>
</job>
</strs-xml>
• To
The printer to send the output to.
You have one default Process that you connect to an output connector, and
one identical preview Process that you connect to a StreamServe External
Viewer connector. An Event script determines which Process to use:
if($var = "Preview")
callproc("PreviewProcess");
else
callproc("DefaultProcess");
Settings
• Host
The Previewer host.
• Port
The port the Previewer listens to. The default port is 9343.
• Host
The StreamServer host.
• Port
• Host
The receiving host.
• Port
The port the host listens to. The default port is 9343.
Output directories
TOPCALL and StreamServer use two directories to exchange information: one
directory that contains the attachments, and one directory that contains address
information. You specify these directories when you configure the Topcall
connector.
MailOUT tool
In the MailOUT tool you must specify a To and From address. You can use
dummy values.
1. In the Runtime configuration view, right-click the MailOUT Process and select
Settings. The Runtime Process Settings dialog box opens.
2. On the Attach Process tab, click Add New. The Process Attachment dialog box
opens.
4. From the Select Process drop-down list, select the attachment Process and click
OK.
7.30.1 Concepts
7.30.1.1 The IBM WebSphere MQ environment
The IBM WebSphere MQ environment does not have to be on the same host as
StreamServer as long as the WebSphere MQ connector can use a server connection
channel (see “Server connection channel” on page 210) to connect to WebSphere
MQ.
7.30.1.5 Synchronization
StreamServer uses MQGMO_SYNCPOINT to make sure the message remains in the
queue if the WebSphere MQ input connector fails to read a message. The WebSphere
MQ input connector retries to read the message until it succeeds to do so. If it
continuously fails to read the message, you must remove the message from the
queue by using WebSphere administration tools.
• Text messages
• Binary messages
WebSphere MQ input connectors read both binary messages and text messages, and
writes the data to the input queue.
Text messages
In text messages, the content is treated as text and is automatically converted by
WebSphere MQ if the message passes between two environments where the text
encoding is not the same. For example, a message sent from a Windows
environment can be read on a Main Frame computer with native methods.
Binary messages
In binary messages, the content is not altered by transmission. The sequence of
bytes that are sent are received in the same way in the other end. There is no
encoding connected to the message. Binary messages are slightly more efficient
since no transformation is involved.
The message properties in the table below affect StreamServer job data. By setting
these properties from the sender, you can change the job characteristics of the
StreamServer job.
jobName
Sets the job of the new job.
extJobId
Sets the external job id of the new job.
jobOwner
Sets the job owner of the new job.
jobPriority
Sets the job priority of the new job.
extJobId
The external job ID.
strsJobId
The StreamServer job ID.
Custom properties
You can also set custom properties in the Custom Properties field in the runtime
configuration settings for the WebSphere MQ output connector. This means you can
assign additional message properties to the message. In this field you can add a list
of properties separated by white space. All properties you define here will be added
to the message header. The syntax is as follows:
Additional headers
In WebSphere MQ, a message can contain additional headers. If there are
additional headers, the values are stored as metadata like the message
properties, but each metadata name will be prefixed with the name of the
header.
For example, MQRFH2.Version=17, where MQRFH2 is the name of the header,
Version is the name of the property and 17 is the value.
Message metadata
Apart from the message properties, a WebSphere MQ message also has pre-defined
metadata. The properties described in the table below can be accessed through
metadata.
IBMMQApplicationIdData
Application ID data. This is part of the identity context of the message –
information defined by the application suite. It can be used to provide
additional information about the message or its originator.
IBMMQApplicationOriginData
Data about the originating application. This can be used by the application to
provide additional information about the origin of the message.
IBMMQCorrelId
Specifies the correlation identifier of the message to be retrieved. A string
containing hexadecimal numbers
IBMMQGroupId
The ID of the message group. This identifies the message group to which the
message belongs. A string containing hexadecimal numbers.
IBMMQMessageSequenceNumber
Sequence number of logical messages within a message group.
IBMMQMsgId
Specifies the message identifier of the message to be retrieved. A string
containing hexadecimal numbers.
IBMMQPriority
The message priority.
IBMMQPutDateTime
The time and date when the message was put. Uses ISO 8601 date time form
plus additional millisecond and time zone offset information.
IBMMQPutApplicationName
The name of the application that put the message.
IBMMQReplyToQ
The name of the queue to which a reply should be sent.
IBMMQReplyToQMgr
The name of the queue manager to which reply or report messages should be
sent.
IBMMQUserId
The user ID. It is part of the identity of the message and identifies which user
originated it.
Queues
A message put on a message queue has only one receiver. If more than one
application is listening to the same queue, only one of them can receive the message.
The following WebSphere MQ queue connectors are available:
Topics
Several publishing applications can publish messages for a topic, and several
subscribing applications can receive the same message. The following WebSphere
MQ queue connectors are available:
If you use any of the queue sender output connectors, you must assign these
runtime properties based on information in the metadata in the incoming message.
Proceed with the following steps:
1. Create a script (preferably before the job) where you assign variables based on
the metadata from the incoming message. For example:
$correlationId=GetConnectorValue("IBMMQMsgId");
$replyToQueue=GetConnectorValue("IBMMQReplyToQ");
$replyToQueueManager=GetConnectorValue("IBMMQReplyToQMgr");
In the script you have a choice to assign either the message ID of the incoming
message as shown in the example, or to use the correlation ID of the incoming
message. You might even want to apply a formula in order to generate the
correlation ID. This can all be done in the script. See Message metadata on page 214
for available metadata values.
• com.ibm.mq.commonservices.jar
• com.ibm.mq.headers.jar
• com.ibm.mq.jar
• com.ibm.mq.jmqi.jar
• com.ibm.mq.pcf.jar
You can obtain these files from an existing MQ server or MQ Client installation
or downloaded them from IBM. When you have the files you must install them
in the following directory:
<Installation_directory>\Platform\Core\<version>\bin\javaclasses
\core
After you run the command above you must refresh the queue manager.
<JAVA_HOME>\jre<version>\lib\security
jdk.certpath.disabledAlgorithms
jdk.tls.disabledAlgorithms
jdk.tls.legacyAlgorithms
<WSMQ_installation_directory>\qmgrs\<QM_Name>
1. Open qm.ini in an editor and add the following lines to the SSL section:
AllowSSLV3=Y
AllowWeakCipherSpec=ALL
You can also specify a specific cipher instead of ALL. For example,
AllowWeakCipherSpec= RC4_MD5_EXPORT
Note: The recovery settings in the connection profile are not applicable to
WebSphere MQ.
• Authentication profile
An authentication profile (see “Authentication profiles” on page 407) that
contains user name and password to access WebSphere MQ. Used only if
authentication is required.
• Aggregate message groups
Select True to aggregate all messages in a message group before sending the data
to StreamServer. See “Message groups” on page 211.
Platform settings
• Queue manager
The queue manager that owns the message queue.
• Queue
The message queue to listen to.
• Channel
The name of the server connection channel to use to connect to WebSphere MQ.
Leave this empty if you want to use direct server connection. See “Server
connection channel” on page 210.
• TCP/IP Profile
A TCP/IP profile (see “TCP/IP profiles” on page 404) that contains the
connection settings (host and port) and secure channel settings.
Note: The recovery settings in the connection profile are not applicable to
WebSphere MQ.
• Authentication profile
An authentication profile (see “Authentication profiles” on page 407) that
contains user name and password to access WebSphere MQ. Used only if
authentication is required.
• Send as text
Select whether to send data as text (True) or binary (False). See “Message
formats” on page 212.
• Send properties
Select whether to send properties (see “Message properties – output connectors”
on page 213) in the message.
• Message persistence
• Queue defined
Use the message persistency specified for the message queue
• Persistent
Write the message to disk. The message will be recoverable in case of system
failure.
• Non persistent
Process the message in memory. This will improve performance at the
expense of security
• Message segmentation
Select whether to enable message segmentation (see “Segmented messages”
on page 211)
Runtime settings
• Queue manager
See Platform settings above.
• Queue
See Platform settings above.
• Channel
See Platform settings above.
• Custom Properties
List of name-value pairs to use as message properties for the out going message.
See “Message properties – output connectors” on page 213.
• Message Id
A message identifier. Enables sending and receiving applications to correlate
messages. Maximum length is 24 characters.
• Correlation Id
The correlation Id for the outgoing message. Used when sending a reply to an
earlier received WebSphere MQ message. See “Replying to a received message”
on page 215.
• Remote Queue manager
The name of a remote queue manager. Used when sending a reply to an earlier
received WebSphere MQ message. See “Replying to a received message”
on page 215.
• Message persistence
See Platform settings above. <Default> means use Platform settings.
• Message segmentation
See Platform settings above. <Default> means use Platform settings.
Platform settings
• Queue manager
The queue manager that owns the message queue.
• Channel
The name of the server connection channel to use to connect to WebSphere MQ.
Leave this empty if you want to use direct server connection. See “Server
connection channel” on page 210.
• TCP/IP Profile
A TCP/IP profile (see “TCP/IP profiles” on page 404) that contains the
connection settings (host and port) and secure channel settings.
Note: The recovery settings in the connection profile are not applicable to
WebSphere MQ.
• Authentication profile
An authentication profile (see “Authentication profiles” on page 407) that
contains user name and password to access WebSphere MQ. Used only if
authentication is required.
• Send as text
Select whether to send data as text (True) or binary (False). See “Message
formats” on page 212.
• Send properties
Select whether to send properties (see “Message properties – output connectors”
on page 213) in the message.
• Message persistence
• Queue defined
Use the message persistency specified for the message queue.
• Persistent
Write the message to disk. The message will be recoverable in case of system
failure.
• Non persistent
Process the message in memory. This will improve performance at the
expense of security.
• Message segmentation
Runtime settings
• Queue manager
See Platform settings above.
• Queue
The message queue to listen to.
• Channel
See Platform settings above.
• Custom Properties
List of name-value pairs to use as message properties for the out going message.
See “Message properties – output connectors” on page 213.
• Message Id
A message identifier. Enables sending and receiving applications to correlate
messages. Maximum length is 24 characters.
• Correlation Id
The correlation Id for the outgoing message. Used when sending a reply to an
earlier received WebSphere MQ message. See “Replying to a received message”
on page 215.
• Remote Queue manager
The name of a remote queue manager. Used when sending a reply to an earlier
received WebSphere MQ message. See “Replying to a received message”
on page 215.
• Message persistence
See Platform settings above. <Default> means use Platform settings.
• Message segmentation
See Platform settings above. <Default> means use Platform settings.
See the WebSphere MQ manual for more information on how to use wildcards in
topic subscriptions.
• Topic object
The topic object to listen to. At least one of the settings Topic object and Topic
must contain a value. If both values are set, Topic specifies the topic relative to
the Topic object.
• Channel
The name of the server connection channel to use to connect to WebSphere MQ.
Leave this empty if you want to use direct server connection. See “Server
connection channel” on page 210.
• TCP/IP Profile
A TCP/IP profile (see “TCP/IP profiles” on page 404) that contains the
connection settings (host and port) and secure channel settings.
Note: The recovery settings in the connection profile are not applicable to
WebSphere MQ.
• Authentication profile
An authentication profile (see “Authentication profiles” on page 407) that
contains user name and password to access WebSphere MQ. Used only if
authentication is required.
• Aggregate message groups
Select True to aggregate all messages in a message group before sending the data
to StreamServer. See “Message groups” on page 211.
• Durable subscription
Select True to make sure StreamServer will not miss any messages if it is not
running. This will increase robustness but decrease performance and requires
more storage on the server. Please note that there are differences between the
WebSphere MQ versions in how durable and non durable subscriptions are
treated.
• Subscription name
The subscription name.
Platform settings
• Queue manager
The queue manager that owns the message queue.
• Topic
The topic to listen to. You may use either character based wildcards or topic
based wildcards – but not a combination of both.
If you do not want to use the characters %, ? and * as wildcard characters, they
must be escaped by a % character.
See the WebSphere MQ manual for more information on how to use wildcards in
topic subscriptions.
• Topic object
The topic object to listen to. At least one of the settings Topic object and Topic
must contain a value. If both values are set, Topic specifies the topic relative to
the Topic object.
• Channel
The name of the server connection channel to use to connect to WebSphere MQ.
Leave this empty if you want to use direct server connection. See “Server
connection channel” on page 210.
• TCP/IP Profile
A TCP/IP profile (see “TCP/IP profiles” on page 404) that contains the
connection settings (host and port) and secure channel settings.
Note: The recovery settings in the connection profile are not applicable to
WebSphere MQ.
• Authentication profile
An authentication profile (see “Authentication profiles” on page 407) that
contains user name and password to access WebSphere MQ. Used only if
authentication is required.
• Send as text
Select whether to send data as text (True) or binary (False). See “Message
formats” on page 212.
• Send properties
Select whether to send properties (see “Message properties – output connectors”
on page 213) in the message.
• Message persistence
• Queue defined
Use the message persistency specified for the message queue.
• Persistent
Write the message to disk. The message will be recoverable in case of system
failure.
• Non persistent
Process the message in memory. This will improve performance at the
expense of security.
Runtime settings
• Queue manager
See Platform settings above.
• Topic
See Platform settings above.
• Topic object
See Platform settings above.
• Channel
See Platform settings above.
• Custom Properties
List of name-value pairs to use as message properties for the out going message.
See “Message properties – output connectors” on page 213.
• Message persistence
See Platform settings above. <Default> means use Platform settings.
Some examples of the options available with the Vista Plus Output Manager
connector include:
• Specifying which device the output from Communications Center is sent to – be
it a printer, fax, email, or Vista Plus server.
• Assigning priority to output jobs.
• Linking the Communications Center output to schedules and calendars in
Output Manager, which control when printing occurs.
For more information about Vista Plus Output Manager, see the documentation
available on My Support.
Completed jobs
StreamServer applications mark the top job as completed in the repository when
they receive any of the following statuses from Output Manager:
• JOBSTOPPED – Completed with warnings.
• JOBCOMPLETE – Completed successfully.
• JOBERRORCOMPLETE – Completed with errors.
• JOBKILLED – Completed with errors.
• JOBREMOVED – Completed with warnings.
• JOBCORRUPT – Completed with errors.
Mapping example:
However, it is not possible to map all the codes directly. Output Manager has many
types of devices (printers, Vista Plus servers, etc.) and returns the status details of
each type of device as attributes. You will need to test the job and device codes and
attributes to make a mapping that is relevant in your environment.
Prerequisites
• The Vista Plus Output Manager web service must be running before you can
submit jobs to Output Manager.
To create a connection profile for Output Manager and a Vista Plus Output
Manager connector
1. In Design Center, create a connection profile for Output Manager. See “Creating
a web service profile for Output Manager” on page 229.
3. Activate the physical Platform layer, open the connector, and select the type
Vista Plus Output Manager.
4. Enter the platform settings for the connector. See “Platform connector settings”
on page 233.
5. If required, enter the runtime settings for the connector. See “Runtime connector
settings” on page 234.
2. “Setting up a web service connection profile for Output Manager” on page 231
If you use a certificate signed by a trusted root certificate authority, you can skip
Step 1 to Step 3.
2. Add the certificate to a Java KeyStore. See “Importing the certificate to a Java
KeyStore” on page 230.
3. In the resource set in Design Center, import the certificate and set up a
certificate store profile resource for the certificate. See “Importing the certificate
and creating a Certificate store profile resource” on page 231.
4. In the resource set, set up a secure channel profile resource. See “Creating a
Secure channel profile resource” on page 231.
2. At the command prompt, move to the directory containing the Output Manager
certificate file.
where:
<file_name> – Is the file name of the certificate.
4. Click Add and then browse to and select the Output Manager certificate
resource.
4. On the Certificate store profile list, click the certificate store profile you created
in the previous step.
Next step
Create a Vista Plus Output Manager web service profile that uses HTTPS
communication. See “Setting up a web service connection profile for Output
Manager” on page 231.
6. On the Authentication profile list, click <Create new...>, and enter your Output
Manager user name and password.
• To use HTTPS communication, click the secure channel profile you set up
previously. For information about setting this up, see “Setting up HTTPS
communication with Output Manager” on page 230.
• Name - The name of the connection profile cannot include underscore characters
(“_”) and must be unique in the domain where the Communications Center
application will run.
• Profile sub-type - Vista Plus Output Manager
• URL - The URL and port to Output Manager in the format http://
server:port. To use HTTPS communication, you must use the https prefix.
• Attempt recovery - Specifies whether Communications Center software should
try to reconnect to Output Manager if it does not respond. Available options are
Never, Limited times and Forever.
• Number of Retries - The number of times Communications Center software
should try to reconnect if the computer does not respond. (Applicable if Attempt
recovery = Limited times)
• Retry Interval - The interval (seconds) between retries. (Applicable if Attempt
recovery = Limited times or Forever)
• Authentication profile - Select the authentication profile to use.
• Secure channel profile - Leave this blank to use HTTP communication. If you
want to use HTTPS communication, select the secure channel profile to use. For
information about setting up a secure channel profile, see “Creating a Secure
channel profile resource” on page 231.
• Proxy host - The host name or IP address of the proxy host. (Optional)
• Proxy port - The proxy port number. (Optional)
• Connect timeout - The connection timeout for the web service during the job
submission.
• Request time-out - The time the Communications Center application waits for a
response from the web service.
Click and select the web service profile. For information about setting up a
web service profile, see “Creating a web service profile for Output Manager”
on page 229.
• Queue
The queue to add the job to. You must specify the queue in either the platform or
runtime connector settings.
• Account Code
The account number for billing or tracking the job.
• Device
The name of the printer or device.
Maximum field length = 31 characters.
• JME Hosts
The Job Manage (JME) hosts to assign the job to. You can specify multiple hosts
using the format: host1,host3,host3
• Callback Notifications
Indicates whether Output Manager sends notifications about the job status back
to the StreamServer application. This is required to track the Output Manager job
status.
• Callback Service Name
The service name that will receive the job status notifications. You must also
enter this name in the Service name box of the Service Request input connector
that receives the job status notifications.
• External Job Completion
True – StreamServer applications wait for a job completion notification from
Output Manager before marking the top job as completed in the repository.
Note: This has no effect on the Output Manager runtime nice level.
• Account Code
The account number for billing or tracking the job.
• Spool File Type
Specifies how the print file is spooled:
• BINARY – No CR-LF translation is done. Use this option for files with internal
formatting characters, such as word processing documents.
• TEXT – The print file is spooled as text.
We recommend you specify the Spool File Type when transferring files between
Windows and UNIX environments.
• Device
The name of the printer or device.
Maximum field length = 31 characters.
• Retention Time
The time a print file is held in a retention queue after it is printed. For
information about automatically extracting this by using a script, see Vista Plus
Output Manager documentation.
The format can be either a relative time (e.g. +24:00 – hold for 24 hours) or an
absolute time (e.g. 20:00 – hold until 8 p.m.). For a description of the formats, see
“Deferral Time” on page 236 property.
• Page Count
A page count that overrides the calculated value.
• Copies
The number of copies to print. The default is 1.
• Max. Conc. Jobs
Specifies the maximum number of jobs with the same job name that the Queue
Manager (QME) can run concurrently. This applies for both print and batch
queues.
If you submit several jobs with the same job name and different values for this
option, then the QME uses the lowest value.
• Printer Form
The name of the form to print the job on.
• Device Bind
Use this option to specify a printer, but submit the job to a preliminary queue for
pre-processing before it is moved to the queue for printing. If you do not use this
option, when a printer is specified for a job, the job waits for that printer until it
is available.
If no date is specified and the time is later than the current time, the job is run
today. If the time is earlier than the current time, the job is run tomorrow.
If the given month is earlier in the year than the current month and no year is
specified, the job is run next year.
• Current Time
The submission time for the job. For information about the format of this time,
see “Deferral Time” on page 236 property.
If you leave this blank, the system time is used as the submission time.
• User Name
Submits the job under another user name.
Format: <user name>/<password>
• Calendar Name
Attaches a predefined calendar to the job. You must have already created and
uploaded the calendar to Output Manager by using the calendar utility (qmcal
command) or the Windows Administration client.
• Schedule Name
Attaches a predefined schedule to the job. You must have already created and
uploaded the schedule to Output Manager by using the schedule utility
(schedule command) or the Windows Administration client. This option
overrides any calendar assigned.
• Schedule Options
When to reschedule a repeating job. This is only valid if you use a schedule or a
repeat interval. You can use one of the following:
• IMMEDIATE – The job is resubmitted after the first job run starts (default).
• AFTERSUCCESS – The job is resubmitted after it successfully completes. If it
fails, it is removed from the queue.
• AFTERCOMPLETION – The job is resubmitted after the first run completes
regardless of whether it succeeds or fails.
• Orientation
The page orientation for printing the output:
• PORTRAIT – The default.
• LANDSCAPE
• UNDEFINEDORIENT
• Plex
Specifies how the printer prints successive pages:
• SIMPLEX – On one side of the paper (default).
• DUPLEX – Double-sided for binding along the long edge of the paper.
• TUMBLE – Double-sided for binding along the short edge of the paper.
• Input Tray
The feed tray from which the printer paper is drawn:
• UNDFINEDTRAY (Default)
• AUTOMATIC
• ENVELOPE
• MANUAL
• TRAY<number> – The tray number, which must be between 1 and 9.
• Output Tray
The output tray for the printed pages:
• 0 – Undefined (default).
• 1 to 50 – The output tray number.
• File type
By default the connector determines the file type based on the driver. You can
also specify the file type.
• Finishing
The type of binding that the printer uses:
• NOFINISH or NONE – Does not bind the pages (default).
• STAPLE
• SINGLEPORTRAITSTITCH
• DUALPORTRAITSTITCH
• SINGLELANDSCAPESTITCH
• DUALLANDSCAPESTITCH
• SADDLESTITCH
• BIND
• UNDEFINEDFINISH
• Page Sort
Indicates the order in which the pages are printed:
• 1TON – Print from page one to the last page (default).
• NTO1 – Print from the last page backwards to page one.
• UNDEFINED
• Collated
Enables collation, which sends each copy of a multiple-copy job to a separate
output tray.
• Header
Indicates that a header file must be attached to the beginning of the print file
before it is sent to the printer. You can attach the header by using a qmlpd script,
or by using another script or program. The location of the header file must be
determined by the script or program.
• Trailer
Indicates that a trailer file must be attached to the end of the print file before it is
sent to the printer. You can attach the trailer file by using a qmlpd script, or by
using another script or program. The location of the trailer file must be
determined by the script or program.
• Reference Directory
The path where the job executes. The default is the directory where the JME
process that executes the job runs.
• Job Variables
For custom variables and metadata, such as an external job ID, which are used to
run the job on the JME host. Use the following format:
<variablename1>=<value1>;<variablename2>=<value2>
sap_spoolid=$spoolid;sap_rmg_id=$rmgid;sap_device=$device
You must create these variables in a script that comes before the output
connector, for example before Process.
• Queue Entry Access
Specifies the access level for a queue entry in Output Manager. By default,
Private is set. This will not enable all web client users to access queue entries
when security is enabled for connecting with the web client.
• Private – Access is restricted to the user who submitted the job.
• Read – All web client users have read access to the job.
• Update – All web client users have update access to the job.
• Read Update – All web client users have read and update access to the job.
To receive job status notifications and trigger custom actions, such as sending emails
or updating SAP Delivery Manager, you must also set up a Service Request input
connector and a MessageIN Event.
Note: These steps assume the Output Manager connector is already set up.
• In the Vista Plus Output Manager output connector, in the External Job
Completion box, click True.
1. In the Vista Plus Output Manager output connector, set up the following
properties in the Platform or runtime configuration:
Tip: Job variables are found in the env field of the MessageIN Event. To
retrieve job variables you can create a script function in a function file and
import it to the resource set. For an example, see Example 7-33, “Function
to retrieve the job variables” on page 241.
In Communications Center, you must set up a Service Request input connector and a
MessageIN Event to receive the notifications.
To create a Service Request input connector and MessageIN Event for device
tracking
3. In the Service name box, enter a name for the service that receives the
notifications. This must match the service name entered for the device in Output
Manager, see Step 3 above.
4. Add the VPOMDeviceNotification SXD file to the resource set. This file is
found in the following directory: <OpenText Communications Center
installation directory>\
Applications\StreamServer\<Version>\Tools\System\data\sxd
Next steps
To send the notifications in an email or SMS you must also set up an appropriate
Process.
By default, the Platform includes two pre-configured input and output queues. You
can connect any of these queues to your input and output connectors. You can use
the pre-configured queue settings, and you can also edit the queue settings if you
need to.
In this dialog box, you can configure the settings for all existing queues. You can also
create new queues, rename queues, and delete queues using this dialog box.
To add a queue
1. In the Manage Queues dialog box, click Add. A new queue is added to the list
of available queues.
2. Rename the queue.
To rename a queue
1. In the Manage Queues dialog box, right-click the queue you want to rename,
and select Rename.
Figure 8-2: Using transactional support to deliver all output when the job is
complete
For more information about setting up priorities, see “Setting the job priority for the
input connector ” on page 86 or “Setting the job priority for the output connector”
on page 95.
Both scheduled spooling and automatic spooling can be disabled. For example, if
you use one StreamServer application to queue input jobs and another application to
process jobs, you can switch off both scheduled spooling and automatic spooling in
the application that receives the input jobs.
7. Optionally, select Spool for a limited time and enter the time period.
Sharing is by default disabled for the queues. This to prevent from unintentional
queue sharing, where one StreamServer application consumes another StreamServer
application's jobs.
Note: If you disable sharing for a queue in Project A, and enable sharing for
the same queue in Project B, then StreamServer B can consume
StreamServer A's jobs. StreamServer A cannot consume StreamServer B's
jobs in this case.
To enable sharing
There are several reasons to store blobs on disk, for example to:
• Improve performance.
• Decrease the amount of repository data to backup.
• Minimize the risk to reach maximum database and tablespace limits.
Note: Archiving must be disabled for the output connector if you select to
store blobs on disk.
6. In Blob path, specify the path to the folder where to store the files.
To delete a queue
1. In the Manage Queues dialog box, select the queue you want to delete and click
Delete. A dialog box opens.
2. Click Yes to confirm. The queue is deleted, and all connectors that used the
queue is no longer connected to a queue.
1. Activate the Project component view in the Main window (for example, double-
click the corresponding node in the Project browser).
3. In the Select Resource Sets dialog box, select the resource set to connect, and
click OK.
3. In the Remove Resource Sets dialog box, select the resource set to disconnect,
and click OK.
• Create a new resource file using a resource editor, and link the resource file to the
resource set. See “Creating resources using resource editors” on page 250.
• Create a new resource file by importing a source file, and link the resource file to
the resource set. See “Creating resources by importing source files” on page 250.
• Link an existing resource file to the resource set. See “Linking existing resources”
on page 251.
• Create a new font resource file by importing a font, and link the resource file to
the resource set. See “Importing fonts” on page 251.
1. Right-click the node (root node or folder) where you want to add the folder, and
select New > Folder. A new folder is added.
1. Right-click the resource set, select New and the resource type. A new resource is
added to the resource set.
4. Configure the resource, save the resource, and close the editor.
To edit the resource, you can edit the source file, and then update the resource. See
“Editing imported resources” on page 252. If you have specified a resource editor
for the resource, you can also use the resource editor to edit the resource.
1. Right-click the resource set, select Import and browse to and select the source
file. The Resource Type Settings dialog box opens.
2. Specify the resource type and click OK. A new resource is added to the resource
set.
2. In the Select CAS resources dialog box, browse to and select the resource file. A
new resource is added to the resource set.
Importing fonts
This is a special case of importing source files. Using this method, you can manually
import fonts from the Fonts directory to the resource set.
To import fonts
1. Right-click the resource set, and select Import Font. The Select Fonts dialog box
opens.
2. Specify the fonts to import, and click OK. The new resources are added to the
resource set.
2. Right-click the resource set where you want to insert the resource, and then
click Paste.
2. Edit the resource file, save it, and close the editor.
1. Right-click the resource and select Resource Type. The Resource Type Settings
dialog box opens.
When you create a resource using New, you select which resource type to create. All
these resource types have default resource editors. You can change the resource
editor for all resource types but the following:
• Filter Chain
• RDI Setting
• Security configuration
• StoryTeller document
1. Right-click the resource and select Resource Editor. The Set Resource Editor
dialog box opens.
2. Select Pick resource editor, browse to and select the resource editor, and click
OK.
1. Right-click the resource and select Extract To File. A file browser opens.
2. Specify the file path, including file name and extension, and click OK.
• Image
• Overlay
• Sheet Layout
• Rule
You can navigate to the objects from the Show Dependencies dialog box:
1. Select the object, and click Go to selected item. The corresponding view opens
with the object highlighted.
An input job contains several documents (invoices, delivery notes, etc.). If no sorting
is applied, the documents are processed in the order they are received. In some
situations you need to sort the documents. For example, to be able to use a
Document trigger, you may have to sort the input documents before they are
processed.
Sort keys
You use sort keys to specify how to sort documents. See “Sort keys”
on page 257.
Sorting Documents
You can sort the output after it is grouped as Documents (using a Document
trigger). This also applies to documents retrieved from a Post-processor
repository. See “Sorting Documents” on page 261.
Scenario – No sorting
The figure below illustrates a simple scenario where the input job contains four
documents:
• One hardware invoice (hw) and one software invoice (sw) to customer 01.
• One hardware invoice and one software invoice to customer 02
2. Right-click the Runtime job and select Edit Sort Definition. The Edit Event Sort
Definition dialog box opens.
3. Click Add New. The Add Sort Key dialog box opens.
In this scenario, the documents are not delivered in the same order.
• Document order for Customer 01:
1 – Software invoice
2 – Hardware invoice
• Document order for Customer 02:
1 – Hardware invoice
2 – Software invoice
In this scenario, the hardware invoices are delivered before the software invoices.
• Document order for Customer 01:
1 – Hardware invoice
2 – Software invoice
• Document order for Customer 02:
1 – Hardware invoice
2 – Software invoice
2. Double-click the connector. The Edit Output Connector Settings dialog box
opens.
3. Double-click the Runtime job that contains the Document. The Runtime Output
Connector Settings dialog box opens.
5. On the Process Sort Definition tab, click Edit Process Sort Definition. The Edit
Process Sort Definition dialog box opens.
6. Click Add New. The Add Sort Key dialog box opens.
Figure 10-7: Sort before Process using $customerNumber as sort key, and
after Process using $documentType as sort key.
To sort Documents, you must add one or more sort keys to the output connector in
the generic Runtime configuration layer.
2. Double-click the connector. The Edit Output Connector Settings dialog box
opens.
3. Double-click the Runtime job or Post-processor job that contains the documents.
The Runtime Output Connector Settings dialog box opens.
5. On the Document Sort tab, click Add New. The Add Sort Key dialog box opens.
11.1 Message
A Message is a tree structure of tagged fields and blocks that is used internally by
StreamServer when transforming input documents into output documents. The
Message is independent of the input and output format which means StreamServer
can receive input in any format, transform the input into a Message, and then
transform the Message into any output format.
11.3 Platforms
The Platform represents the StreamServer application to which the Project is
deployed, and contains the environment settings for that StreamServer application.
This includes available connectors, queues, and paths used to find local resources.
The Platform is divided into one generic layer (settings that apply to all physical
environments) and one physical layer per target environment (development, test,
etc.). See “Platform layers” on page 269 for more information about layers.
The part of the Message configuration that extracts the input documents and creates
the Message is called Event, and the part that creates output documents is called
Process.
References
• “Message” on page 263
• “Events” on page 264
• “Processes” on page 265
11.4.1 Events
An Event defines how to identify documents in the input job, which parts of an
input document to extract, and how to create the Message.
Trigger patterns
An Event is triggered by patterns in the input data. When a matching pattern is
found, the Event starts to extract data from the input and creates the Message.
Message definition
The instructions on how to create the Message, i.e. a tree structure of named
fields and blocks, are defined in the Event. When the data is extracted from the
input, the Event uses these instructions to map non-recurring input data to
fields at root level, and recurring data to fields in blocks.
11.4.2 Processes
A Process defines which fields and blocks in the Message to use, and how to
organize the fields and blocks in the output documents.
Job scope
A Runtime job starts when the first of its documents is found in the input job, i.e.
when the first Event in the Runtime job is triggered. A Runtime job ends when
the last of its documents retrieved from the input job has been processed and
delivered from the Processes.
Document definitions
For each Runtime job and output connector, you can define Documents. A
Document includes output from Processes in the same Runtime job. See “Output
mode Document” on page 99 for more information.
Connector settings
The Runtime job enables you to configure connector settings that apply to all
included Processes:
Sorting
The Runtime job enables you to sort the documents extracted from the input job
before the output jobs are created. For example, when using output mode
Document, you may have to sort the input documents before the output
documents are created. See “Sorting“ on page 255 for more information about
different types of sorting.
11.5.2 Post-processors
A StreamServer can store page formatted documents in a Post-processor repository.
These documents can later be retrieved and processed by any StreamServer with
access to the repository. To retrieve documents from a Post-processor repository,
you must add a Post-processor to the Runtime configuration.
Process links
A Post-processor always includes a default Process Link, which is used as the
connection point to the output connector. To enable Process specific or Page
specific output connector settings, you must add a new Process Link to the Post-
processor job. This Process Link must be linked to the Process that stored the
corresponding document in the Post-processor repository.
Connector type
There are different types of input connectors. Which type to select depends on
how the input jobs are retrieved from the source application. For example, if the
source application stores output files in a directory, you can use a Directory
input connector to retrieve the files from the same directory.
Queue
You can connect input queues to the input connectors. The input queue stores
input jobs before they are processed by the StreamServer.
Connector type
There are different types of output connectors. Which type to select depends on
how the output jobs are delivered to the target application. For example, if the
target application is a printer, you can use a Spool output connector to deliver
the output to the printer.
Driver
If the output connector delivers page formatted output to the target application,
you must add the appropriate device driver to the output connector. For
example, if the target applications a PCL printer, you must add the appropriate
PCL device driver to the output connector.
Queue
You can connect output queues to the output connectors. The output queue
stores the output jobs before they are delivered to the target application.
Output mode
You must specify the appropriate output mode for each output connector. See
“Output modes” on page 98 for more information about output mode.
Several StreamServer applications can share the same input queue. This provides
possibilities for scaling over multiple StreamServer applications.
Several StreamServer applications can share the same output queue. This provides
possibilities for scaling over multiple StreamServer applications.
Which output mode to use depends on the type of output and target application.
The default output mode Process can be used in different types of scenarios. In other
scenarios you may have to use output mode Document or Job.
11.11 Resources
All external files that you refer to when you configure a Project must be available to
the Project as resources. A resource in this context is a file with an embedded source
file. For example, to be able to use the image file logo.gif in a Project, this file must
be embedded in a resource. Resources are stored on disk, for example in the local
Project directory, or in a directory shared by several Projects.
Resource examples
• Overlays – layouts to include in page formatted output.
• Images – images to include in page formatted output.
• Filter chains – a collection of filters that can be used by a connector.
Project export
When you export a Project, you create an export file (*.export) that includes all
the configuration files needed by the StreamServer application. The export file
includes the configuration files for all Platform layers defined in the Project. You
also have to option to include the.dcpackage file in the export file. Including
the .dcpackage affects performance if you make a local redeploy from Design
Center.
Deployment
You deploy Projects In Control Center. When you deploy a Project to a
StreamServer application, you must specify which Platform layer to deploy. All
the configuration files are then extracted from the export file, and stored in the
working directory of the StreamServer application.
11.15 Glossary
• Alias
Method used to configure settings dynamically. There are two types of aliases:
• Script alias, where you use scripting to determine which alternative to select.
• Lookup alias, where you use lookup tables to determine which alternative to
select.
• Document
A Document (capital D) is a grouping of documents per customer number,
delivery address, etc. The scope of the Document is specified using a Document
trigger.
• Document trigger
A variable that determines the scope of the Document.
• Event
An Event defines how to identify documents in the input job, which parts of an
input document to extract, and how to create a Message.
• Event tool
Each Event type has its own Event tool (PageIN, StreamIN, XMLIN, etc.) where
the Event is configured.
• Export
When you export a Project, you create an export file (*.export) that includes all
the configuration files needed by the StreamServer application. The export file
includes the configuration files for all Platform layers defined in the Project.
• Filter chain
A collection of filters that can be used by a connector.
• Generic Platform layer
The generic Platform layer (also referred to as logical layer) includes settings that
must be the same in all target environments.
• Input Analyzer
Enables input connectors to receive input in different formats, and to deliver the
input to the appropriate Event.
• Input connector
Input connectors are the channels through which input jobs are received.
• Input job
A stream of data, with a distinct beginning and end, received via an input
connector, and processed by the StreamServer.
• Input queue
An input queue stores input jobs before they are processed by the StreamServer.
• MailOUT
Process used to create email output.
• Message
A tree structure of tagged fields and blocks used internally by the StreamServer
when transforming input documents into output documents.
• Message configuration
A Message configuration defines:
• How to identify documents in the input job.
• Which parts of an input document to extract.
• How to create a Message.
• How to use the Message to create the output documents.
• MessageIN
Event for OpenText Communications Center Enterprise XML input data.
• MessageOUT
Process for output data sent to a MesageIN Event. The MessageOUT Process
makes it possible to extend the processing chain over multiple StreamServers.
• Output connector
Output connectors are the channels through which output jobs are delivered.
• Output job
An output job is equivalent to a file, created by the StreamServer, and delivered
via an output connector to a target application (printer, fax, etc.). The scope of the
output job is set by the output mode, and in some scenarios by using script
functions (e.g. SetDestPath).
• Output mode
The output mode specifies how to group documents before they are delivered
via the output connector to the target application.
• Output mode Document
In output mode Document, the output is delivered as Documents. This means
the output connector waits until the Document is complete before it delivers the
output.
• Output mode Job
In output mode Job, the output connector waits until the whole Runtime job is
finished before it delivers the output.
• Output mode Process
In output mode Process, the output connector delivers the output as it arrives
from a Process. This means each output document is delivered separately.
• Output queue
An output queue stores the output jobs before they are delivered to the target
applications (printers, faxes, etc.).
• PageIN
Event for page based input data.
• Physical Platform layer
A physical Platform layer includes environment specific settings.
• Platform
The Platform represents the StreamServer application to which the Project is
deployed, and contains the environment settings for that StreamServer
application.
• Post-processor
Used to retrieve documents from a Post-processor repository.
• PreformatIN
Event for pre-formatted (e.g. PDF) input data.
• Process
A Process defines which fields and blocks in a Message to use, and how to
organize the fields and blocks in the output documents.
• Process tool
Each Process type has its own Process tool (StoryTeller, StreamOUT, XMLOUT,
etc.) where the Process is configured.
• Project
The configuration used by a StreamServer application to collect, transform, and
deliver data. In Design Center, you create and configure the Project. Then you
export the Project, and deploy it to the appropriate StreamServer application.
• RedirectOUT
Process used to redirect input data directly to an output connector, and skip the
processing steps in the StreamServer.
• Resource
All external files that you refer to when you configure a Project must be available
to the Project as resources. A resource in this context is a file with an embedded
source file.
• Resource set
A resource set is a set of links to physical resource files stored on disk.
• Runtime configuration
The Runtime configurations in a Project connects Message configurations to the
Platform.
• Runtime job
Toolbars tab
On this tab you enable/disable toolbars and tooltips, and modify the appearance of
the toolbars.
• Toolbars
Displays all available toolbars. Use the check boxes to specify which toolbars to
display in Design Center.
• Show Tooltips
Select to enable tooltips for the toolbar buttons.
• Flat look
Select to flatten the toolbars.
• Large buttons
Select to display large size toolbar buttons.
• New
Add a new custom toolbar.
• Reset
Reset selected (native) toolbar to include its default toolbar buttons. Can be used
if you have added new buttons to the toolbar.
• Delete
Delete selected (custom) toolbar.
Command tab
On this tab you can see descriptions of all Design Center toolbar buttons. You can
also drag buttons and menus to any toolbar displayed in Design Center.
• Categories
Displays all available toolbar and menu categories.
• Buttons
Displays the buttons in the selected category. You can drag buttons from this
panel to any native or custom toolbar.
• Description
Shows the description of the selected button.
• Project name
The name of the Project.
• Default code page
The default code page in all code page drop-down lists in the Project.
• Default Resource set
The default resource set of the Project. This resource set is automatically
connected to all Platforms, Message configurations, and Runtime configurations
you create from within the Project.
• Project key
The ID of the Project. This is generated automatically and cannot be changed.
• Connect to CAS
The CAS the Project is connected to. If you want to connect the Project to a
different CAS (for example if you want to use the Project for another tenant),
click Disconnect.
When unpacking a Project from another tenant or environment, you should also
click Disconnect.
• Category
The category label of a template. When you create a new Project using this
template, you will find the template under the category you specify here.
• Description
A description of a template. When you create a new Project using this template,
you see this description when you select the template.
• Save as Project Package
Save the Project as a Project package.
• Save as Project Template
Save the Project as a Project template.
Open the Project template information dialog box, where you can edit the name,
category, and description of the selected template.
•
Normally, the Project contains one Platform only. If there are Several Platforms in
the Project, you select the Platform by clicking the appropriate Platform icon. Then
you specify the settings for the selected Platform.
• Activated Runtimes for selected Platform
Select the Runtime configurations to include in the export. All Runtime
configurations built on the selected Platform are included in this list.
• InputAnalyzer tab
On this tab, you configure Input Analyzer settings for the selected Platform.
• Edit current Platform arguments
Shortcut to the “Configure Platform Export dialog box” where you specify the
startup arguments to include in the export. You specify the startup arguments
per physical layer of the selected Platform.
Display the names of all Events, of the selected input type, connected to the input
connector.
Add a filter chain to the selected input type. See “Adding filter chains”
on page 540for more information.
•
All used fonts are displayed in a list. You can click the column labels to set the sort
criterion.
• Font
The name of the font.
• Dependencies
The Process where the font is used.
• Type
For example StoryTeller (Process) or StoryTeller Document (*.ssd).
• Go to selected item
• Activate the Message configuration that contains the Process where the font is
used. The Process is highlighted in the Message view.
• Activate the resource set that includes the overlay. The overlay resource is
highlighted in the resource set view.
<ManagementGateway>\<Version>\root\applications
\<streamServerApplication>\data\package
• Version number
Select the version number of the export file. For example, if you want to keep the
existing configuration for a StreamServer application, and run another
application with a modified export configuration.
• Scripts
Opens the “Scripts dialog box” where you can specify scripts to be executed
before or after the Project is exported.
• Configuration conflicts
If there are any conflicts in the export configuration, this will be displayed here.
The following variables are set by Design Center, and can be used in the pre-export
and post-export scripts:
$(ExportPackage)
The full path to the export file (*.export) created by the export.
$(ChecksumFile)
The full path to the checksum file (*.sfv) created by the export.
$(ProjectName)
The name of the Project.
$(ProjectPath)
The path to the Project folder.
Use the following syntax to pass one or more variables to the script:
In this mode, the dialog box is divided into the following tabs:
• “Job Status tab” on page 285
• “Advanced tab” on page 286
Settings
• Enable Cache
Select to enable caching of resources.
• Store Document Broker Plus Blobs on disk
Select to store Document Broker Plus blobs as files on disk, which improves
performance in scenarios where you have a few StreamServer applications on a
single computer.
If you have a complex environment, where you run many StreamServer
applications or run StreamServer applications on several computers, storing
Document Broker Plus blobs on disk does not improve performance.
By default, Document Broker Plus blobs are stored in the Document Broker
repository. If you select Store Document Broker Plus Blobs on disk, the
Document Broker repository only contains properties, not the actual data.
• Blob path
Only available if you select Store Document Broker Plus Blobs on disk.
Path to the folder where you want to store the files.
If several StreamServer applications use a common Document Broker repository,
you must specify the same absolute path for all applications.
In this mode, the dialog box is divided into the following tabs:
• “Recording Mode tab” on page 287
• “File Cache tab” on page 287
There are also shortcut menu commands (right-click the queue list) that you can use.
• Add
Add a new queue to the Platform.
• Delete
Delete the selected queue. The queue will be deleted from all connectors using it.
• Rename
Rename the selected queue.
• Set as default input queue
Make the selected queue the default input queue. When you add a queue to an
input connector, and select the option (Use default), this queue is selected.
• Set as default output queue
Make the selected queue the default output queue. When you add a queue to an
output connector, and select the option (Use default), this queue is selected.
Note: If you disable sharing for a queue in Project A, and enable sharing
for the same queue in Project B, then StreamServer B can consume
StreamServer A's jobs. StreamServer A cannot consume StreamServer B's
jobs in this case.
Note: All jobs must be finished before you change this setting and redeploy
the Project.
• Blob path
Path to the folder where to store the files.
To store blobs on a network share, you must use UNC (Uniform Naming
Convention) when you specify the path. You cannot use drive letters.
For example, you can use \\wtvs01\data\queues but not H:\data\queues
when you specify the path.
The settings described below apply to both the Arguments and Administrator
Arguments.
• Selected layer
Use this drop-down list to select the physical layer to configure.
• Name/Value list
“Queue tab” on page 293 – On this tab, you specify which queue to connect to
the connector.
•
“Filter chain tab” on page 293 – On this tab, you can connect filter chains to the
input connector.
•
“General tab” on page 294 – On this tab, you can add notes to the connector.
Selection buttons
Adds the selected filter chain to the Selected field. This means you have
specified the filter chain to add to the connector.
Removes the filter chain from the Selected field. This means you have not
specified the filter chain to add to the connector.
Editor buttons
Adds an existing resource set to the Platform. This new resource set will be
available in the Look in list. Note that the resource set is not automatically
added to the Project.
Creates a new resource set and connect it to the Platform. This new resource set
will be available in the Look in list. Note that the resource set is not
automatically added to the Project.
Resource buttons
Creates a new empty filter chain and add it to the selected resource set. You can
now edit the filter chain and add it to the Selected field.
Adds an existing filter chain to the selected resource set. You can now add the
filter chain to the Selected field.
• “Connector Settings tab” on page 295 – On this tab, you select the type of
input connector to use, and configure the connector type specific settings.
• “HTTP Access tab” on page 295 – On this tab, you configure HTTP Access
settings for the connector.
•
“General tab” on page 294 – On this tab, you can add notes to the connector.
You must configure HTTP Access settings in order to receive input via an HTTP or
HTTPS input connector. The input received via the HTTP(S) input connector can
also be passed on to another connector. In this case, you must also configure the
HTTP Access settings for that connector.
• HTTP Connector
All HTTP and HTTPS connectors in the Platform are available in this drop-down
list. If you are configuring an HTTP or HTTPS connector, you must select that
connector. For example, if you are configuring an HTTP connector called
HTTP_IN, you must select HTTP_IN from the drop-down list. If you are
configuring any other type of connector, you must select the HTTP or HTTPS
connector to collect the input from.
• URI
The URI of the connector you are configuring.
This example includes one HTTP connector called HTTP_IN and one Internal
connector called INTERNAL. The connectors have the HTTP Access
configurations shown below.
• Note
Add notes to the connector. For example, a short description of what it is used
for. Use Font to specify the note font, and the alignment buttons to specify how
to align the text.
• The “Output Connector Settings dialog box – Generic layer mode”, where you
specify connector settings that apply to all physical layers.
• The “Output Connector Settings dialog box – Physical layer mode”, where you
specify connector settings for each physical layer.
In this mode, the dialog box is divided into the icons and tabs shown in the table
below.
•
“Code page Settings tab” on page 298 – On this tab, you can specify which code
page to apply to the output data.
•
• “Device Driver Settings tab” on page 298 – On this tab, you can specify
which device driver to add to the output connector.
• “Symbol Set tab” on page 299 – On this tab, you can override the symbol set
specified for the connector. Only applicable when sending output to PCL
printers.
•
“Filter Chain Settings tab” on page 300 – On this tab, you can connect filter
chains to the output connector.
•
“Queue tab” on page 301 – On this tab, you specify which queue to connect to
the connector.
•
“Output mode tab” on page 301 – On this tab, you specify the output mode for
the connector.
•
“General Settings tab” on page 302 – On this tab, you can add notes to the
connector. You can also specify options for downloading files (soft fonts,
overlays, etc.) to a printer.
Specify aliases for the driver settings. See “Using aliases” on page 61.
Use the following syntax in the lookup table:
Event.Process.Option.key_value Value
For example:
Note: If the font requires any driver specific setting, you can still use the
standard syntax. However, the ReadFont parameter is not required.
• Font substitution table
Select a font substitution table if you want to add new fonts or override font
definitions in the selected device. The font substitution table must be added to a
resource set connected to the Platform.
You can add new font entries to a font substitution table instead of editing the
actual driver file. The new font entries are added to the exported driver file. You
can also add font entries that override font entries in the driver file. The font
entry syntax depends on the driver to be used. See “Managing fonts“
on page 511 for more information.
When sending output to a PCL printer, there you can override the symbol set in the
code page specified for the connector, and specify a different symbol set for the
printer.
• Look in
Lists all available resource sets. Browse to, and select, the appropriate resource
set.
The list below contains the filter chains and folders included in the selected
resource set. You can double-click a folder to display all items within. In this list,
you select the filter chain to add to the connector.
• Selected
This is the filter chain that will be added to the connector when you click OK.
You can only select one filter chain.
Selection buttons
Adds the selected filter chain to the Selected field. This means you have
specified the filter chain to add to the connector.
Removes the filter chain from the Selected field. This means you have not
specified the filter chain to add to the connector.
Editor buttons
Adds an existing resource set to the Platform. This new resource set will be
available in the Look in list. Note that the resource set is not automatically
added to the Project.
Creates a new resource set and connect it to the Platform. This new resource set
will be available in the Look in list. Note that the resource set is not
automatically added to the Project.
Resource buttons
Creates a new empty filter chain and add it to the selected resource set. You can
now edit the filter chain and add it to the Selected field.
Adds an existing filter chain to the selected resource set. You can now add the
filter chain to the Selected field.
• Rule
Select a rule or rules that pauses the job in the output connector. The job can be
released from the output connector in Supervisor.
See “Adding exception rules to the output connector” on page 102.
• Note
Add notes to the connector. For example, a short description of what it is used
for. Use Font to specify the note font, and the alignment buttons to specify how
to align the text.
In this mode, the dialog box is divided into the icons and tabs shown in the table
below.
•
“Connector tab” on page 303 – On this tab, you select the type of output
connector to use, and configure the connector type specific settings.
•
“General tab” on page 303 – On this tab, you can add notes to the connector.
StreamIN settings
• Input type
The input type of the StreamIN Event. Agent is only used for connectivity packs.
StrsXML and XML are only used for 3.0.1 and older versions.
• Description resource
The description file used by the StreamIN configuration. This file must be
included in a resource set connected to the Message configuration.
• Description ID
The FIELDIN or STREAMIN keyword in the description file (case sensitive).
XMLIN settings
• First
Output from a First Event starts the Message structure. If there are no more
Events in the Message configuration, or if the following Event in the Message is
also a First Event, the Message structure only includes output from this Event.
• Repeating
Output from a Repeating Event is appended to the Message structure.
If you add several sort keys, the sort keys will be applied in the order (top-down)
they are added to the list.
• Key
A variable specified in the Message configuration (Event or script).
• Type
Numeric or String. Specifies whether to sort in numeric or alphabetical order.
• Sort order
The sort order. Specifies whether to sort in ascending or descending order.
•
In this mode, the dialog box is divided into a number of icons (Global Settings, Job
Begin, etc.) and when you click an icon different tabs will be available. If any
settings are configured on a tab, this is indicated by bold labels on the tab and
corresponding icon.
Post-processing scripts
You can apply post-processing specific scripts to documents retrieved from a Post-
processor repository. To enable scripting, you must select the appropriate Process
Link in the Post-processor job when you open the dialog box. You can add scripts at
the following levels:
• Job Begin – scripts to run before the job.
• Document Begin – scripts to run before each document.
• Process Begin – scripts to run before or after each Process document.
To launch the script editor, right-click the corresponding icon and select Script.
Event.Process.Option.key_value Value
For example:
When sending output to a PCL printer, there you can override the symbol set in the
code page specified for the connector, and specify a different symbol set for the
printer.
• Override symbol set in default code page
Select to override the symbol set.
• Static
Select to use a static symbol set.
• Lookup
Select to use a lookup table to specify which symbol set to use. See “Lookup
alias” on page 63 for information on how to use lookup tables.
• Variable
Select to use a variable to specify which symbol set to use. See “Script alias”
on page 62 for information on how to use variables for this purpose.
The StreamServer application that retrieves the documents from the Post-processor
repository has no access to the variables used when the documents were created. To
be able to use these variables, they must be stored together with the documents. On
this tab, you specify which variables to store and make available for post-processing
of the stored documents.
• Variable
The list of variables to store.
•
If any settings are configured on a tab, the label on this tab is bold.
• No change
Use the code page specified for the input. This is either a code page filter added
to the input connector, or a retrieved script added to the Event.
• Lookup
Use a lookup table to specify which code page to use. See “Lookup alias”
on page 63. The lookup table has the following syntax:
• Logical order – Select if the input does not contain Arabic or Hebrew text in
visual order.
• Visual order – Select only if the input contains Arabic or Hebrew text in
visual order. The text is reordered to logical order.
• “Rule tab” – On this tab, you can specify rules for when to trigger the Process.
• “General tab” – On this tab, you can specify general Runtime Process settings.
• “Delivery channels tab” – Applicable for theme enabled Processes. On this tab,
you can enable or disable email features in StoryBoard.
General tab for all Process types but PageOUT and MessageOUT
• Select automatically
Select to trigger the Process automatically. If not selected the Process must be
triggered using the “CallProc” scripting function.
Select to trigger the Process automatically. If not selected, the Process must be
triggered using the “CallProc” scripting function.
• Automatic Doc Trigger
Select to create document boundaries automatically for each Process.
• Discard output on failure
Select to discard the output when an error occurs in the Process (e.g. a
substitution cannot be found, or an XFA template contains errors).
If selected, all output created by the Process (e.g. a PDF file) is discarded, and the
job is marked as failed.
If not selected, some output (or no output) is forwarded to the driver. The driver
will try to process the output and, for example, create an empty PDF file or a PDF
file that only contains the pages up to the page that failed.
In both cases the job is marked as failed, and StreamServer will retry to process
the job depending on the settings on the input queue.
Caution
There are big differences how watermark images are treated in different
email clients. For example, an email client might not support body
background images at all.
We recommend that you use test send in StoryBoard to verify that the
watermark is properly rendered in each email client of interest. If you
identify potential display issues, you must account for those issues in your
Project design, for example by adding text messages to the template.
There are different contexts for configuring the output connector – you can
configure the connector per Runtime job, Process in a Runtime job, Post-processor,
or Process Link in a Post-processor. You specify the context by selecting an option in
this dialog box and clicking OK.
The standard method to create a static connection between a Process and output
connector is to draw a line between them (click-draw-release). In this dialog box,
you have the option to create a dynamic connection using aliases (see “Using
aliases” on page 61).
• None
Select if you do not want to connect the Process to any output connector.
• Static
Select if you want to create a static connection between the Process and an output
connector. Use Connector below to select the connector.
• Connector
Select the static connector.
• Lookup
Use a lookup table to select the connector. The lookup table has the following
syntax:
<key> <connector>
Select the default connector. The output is sent to this connector if there is no
match in the lookup table or script.
If the Message is to be paused by an exception rule, you must select the rule resource
in the dialog box.
• Service
Select to enable a Message to be invoked by service requests.
• Enable service support for content types
When job scaling is used, the processing is done as separate jobs, and there is no way
to merge the batch back automatically once it is processed. This means care must be
taken on the output side so that files are not overwritten etc.
Job scaling works both when queues are used, and when queues are not used.
Performance can be increased more when queues are not used compared to when
queues are used. In some cases when using queues and job scaling with several
threads for small Messages, performance could even decrease when enabling job
scaling. This means tuning is necessary in each Project in order to avoid decrease in
performance.
• Single thread
Use one single thread, and do not enable job scaling.
• Variable trigger
Use a variable to determine how to split the input job. All Messages that have the
same value for this variable will be processed in the same thread. There will be as
many threads used as there are values of the variable.
This can be used, for example, to split a batch of invoices by using the customer
number as variable. All invoices that belong to customer A is processed in one
thread, all invoices that belong to customer B is processed in another thread and
so on.
• Round robin
Use a fixed number of threads for the input job. Splitting is done in a round robin
manner.
• Available fonts
Lists all available fonts in your Windows Fonts directory. You select the fonts to
import from this list.
• Fonts to import
These fonts will be imported to the resource set.
• Add
Add the selected fonts to Fonts to import.
• Remove
Remove the selected fonts from Fonts to import.
• Certificate
Certificates used for encryption and authentication. The certificate files (*.cer,
*.crt etc.) must be imported.
• Description
Description files used by StreamIN configurations.
• Filter Chain
Filter chains that can be connected to input and output connectors. A filter chain
can contain several filters.
• Font
Fonts.
• Function
Function files. A function file is a text file containing user created script
functions.
• Generic
Imported files that do not belong to any of the standard types. This type is
included in the export.
• Image
Image files (*.gif, *.jpeg, etc.).
• Non-exportable
Files that you do not want to include in the export. You may for example import
a Word or Excel document to the Project as an attachment for information.
• OutputPlus configuration
OutputPlus configuration files. Only applicable to SAP Output+.
• Private Key
Private keys used for encryption and authentication. The private key files (*.pfx,
*.p12, etc.) must be imported.
• RDI Setting
Used to import an existing incparam file. Only applicable to SAP E-docs.
• Rule
Rule functions used in rules. The rules can be used as exception rules to pause
Messages before they are formatted and delivered. If uploaded in WorkShop, the
rules can be used as selection rules on themes in WorkShop and resources in
StoryBoard.
• Sample
Sample files
• Security Configuration
Security configurations used for encryption and authentication.
• Sheet Layout
Sheet layouts.
• StoryTeller Document
StoryTeller documents.
• SXD File
SXD files.
• Table
Table files.
• XDP Template
XDP templates.
• XML Stylesheet
XML stylesheets.
The list below shows the default editors for the native resource types.
• Description file
UTF8 Edit
• Filter Chain
Filter Chain Editor
• Function file
Script Editor
• OutputPlus configuration
UTF8 Edit
• RDI Setting
UTF8 Edit
• Rule
Rule Editor
• Sample
UTF8 Edit
• Security configuration
Security Editor
• Sheet Layout
Sheet Layout Editor
• StoryTeller Document
StoryTeller tool
• SXD file
UTF8 Edit
• Table file
UTF8 Edit
• XDP Template
UTF8 Edit
• XML Stylesheet
UTF8 Edit
Find
Enter the search criteria to find a resource in the CAS. Leave this blank to find all
resources of the selected type.
Click <change> to change the type of resource.
Find results
The list of search results. This shows all the resources in the CAS based on the
search criteria entered.
Click <change> to change the number of search results displayed.
Add to selection
Adds the selected resource to the Selected resource area.
Selected resources
The resource you have currently selected.
Selected resources details and version
Shows the information about the selected resource.
Version – The versions of the resource available in the CAS.
All objects are displayed in a list. You can click the column labels to set the sort
criterion.
• Name
The name of the object where the resource is used.
• Type
The type of object where the resource is used.
• Location
The location of the object where the resource is used.
• Go to selected item
Activate the view that contains the object where the resource is used. The object
is highlighted in the view.
13.1 -a
Syntax
-a <file_name>
Description
Specifies an argument file for the StreamServer to read and process.
Comment
Command line argument if the server runs stand-alone. This argument cannot
be used if you start the StreamServer from Control Center.
Example
-a start.arg
13.2 -alternativebarcode
Syntax
-alternativebarcode
Description
Specifies to use Adobe style barcodes which are used from SP2 and onwards.
This argument is used by default if the Project has been upgraded from an SP2,
SP3, or SP4 Project.
Comment
-
Example
-alternativebarcode
13.3 -args
Syntax
-args <path>
Description
Specifies an argument file for the StreamServer to read and process.
Comment
-
Example
-args /usr/streamserve/extensions/extended.arg
13.4 -asynchronqueue
Syntax
-asynchronqueue <maxsize>
Description
Set the maximum number of concurrent asynchronous requests allowed for a
processing job. Default is 10 requests.
Comment
Each request handles writing of an output job to the output queue. The
asynchronous queue uses the core IO dispatch thread pool to perform the
asynchronous requests (configured in threadmanager.xml).
You can reduce the number of asynchronous requests if the processing job is
creating too much load on the database server and the output queue. The
number of asynchronous requests could also be reduced if the server
simultaneously handles several highly loaded output queues.
Example
-asynchronqueue 5
13.5 -demo
Syntax
-demo
Description
Runs the StreamServer in demo mode, which does not require any license.
Comment
In the output, the text "demo" is randomly included.
Example
-demo
13.6 -detectcompccharset
Syntax
-detectcompccharset
Description
If this argument is used, the StreamServer application attempts to detect the
charset of a text resource used in WorkShop or StoryBoard. If it is not UTF-8, the
StreamServer application attempts to convert the text to UTF-8 before returning
it to the current Process (e.g. StoryTeller, Template Engine). If the text cannot be
converted, the original text used.
Comment
Using this argument affects the performance of the StreamServer application.
Example
-detectcompccharset
13.7 -disableasynchronqueuing
Syntax
-disableasynchronqueuing
Description
Disable asynchronous queuing for all output queues.
Comment
By disabling asynchronous queuing, the output jobs are processed and stored in
the output queue one after another. Note, that disabling asynchronous queuing
does not guarantee the order in which documents are delivered.
When asynchronous queuing in disabled, the job processing thread will take all
IO waits preventing it from formatting data. Asynchronous queuing will
increase performance for batch jobs 1:M. If the server mostly runs 1:1 jobs, you
should consider disabling asynchronous queuing.
Example
-disableasynchronqueuing
13.8 -disablesortedqueuing
Syntax
-disablesortedqueuing <queues>
Description
Controls when sorting is used when retrieving items from the queues. Disabling
sorted queuing can result in significant performance gains in some high-volume
scenarios. The default is to use sorting for all queues. The <queues> parameter
specifies which queues you want to disable sorting for:
• -disablesortedqueuing all – Disables sorting for all queues in the current
Project.
• -disablesortedqueuing "Queue1;Queue2;Queue3;...;QueueN" –
Disables sorting for the queues listed. Sorting is used for all other queues in
the Project. Separate multiple entries with a semicolon. Note, the queue
names are case-sensitive.
Example
-disablesortedqueuing all
13.9 -dumpvars
Syntax
-dumpvars <context>
Description
Dumps variables and their values to a text file. Only variables assigned to a
value at or before the specified context are written to this file. The context is
represented by a hex value listed below. To dump the variables at all contexts,
use hex value 0xFFFF.
A file with the dumped variables and their values is created in the deployed
Project's working directory. The file name is strs_dump_vars<job_ID>.txt.
Comment
The Preproc phase (0x01) can only be used in combination with other contexts.
Example
Context
• Preproc – 0x01
• Retrieved / Collect – 0x02
• Before Process – 0x04
• After Process – 0x08
• Before Event – 0x10
• After Event – 0x20
• Before Job – 0x40
• After Job – 0x80
13.10 -education
Syntax
-education
Description
Runs an unlicensed version of the StreamServer in education mode for fourteen
days. After the fourteen-day period has ended, you must either use a license file
or run it in demo-mode (-demo).
Comment
-
Example
-education
13.11 -evaluation
Syntax
-evaluation
Description
Runs an unlicensed version of the StreamServer in evaluation mode for fourteen
days. After the fourteen-day period has ended, you must either use a license file
or run it in demo mode (-demo).
Comment
-
Example
-evaluation
13.12 -evcollectmt
Syntax
-evcollectmt <num>
Description
Enables the XMLIN agent to distribute XMLIN Event collection over several
threads. For example, -evcollectmt 4 enables the XMLIN agent to use 4
threads for pattern matching. This can reduce the time it takes to collect an
Event.
Note: This argument works only if the XMLIN agent runs in collection
mode Document or Message. It does not work in collection mode Node.
Comment
-
Example
-evcollectmt 4
13.13 -failinputfilteronerror
Syntax
-failinputfilteronerror
Description
Enables the job to be cancelled if the input filter fails.
Example
-failinputfilteronerror
13.14 -grb
Syntax
-grb <path>
Description
Only applicable if you record sample files.
Specifies where sample files are saved when you run the StreamServer with the
startup arguments -rec or -reconly.
Comment
-
Example
-grb C:\StreamServe\Server\grb
13.15 -grbcodepage
Syntax
-grbcodepage <code_page>
Description
Only applicable if you record PageIN sample files.
Converts the code page of a recorded sample file to the code page included in
the argument.
Comment
Use this startup argument when you record sample files, where the code page in
the sample file is not supported by Communications Center. You can then use
the recorded sample file when you configure the Communications Center
Project.
Example
-grbcodepage cp866_DOSCyrillicRussian
13.16 -ignorejobdefs
Syntax
Description
Ignores all settings done for a job definition. For example, runtime connector
and archiving settings. By ignoring job definition settings, variables defined in a
specific job keep their values across different Messages in different job
definitions.
Comment
Use this startup argument if you use an upgraded Project from 3.0.1 or earlier
where one or more Messages did not belong to a job definition. By ignoring job
definition settings this way, you emulate the behavior of the 3.0.1 (or older)
version where variable values were kept from previous Messages in the
Messages not belonging to any job definition.
If you specify to “-includejobdefs” for the same job definition, the ignore setting
overrules the include setting.
Example
-ignorejobdefs jd1:jd2:jd4
13.17 -includejobdefs
Syntax
Description
Does the opposite from “-ignorejobdefs” by including all settings done for a job
definition. This means also that all other job definitions in the job will be
ignored.
Comment
If you specify to “-ignorejobdefs” for the same job definition, the ignore setting
overrules the include setting.
Example
-includejobdefs jd3:jd5
13.18 -java-options
Syntax
-java-options <property>
Description
Specifies the initial naming factory property for JNDI (Java Naming and
Directory Interface).
Comment
-
Example
-java-options
Djava.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextF
actory
13.19 -java-user-class-path
Syntax
Description
Specifies additional paths, libraries and JAR-files from which java classes can be
loaded. This is the same as the java -classpath argument.
Comment
-
Example
Windows:
Unix:
-java-user-class-path /usr/local/app/jndi.ar:/opt/streamserve/
myjavaclasses
13.20 -langfile
Syntax
Where:
Description
Used with *.sls files. Specifies the name of the language file, and the language
files within that file, to use.
• Only applicable if you use StreamServe Language Sets files in the Project.
• Only applicable for PageOUT. Note that PageOUT can only be used in
upgraded Projects prior to version 16.
Comment
If you specify language codes, the StreamServer will ignore any language code
not specified here. However, if you do not specify any language codes at all, the
StreamServer will read all language codes specified in the StreamServe
Language Sets file.
Example
-langfile language.sls,eng,swe
13.21 -ldapsslcertdb
Syntax
-ldapsslcertdb <file>
Description
Enables the use of the LdapConnectSSL script function to authenticate the
connection to the LDAP server.
Comment
This argument is required if you are setting up SSL communication between the
StreamServer and the Sun (IPlanet) Directory Server (LDAP Server). Other
LDAP servers are not supported. Follow the instructions in the manual for
setting up SSL.
Example
-ldapsslcertdb cert7.db
13.22 -ldapSslKeyDb
Syntax
-ldapSslKeyDb <file>
Description
Enables the use of the LdapConnectSSLCCA script function to authenticate the
connection to the LDAP server.
Comment
You must use this argument together with the -ldapsslcertdb argument.
This argument is required if you are setting up SSL communication between the
StreamServer and the Sun (IPlanet) Directory Server (LDAP Server). Other
LDAP servers are not supported. Follow the instructions in the manual for
setting up SSL.
Example
-ldapsslcertdb cert7.db
-ldapSslKeyDb key3.db
13.23 -licfile
Syntax
-licfile <filename>
Description
Specifies the license file.
Comment
Can only be used as an argument when you start the StreamServer from
command line, that is it can not be used in the startup argument file (*.arg).
Example
-licfile c:\streamserve\lic\strs.lic
13.24 -localpersistpath
Syntax
-localpersistpath <path>
Description
All LOCAL mode repositories and files used locally to generate unique IDs are
stored under <exportdir>\data\data by default. You can move the directory
to a different location, and use this startup argument to specify the new path to
the directory.
Comment
If any of the following directories have been set up in an earlier
Communications Center installation, you must stop the StreamServer and move
these directories to the new location, before changing the repository path:
• <exportdir>\data\jr
• <exportdir>\data\transactions
Example
-localpersistpath C:\localdata\repositories
13.25 -logcp
Syntax
-logcp <code_page>
Description
Specifies a code page for the StreamServer log.
Comment
• Applies to StreamServers run from the command line.
• If the characters displayed in the log conform to Latin 1 you do not have to
specify this argument.
Example
-logcp cp862_DOSGreek
13.26 -logfilecp
Syntax
-logfilecp <code_page>
Description
Specifies a code page for the StreamServer log file.
Comment
• Applies to StreamServers run from Control Center.
• If the characters displayed in the log conform to Latin 1 you do not have to
specify this argument.
• To enable Control Center to display "non-Latin 1" characters correctly in the
log, you must specify UTF-8 as code page.
Example
-logfilecp UTF-8
13.27 -lxfcachedynamic
Syntax
-lxfcachedynamic
Description
Turns on caching of dynamic overlays. Dynamic overlays are not cached by
default because they decrease the performance of static overlays during larger
jobs.
Comment
When enabled, dynamic overlays stay in the cache between the preprocess and
runtime phases and are not removed until after runtime is finished.
Example
-lxfcachedynamic
13.28 -lxfcachesize
Syntax
-lxfcachesize <n>
Description
Controls the number of cache items (LXF documents) that can be stored in the
server.
Comment
The cache will always try to cache static overlays. Static overlays stay in the
cache as long as possible, and are only discarded when the server is shut down.
Dynamic overlays (created in PreformatIN) are not cached by default because
they decrease the performance of static overlays during larger jobs. To cache
dynamic overlays, see -lxfcachedynamic.
Example
-lxfcachesize 20
13.29 -maxinfiles
Syntax
-maxinfiles <n>
Description
Number of files that are scanned when directory scan is used.
The server exits when the amount of files are scanned.
Comment
For test only.
Example
-maxinfiles 5
13.30 -maxsortnodes
Syntax
-maxsortnodes <n>
Description
Assigns a maximum number of sorting nodes.
Comment
Only applicable with sorting.
An internal list with sorting keys consumes internal memory. You can limit the
size of the list to save time (less nodes are allocated).
Example
-
13.31 -mbytefile
Syntax
-mbytefile <path>
Where <path> is the full path and file name to the required multi-byte file.
Description
A unicode startup argument. Used if the multi-byte file ssmbyte.dat is not
located in any of its ordinary directories, or if you want to use another file.
Comment
The Communications Center installation includes a default file, ssmbyte.dat,
containing conversions between Unicode and multi-byte code pages. The
StreamServer will try to locate ssmbyte.dat according to the operating system
platform you are using. However, if the file is located elsewhere, or if you want
to use another file, you can specify a different location by using the startup
argument: -mbytefile
Example
-
13.32 -msgsource
Syntax
-msgsource textfile,<lang>,<local_folder>
Where:
• textfile is a keyword that specifies that the source for log messages is a
text file.
• <lang> is the language ID specified in <Communications Center
installation>\Applications\StreamServer\<version>\Common\data
\langid.txt.
• <local_folder> is the path to and name of a separate local folder that you
create.
Description
Lets you customize logging on a per-application basis.
Comment
To customize logging for all StreamServer applications, you modify the
<Communications Center installation>\Applications\StreamServer
\<version>\Common\data\logmsg.txt file.
Example
-msgsource textfile,STRS_ENG,C:\local_log_folder
13.33 -norecgrb
Syntax
-norecgrb
Description
This argument is used together with the -rec argument.
The -norecgrb argument instructs the StreamServer not to generate separate
sample files for each input page. See the -rec argument for more information.
Comment
-
Example
-norecgrb
13.34 -nstack
Syntax
-nstack <n>
Description
Specifies the size of the script expression size stack. Default is 50.
Comment
Rarely used. You can receive an "overflow" by using extremely large
mathematical expressions.
Example
-
13.35 -odbcpool
Syntax
-odbcpool <n>
Description
Enables the ODBC connection pool used by the Communications Center
scripting functions and specifies the maximum number of objects in the pool.
Comment
-
Example
-odbcpool 10
13.36 -odbctimeout
Syntax
-odbctTimeOut <n>
Description
Specifies the time-out value that the StreamServer uses for connecting to data
sources. The value is in seconds.
Comment
If no value is specified, the default value, 30 seconds, is used.
Example
-odbctimeout 60
13.37 -optalias
Syntax
-optalias <file_name>
Description
Overrides the default overlay alias file name (optalias) with the specified file
name.
Comment
• optalias is a default alias file name.
• optalias is a lookup table. This could be another way of loading a lookup
table.
Example
-optalias new_alias.txt
13.38 -parse
Syntax
-parse
Description
Reads syntax to see if it is correct and then exits.
Comment
Use this argument for syntax testing before runtime. For example to test *.dux
files.
Example
-parse
13.39 -pid
Syntax
-pid <filename>
Description
Enables the StreamServer to write its PID in the specified file at start-up. The
PID can be used later for termination.
Comment
-
Example
-
13.40 -preloadmorefontdata
Syntax
-preloadmorefontdata
Description
Improves performance by pre-loading all font data required for text layout
calculations in the XFA Processor. This will generally reduce the need for
drivers to load additional font data which also can improve performance.
However, an increase in startup time and runtime memory consumption can be
expected.
Comment
-
Example
-preloadmorefontdata
13.41 -prn
Syntax
-prn <path>
Description
Only applicable if you use PRN overlays.
Specifies the path for overlay files.
Comment
• The path is specified in relation to the <Application root> directory.
• If you insert the -prn argument before the <file_name.dua> argument, this
argument overrides the directory specified in the Communications Center
configuration.
Example
-prn files
13.42 -prnalias
Syntax
-prnalias <file_name>
Description
Overrides the default overlay alias file name (prnalias) with the specified file
name.
Comment
• prnalias is a default alias file name.
• prnalias is a lookup table. This could be another way of loading a lookup
table.
Example
-prnalias new_alias.txt
13.43 -quealias
Syntax
-quealias <file_name>
Description
Overrides the default connector alias file name (quealias) with the specified file
name.
Comment
-
Example
-quealias new_alias.txt
13.44 -rec
Syntax
-rec
Description
Instructs the StreamServer to record the input data and create sample files. In
addition to creating the sample files, the StreamServer also creates ordinary
output data via a PageIN Event and an appropriate Process. If you only want to
create a sample file, and no output data, you must use the -reconly argument
instead of the -rec argument.
The sample files are created in the directory specified by the -grb argument. The
following sample files are created:
• <event name><sequence number>.grb. Each page recorded generates a
separate sample file. You can use the -norecgrb argument together with -
rec if you do not want to generate these sample files.
• allpages.<input connector name>. Each page recorded is appended to this
sample file.
Comment
The number of columns and lines that are recorded and included on one page in
the <event name><sequence number>.grb file, is based on the page size in the
PageIN configuration:
• Columns outside the specified page size are discarded.
• Lines outside the specified page size are included in the following <event
name><sequence number>.grb file.
The allpages.<input connector name> sample file is not affected by the page
size specified in the PageIN configuration. All columns and lines are recorded
and included in the file.
Example
-rec
13.45 -reconly
Syntax
-reconly <columns>,<lines>
Description
Instructs the StreamServer to record the input data and create a sample file. If
you also want to create output data you must use the -rec argument instead of
-reconly.
All pages recorded are appended to the sample file allpages.<input
connector name>. This file is created in the directory specified by the -grb
argument.
Comment
You must specify values for <columns>,<lines>. These values are only for
backward compatibility and are ignored by the StreamServer.
You can also specify record-only mode in the Platform configuration.
Example
-reconly 140,100
13.46 -reducenotifications
Syntax
-reducenotifications
Description
Instructs the server to only generate notifications with a requested type.
Comment
When running large input jobs it is more efficient to use -
reducenotifications than to store all notifications and let the observer choose
among them. The methods may be combined.
Example
-reducenotifications
13.47 -rmlog
Syntax
-rmlog <file>
Description
Ensures that the log file is deleted and recreated at startup.
Comment
The -rmlog argument does not work if you run the StreamServer as a service.
Example
-rmlog ./logs/strs.log
13.48 -shareddatapath
Syntax
-shareddatapath
Description
Specifies the installation catalogue with the configuration files.
Comment
The “config” in the server directory is default in Unix. This option is used to
specify another directory path for configuration files.
Example
13.49 -smtppoolsizemax
Syntax
-smtppoolsizemax <n>
Description
The maximum number of connections that can be stored in the SMTP connection
pool.
If the maximum number of connections is reached, new connections can only be
created if temporary objects are enabled. Note that temporary objects are
enabled by default.
Comment
The SMTP connection pool is used by SMTP (MIME) output connectors when
sending emails to the SMTP server. You can use this startup argument with -
smtppoolsizemin and -smtppooltempdisable to control the number of
connections that are always stored in the pool and the maximum number of
connections that can be used.
Example
-smtppoolsizemax 10
13.50 -smtppoolsizemin
Syntax
-smtppoolsizemin <n>
Description
The minimum number of connections that are always stored in the SMTP
connection pool.
Comment
The SMTP connection pool is used by SMTP (MIME) output connectors when
sending emails to the SMTP server. You can use this startup argument with -
smtppoolsizemax and -smtppooltempdisable to control the number of
connections that are always stored in the pool and the maximum number of
connections that can be used.
Example
-smtppoolsizemin 5
13.51 -smtppooltempdisable
Syntax
-smtppooltempdisable
Description
Prevents SMTP (MIME) output connectors from creating temporary connections
to the SMTP server.
Comment
The size of the SMTP connection pool is 0 by default, so if you use this startup
argument you must configure the number of connections stored in the pool by
using -smtppoolsizemin and -smtppoolsizemax.
Example
-smtppooltempdisable
13.52 -sortdef
Syntax
-sortdef <filename>
Description
If you use the sort script function to sort processes, you must include an ASCII
file, usually named sortdef in the startup argument file. The -sortdef
argument contains sort definitions.
Comment
-
Example
-sortdef sortdef.txt
13.53 -sprog
Syntax
-sprog <n>
Description
Allocates memory for scripts, for example the total number of bytes in the
memory area. The default size is 10,000.
Comment
Only use this argument if you need to allocate more than 10,000 bytes.
Example
-sprog 25000
13.54 -statusreporter
Syntax
-statusreporter
Description
Tracking and status reporting in a shared queue environment requires that one
StreamServer is defined as the status reporting server. You use this startup
argument to define a StreamServer as the status reporting server.
Comment
-
Example
-statusreporter
13.55 -stdin
Syntax
-stdin <file_name>
Description
Assigns a file to the StdIn file descriptor.
Comment
This argument is only valid when using the StdIn input connector.
Equivalent with redirection in CommunicationServer <file_name>
Example
-
13.56 -streamcache
Syntax
-streamcache <maxsize>
Description
Set the maximum number of cached streams per queue. Default is 50.
Comment
This argument is global, and is applied to all queues used by the StreamServer
application.
The stream cache is used as an optimization between the input queue and the
job, and between the job and the output queue. You can reduce the number of
cached streams per queue if the server runs out of temporary stream objects.
Reducing the number of cached streams per queue will also reduce the memory
and resource consumption.
Example
-streamcache 100
13.57 -streamcachetimetolive
Syntax
-streamcachetimetolive <time>
Description
Specifies the time out value for the stream caches (that is, how long blob data
remains in a stream cache before being expired). The value is in seconds.
Comment
If no value is specified, a default value of 5 seconds is used.
This argument is global, and is applied to all queues used by the StreamServer
application. Each queue has its own stream cache, where a maximum number of
data streams can be stored (by default, 50 data streams).
The stream cache is an optimization used to reduce database readings when the
same server queues and processes queue items. In a situation where several
servers are spooling queue items from the same queue, it is not guaranteed that
the same server that placed an item in the queue is the one picking it up for
processing. If a different server picks up the queue item for processing, it will
introduce a cache miss, forcing the processing server to read back the data from
the database. If this occurs frequently, it could be beneficial to reduce the
timeout value for the stream cache. The timeout can also be reduced in order to
save memory and resources.
Example
-streamcachetimetolive 2
13.58 -sync
Syntax
-sync
Description
Synchronizes output jobs with the input processing. The status of the output job
is propagated back to the processing job. This argument can be necessary to get
correct status returned by the GetJobStatus() script function.
Comments
• This argument can reduce performance of the server.
• Jobs are processed in sequence from when the input is received to when the
output is produced.
• Priority on the connectors is ignored if -sync is used.
Example
-sync
13.59 -tbl
Syntax
-tbl
Description
Assigns a path to the tbl-files (filter).
Comment
Is comparable to -prn
Example
-
13.60 -td
Syntax
-td <path>\<directory>
Description
Specifies the path and name of an alternative temporary directory for a Project.
Comment
The default temporary directory (tmp) resides in the working directory and can
grow unrestricted. Use this argument to specify an alternative temporary
directory outside the working directory.
Note: Specify a directory that the StreamServer can easily and quickly
access.
Example
-td D:\StreamServe\TemporaryDirectory
13.61 -tmpcompress
Syntax
-tmpcompress
Description
Compresses certain temporary files during the collect/preprocess/output sort
phase.
Comment
More CPU resources are used when using this argument, but less writing to disk
is performed.
This means if you have really fast CPUs and slow disks, this argument can
increase performance considerably. In the unlikely case that you have slow
Example
-tmpcompress
13.62 -v
Syntax
-v
Description
The StreamServer prints its version on standard error.
Comment
-
Example
-v
13.63 -var
Syntax
-var <variable_1>=<variable_2>
Description
Creates a variable when starting the StreamServer application. For example, if
you want a variable that is available to an input filter.
Comment
The variables are read-only and cannot be changed later.
Example
-var dest=file.txt
13.64 -wsin
Syntax
-wsin <file>
Description
Records a list of all incoming data that the StreamServer identifies. The list is
recorded in the specified file.
Use the -wsin argument to produce a file containing a copy of the Message,
showing the actual data in the Fields and Blocks that you have specified, and in
the order in which Communications Center will process them.
Comment
This argument is used during the testing phase since it is able to copy
everything that will be processed in a file(s).
Example
-
13.65 -xmlunusedattributes
Syntax
-xmlunusedattributes include|ignore
Description
Used to reduce memory usage for XMLIN Events.
Comment
-
Example
-xmlunusedattributes ignore
13.66 -xmlwhitespacenodes
Syntax
-xmlwhitespacenodes include|ignore
Description
Used to reduce memory usage for XMLIN Events.
• Using -xmlwhitespacenodes ignore causes the XMLIN parser to ignore all
“white space only” nodes in the XMLIN DOM, which means the size of the
DOM tree can be reduced significantly.
• Using -xmlwhitespacenodes include causes the XMLIN parser not to
ignore any nodes. This is the default server behavior, and is the same as not
using the -xmlwhitespacenodes startup argument.
Comment
-
Example
-xmlwhitespacenodes ignore
<?xml version="1.0"?>
<root>
<doc>
<field>value</field>
<other>
Value
</other>
</doc>
</root>
<?xml version="1.0"?>
<root><doc><field>value</field><other>
Value
</other></doc></root>
All nodes that only contain white space have been removed. Nodes that
contain both white space and non-white space are still included.
13.67 -xsdimport
Syntax
-xsdimport 0|1
Description
Used together with XMLIN Events and XML schemas. Specifies when to load
the XML schemas defined in the namespace/schema location mapping table.
Any settings in the mapping table will override -xsdimport.
• 0: load the schemas at StreamServer start-up.
• 1: load a schema when receiving input related to the schema. The schema
must be read and parsed before validation.
Comment
-
Example
-xsdimport 1
The metadata model is stored in the tenant repository. The same model is accessed
both at design time, from Describer and Design Center, and by the Communications
Center applications at runtime. The same metadata model is also used across
development, testing, and production environments. The metadata model is
versioned. Each time a change is made to the metadata model and the model is
checked-in, a new version of the model is created in the tenant repository.
The properties and types you create in the Describer replace the document types and
metadata that were used in OpenText StreamServe 5.x versions.
4. Project exported - When the Project is exported, the versions of the types used in
the Project are mapped to corresponding versions of the types in the model in
tenant repository.
5. StreamServer applications access the model - At runtime, the StreamServer
applications access the types in the tenant repository and apply the correct
properties to the generated documents.
From Describer, you can open and work on models that belong to different tenants.
If you work with multiple tenants, you enter the tenant name when you connect to
the management gateway. In distributed environments, you can connect to any
management gateway that is connected to the Communications Center environment
to access a metadata model.
1. Open Describer. For example, on Windows Server 2012, from the Apps screen,
click the Describer shortcut in the OpenText category.
3. Open the blank model from the tenant repository. See “To open a model from
the tenant repository“ on page 366.
4. Check out the model. See “Checking in and out models” on page 367.
1. If you have previously worked on a model, you can either open the local version
of the mode or open the model from the tenant repository. See “Opening a
model” on page 366.
2. If you do not have the model checked out, check it out. See “Checking in and out
models” on page 367.
1. If the Open Model dialog box is not already open, click File > Open to open it.
3. Enter a name for the connection, and the host and port for the management
gateway:
• Host
The address of the computer with the management gateway. For example:
https://localhost.
• Port
The port used for communication with the management gateway. The
default port is 28300.
1. In the Open Model dialog box, in the Connections area, double-click the
connection to the management gateway.
• In the Open Model dialog box, in the Locally available models area, double-
click the model.
2. If prompted, enter your tenant name, user name, and password to connect to
the management gateway.
2. If prompted, enter your tenant name, user name, and password to connect to
the management gateway.
4. Optionally, select Keep model checked out, to keep the lock on the model.
This reverts the model back to the last version that was checked in. Any changes
made to the model after the last check in are lost.
2. If prompted, enter your tenant name, user name, and password to connect to
the management gateway.
To close Describer
The types are the part of the model that you connect to the Messages or documents.
You can connect several types from different levels in the tree to a single Message or
document.
a. Parent type – This type contains two properties xxx and yyy.
b. Sub types – These types inherit the properties xxx and yyy from the
parent type.
a. A new property added to a type – This property is not part of the parent
type. It is inherited by sub types.
c. Property used in two types – In this example, both type E and F descend
from Type A. You can also add the same property to types that do not
descend from the same type.
Each property must have a unique combination of name and data type (string,
integer, etc.).
1. In the All Properties area, click the Add new property icon.
2. In the Property name dialog box, enter the a name for the property and click the
Property type.
1. In the All Properties area, right-click the property you want to copy and click
Copy.
• In the All Properties or the Selected type area, in the Filter: box, enter the
search criteria.
1. In the All Properties and Selected Type area, click Filter on: <Field name>.
When you copy or move a type in the tree, the inherited properties of the type are
updated to reflect the new parent. Properties that are inherited from the new parent
are added and properties that were inherited from the previous parent type are
removed. However, if the new parent type contains a property that was restricted in
the original type you are copying or moving, this property is not added to the type.
1. In the Model tree area, right-click the root node or the parent of the type, and
then click Add Type.
1. In the Model tree area, right-click the type you want to copy, and then click
Copy.
2. Right-click the type that will be the parent of the new type and click Paste.
A copy of the type is added to the tree.
1. In the Model tree area, click the type you want to move.
1. Click the type or the root node in the Model tree area and press F2.
You can restrict an inherited property in a type or remove a property that you have
added to the type previously. When you restrict or remove a property, the property
is removed from the type and from the sub types of the type.
• In the All Properties area, click the property and drag it to the type in the
Model tree area.
The property is added to the type and all to sub types of the type.
2. In the Type content area, click the property you want to remove and then click
.
The property is removed from the type and all sub types of the type. The
property is still available in the All Properties area.
In the Selected Type area, you can see the local and inherited properties that are
included in type.
2. In the Selected Type : <type name> area, click one of the following:
• Local
To see the properties that are added directly in type.
• Inherited
To see the properties that are inherited from the parent type.
• Included
To see both the local and inherited properties. Restricted properties are not
shown in this list.
2. Optionally, in the Selected Type area, click Copy to copy the GUID to the
clipboard.
• In the All properties area, right- click the property and click Copy key. The
GUID is copied to the clipboard.
When you delete a type, all the sub types of the type are also deleted. You cannot
delete types that have been checked-in, however you can hide these in the types tree
in Describer.
1. In the Model tree area, click the type you want to delete or hide.
2. Click .
To delete a property
You can only delete Properties that are stored in your local copy of the model. It is
not possible to delete a property that has been checked-in to the tenant repository.
1. In the All Properties area, click the property you want to delete.
2. Click .
3. If the property is used in a type, click Yes to confirm you want to delete the
property.
The property is removed from the All properties list and all the types is was
part of.
A new version number for the model is created every time you check in the model.
However, not all changes you make to types trigger a new type version number
during check in. For example, if you only change the type names, no new version
number is generated when you check in the model.
2. In the Model Version: list, click the version of the model you want to view.
3. In the Selected Type area, on the Type version list, click the version of the type
you want to view.
From Describer, you can also view details of the model, such as the model key,
information about the last updates made to the model, as well as statistics for the
model, such as the total number of types and properties in the model.
• In the Open Model dialog box, in the Locally available models area, click .
You copy an entire model by copying the root level of the model tree, this copies all
the types and properties in the model. You can paste the model into any level of the
types tree in the target model. When copying types from one model to another, the
local properties added to a type are copied while the inherited properties are
updated to reflect the types new position in the tree.
the target model or to generate new keys in the target model. If you want to use
the target model in a Design Project with scripts that reference keys in the
existing model, you must copy the keys into the target model (i.e. do not
generate new keys).
1. Open both models in Describer and check out the target model.
2. In the model you want to copy, in the Model tree area, right-click the root node,
and then click Copy.
3. Open the model you want to copy to, in the Model tree area, right-click the root
node, and then click Paste.
4. Optional Select Generate new keys for all copied Types and Properties.
1. Open both models in Describer and check out the target model.
2. In the model you want to copy the type or property from, do one of the
following:
See also:
• “Importing and exporting models“ on page 395 – For information about how to
import and export an entire model.
Permissions can be set for each version of each type in your model. Permissions set
up for a type are not inherited by sub types. Setting up permissions for types
individually is useful if you have types that only some groups are allowed to change
or use.
Each type has an owner, which by default is the tenant administrator. The type
owner always has use and write permissions for the type regardless of the groups
you grant or remove the access for. You can change the type owner to any OTDS
user or group.
Permissions
• Can view types in Design Center, providing the group also has the use
permission to the parent of type.
• Can attach types to Messages or documents in Design Center.
In Describer, all the types can be viewed by all users. This cannot be changed for
any group.
2. In the Selected Type area, beside the Owner label, click Change.
3. In the Permissions for <type_name> dialog box, in the Groups list, select the
OTDS group that you want to set the permissions for. If the group is not shown
in the Permissions dialog box, click the Add icon to search for the group, see
“Searching for OTDS groups or users ” on page 377 below.
4. In the Permissions granted for: area, select the appropriate permission: Write
or Use.
2. In the Selected Type area, beside the Owner label, click Change.
3. In the Permissions for <type_name> dialog box, beside the Owner label, click
Change.
4. In the Find query box, enter your search parameters, for example strs. For
more information about searching, see “Searching for OTDS groups or users ”
on page 377.
5. In the Search results area, click the group or user you want as the type owner.
6. Click OK.
4. Optional Click Use strict search to find an exact match of your search string.
5. In the Search results area, select the groups you want to add to the Permissions
dialog box where you grant the group a permission to the type.
1. Connect the Project to the management gateway. For more information, see
“Setting up a management gateway connection” on page 50.
3. Click Check for new versions... The management gateway checks if any new
versions of the model are available.
4. Click Yes to save the new versions of the model in the Project.
5. Click OK.
Deleting the local model removes the local model from the Project, which also
removes any types from the Messages or documents.
See also:
• “Importing and exporting models“ on page 395 – For information about how to
export a model from Design Center and import a model in Describer.
The place in Design Center where you connect the types depends on how you want
to use the properties:
• To use the properties for output queue items or to make use of post processing
features, connect the types to an output connector in the runtime configuration.
• To use the properties in the web applications, connect the types to the Message.
Tip: If you don’t see the latest model versions downloaded to the Project, click
the Refresh icon on the menu bar.
1. Right-click the Message configuration and then click Set Custom Meta Types.
The Define Custom Type dialog box opens.
2. In the Model version list, click the version of the model you want to use.
3. Select the types you want to connect to the Message, and then click OK.
2. Depending on the output mode, click either Process Begin, Document Begin, or
Job Begin.
3. Click the Archiving tab and beside Custom Type click browse.
The Define Custom Type dialog box opens.
4. In the Model version list, click the version of the model you want to use.
5. Select the types you want to connect to the documents and then click OK.
1. In the Runtime Output Connector Settings dialog box for the Document Broker
Plus connector, activate the generic layer and click the Document End icon.
2. On the Document Broker Plus tab, click the icon beside the Custom type box.
The Define Custom Type dialog box opens.
3. In the Model version list, click the version of the model you want to use.
4. Select the types you want to connect to the documents and then click OK.
1. In the Define Custom type dialog box, right-click the type or types, and then
select Copy Selection.
2. Open the Define Custom type dialog box for the target Message or document,
right-click in the Model tree area, and then click Paste.
After a new version of a model is saved to the Project, you must decide whether to
continue to use the versions of the types that are already connected to the Messages
or documents, or to whether to use a later version.
• Message – Right-click the Message configuration and then click Set Custom
Meta Types.
• Archiving or output queue items – In the Runtime configuration view, open
the Runtime Output Connector Settings dialog box (generic layer), click the
appropriate tab, and then beside Custom Types click browse.
• Document Broker documents – In the Runtime configuration view, open the
Runtime Output Connector Settings dialog box (generic layer), click the
appropriate tab, and then beside Custom Types click browse.
2. In the Model selection area, in the Model version list, click the new version of
the model.
3. Optional In the Model tree area, select any types you want to connect to the
Message or documents, and then click OK.
“getMetadataMessage”
Retrieves a property value from the active Message.
“getMetadataMessageFrom”
Retrieves a property value from a Message in the Message storage.
“setMetadataMessage”
Stores a property value for the active Message.
“getMetadataDBroker”
Retrieves a property value from the active Document Broker document.
“getMetadataDbrokerFrom”
Retrieves a property value from a document that is stored in the Document
Broker repository.
“setMetadataDBroker”
Stores a property value for the active Document Broker document.
“getMetadataOutput”
Retrieves a property value from the active output queue item.
“setMetadataOutput”
Stores a property value for the active output queue item.
“getMetadataInput”
Retrieves a property value from the active input queue item.
• Message – Right-click the Message configuration and then click Set Custom
Meta Types.
• Archiving or output queue items – In the Runtime configuration view, open
the Runtime Output Connector Settings dialog box (generic layer), click the
appropriate tab, and then beside Custom Types click browse.
• Document Broker documents – In the Runtime configuration view, open the
Runtime Output Connector Settings dialog box (generic layer), click the
appropriate tab, and then beside Custom Types click browse.
2. In the Selected Type preview area, right-click the property, and then click Copy
Key. The GUID for the property is copied to the clipboard.
16.5.2 getMetadataMessage
Syntax
There are two variations of this script:
getMetadataMessage(<key>, <value>);
getMetadataMessage(<key>);
<key>
A GUID identifying the property to return the value for.
<value>
The variable (local or global) that will receive the property value.
Description
Retrieves a property value from the active Message. The active Message is
determined by the level where the script is placed. It can be used at the
following levels:
• Event retrieved
• before and after Message
• before and after Process
• inside a Process
The active Message is the Message being stored if placed on Event retrieved,
otherwise it is the Message that is currently being processed.
Note: System properties are not available in Event retrieved scripts. Only
custom properties that are set with SetMetadataMessage are available in
Event retrieved scripts.
Returns
See “Return codes for metadata script functions” on page 384.
Note: If you omit the <value> parameter, the property value is returned
instead of the return code.
Example
This example gets the value of the property with the GUID 6B84E18B-
F03F-350C-E040-007F0200026D and places it in the variable $myValue.
getMetadataMessage("6B84E18B-F03F-350C-E040-007F0200026D",
$myValue);
16.5.3 getMetadataMessageFrom
Syntax
There are two variations of this script:
<messageID>
A GUID identifying a Message in the Message Storage.
<typeID>
Optional. A parameter to help find the Message. This can be one of the
following:
• A custom type ID defined in the Message storage. You can retrieve this
with getMetaDataMessage("6B84E18B-F03F-350C-
E040-007F0200026D"); when the document is being stored
(“getMetadataMessage” on page 385).
• A custom type ID defined in Describer.
• The name of an Event in the Message. This can only be used if the
Message is defined in the Project where the script function is used.
<typeVersion>
Only used if <typeID> is for a custom type, otherwise this is ignored. The version
of the custom type specified in <typeID>.
<key>
A GUID identifying the property to return the value for.
<value>
The variable (local or global) that will receive the property value.
Description
Retrieves a property value from a Message in the Message storage. This script
function can be used at any level and in any script.
Returns
See “Return codes for metadata script functions” on page 384.
Note: If you omit the <value> parameter, the property value is returned
instead of the return code.
16.5.4 setMetadataMessage
Syntax
setMetadataMessage(<key>, <value>);
<key>
The GUID identifying the property to set the value for.
<value>
The property value.
Description
Stores a property value for the active Message. The active Message is
determined by the level where the script is placed. It can be used at the
following levels:
• Event retrieved
• before and after Message
• before and after Process
• inside a Process
The active Message is the Message being stored if placed on Event retrieved,
otherwise it is the Message that is currently being processed.
Returns
See “Return codes for metadata script functions” on page 384.
Example
This example sets the value of the property with the GUID 33c497c8-
e603-46ab-b455-d2f1f3dd177f to the value of the variable $storeUserID. In
this example, the $storeUserID variable is created from a field in the Event and
the script is placed on Event retrieved. However, the location of the script may
vary depending on the Project configuration.
setMetadataMessage("33c497c8-e603-46ab-b455-d2f1f3dd177f",
$storeUserID);
16.5.5 getMetadataDBroker
Syntax
There are two variations of this script:
getMetadataDBroker(<key>, <value>);
getMetadataDBroker(<key>);
<key>
The GUID identifying the property to return the value for.
<value>
The variable (local or global) that will receive the property value.
Description
Retrieves a property value from the active Document Broker document. The
active Document Broker document is determined by the level where the script is
placed. It can be used at the following levels:
The active Document Broker document is the document being stored for scripts
placed before Process, after Process, or inside a Process. Otherwise it is the
document that is currently being processed.
Note: In before Process scripts, the document is not always available since
the correct output connector is not yet selected. This means
GetMetadataDBroker may fail if used on that level in some cases.
Some system properties, such as the GUID of the Document Broker document,
are not available until the post processor scripts. However, the numeric
document sequence number is available for scripts inside and after Process.
Returns
See “Return codes for metadata script functions” on page 384.
Note: If you omit the <value> parameter, the property value is returned
instead of the return code.
Example
This example gets the value of the property with the GUID 6B84E18B-
F03C-350C-E040-007F0200026D and places it in the variable $myValue.
getMetadataDBroker("6B84E18B-F03C-350C-E040-007F0200026D",
$myvalue);
16.5.6 getMetadataDbrokerFrom
Syntax
There are two variations of this script:
<doc ID>
A GUID identifying a document in the Document Broker repository.
<typeID>
Optional A parameter to help find the Document Broker document. This can
be one of the following:
• A custom type ID defined in the Document Broker repository. You can
retrieve this with getMetaDataDBRoker("6B84E18B-F03F-350C-
E040-007F0200026D"); when the document is being stored.
• A custom type ID defined in Describer.
• The connector name if the script is used in the same Project as where the
document was stored.
<typeVersion>
Only used if <typeID> is for a custom type, otherwise this is ignored. The version
of the custom type specified in <typeID>.
<key>
A GUID identifying the property to return the value for.
<value>
The variable (local or global) that will receive the property value.
Description
Retrieves a property value from a document that is stored in the Document
Broker repository. This script function is allowed at any level in any script.
Returns
See “Return codes for metadata script functions” on page 384.
Note: If you omit the <value> parameter, the property value is returned
instead of the return code.
16.5.7 setMetadataDBroker
Syntax
setMetadataDBroker(<key>, <value>);
<key>
The GUID identifying the property to set the value for.
<value>
The property value.
Description
Stores a property value for the active Document Broker document. The active
Document Broker document is determined by the level where the script is
placed. It can be used at the following levels:
• before and after Process
• inside a Process
• post processor document level scripts (connector runtime settings)
If the script is placed on before Process, after Process, or inside a Process, the
active Document Broker document is the document being stored. Otherwise it is
the document that is currently being processed.
Note: In before Process scripts, the document is not always available since
the correct output connector not yet selected. This means
setMetadataDBroker may fail there in some cases.
Returns
See “Return codes for metadata script functions” on page 384.
Example
This example sets the value of the property with the GUID
c0bf4328-9ec2-4bb8-aeaf-44762be66679 to the value of the variable
$CustID.
setMetadataDBroker("c0bf4328-9ec2-4bb8-aeaf-44762be66679",
$CustID);
16.5.8 getMetadataInput
Syntax
There are two variations of this script:
getMetadataInput(<key>, <value>);
getMetadataInput(<key>);
<key>
The GUID identifying the property to return the value for.
<value>
The variable (local or global) that will receive the property value.
Description
Retrieves a property value from the active input queue item. This script is
allowed on any level.
Returns
See “Return codes for metadata script functions” on page 384.
Note: If you omit the <value> parameter, the property value is returned
instead of the return code.
Example
This example gets the value of a property with the ID 16748a3d-84c7-4109-
bf81-ca87a36eedea and saves it in the variable called $myvalue.
getMetadataInput("16748a3d-84c7-4109-bf81-ca87a36eedea",
$myvalue);
16.5.9 getMetadataOutput
Syntax
There are two variations of this script:
getMetadataOutput(<key>, <value>);
getMetadataOutput(<key>);
<key>
The GUID identifying the property to return the value for.
<value>
The variable (local or global) that will receive the property value.
Description
Retrieves a property value from the active output queue item. The active output
queue item is determined by the level where the script is placed. It can be used
at the following levels: before and after Process, and inside a Process.
Note: In before Process scripts, the output item is not always available
since the correct output connector is not yet selected. This means
GetMetadataOutput may fail there in some cases.
Returns
See “Return codes for metadata script functions” on page 384.
Note: If you omit the <value> parameter, the property value is returned
instead of the return code.
Example
This example gets value for the property with the GUID 16748a3d-84c7-4109-
bf81-ca87a36eedea and stores it in the variable $myvalue.
getMetadataOutput("16748a3d-84c7-4109-bf81-ca87a36eedea",
$myvalue);
16.5.10 setMetadataOutput
Syntax
setMetadataOutput(<key>, <value>);
<key>
The GUID identifying the property to set.
<value>
The property value as a string.
Description
Stores a property value for the active output queue item. The active output
queue item is determined by the level where the script is placed. It can be used
at the following levels: before and after Process, and inside a Process.
The function will fail in other contexts for the Process output mode.
Returns
See “Return codes for metadata script functions” on page 384.
Example
This example sets the value of the property with the GUID
16748a3d-84c7-4109-bf81-ca87a36eedea to the value of the variable
$CustomerName.
setMetadataOutput("16748a3d-84c7-4109-bf81-ca87a36eedea",
$CustomerName);
You can export a model as a file from a Design Center Project, or export a model or a
branch of a model from Describer. The exported file can then be imported to another
tenant’s environment via Describer.
2. In the Model version list, select the version of the model you want to export.
1. Open Design Center, click the MGW menu, and then click Update Project Meta
Model.
2. In the Model version list, select the version of the model you want to export.
Figure 17-1 shows an example of the different import results for the synchronize,
copy, and merge options.
2. Select the position the types tree where you want to import the model or
branch.
4. Beside the Model file to import box, click Browse and select the source file.
• Synchronize
• Copy
• Merge
Tip: If you are not happy with the results, click Undo Check-in to revert
the model back to the last version that was checked in.
You can create different types of profiles containing connection, authentication, and
security settings. The profiles are used to establish communication channels between
the OpenText Communications Center Enterprise software and other services. For
example, an FTP output connector uses a TCP/IP connection profile and an
authentication profile to establish a communication channel to an FTP server.
You create the profiles that are used within the Design Center Project as resources in
a Design Center resource set. You can reuse these profile resources in several
configurations within the Project. For information about how to create the Design
Center profiles, see “Creating profiles“ on page 403.
You create the profiles that are used within the Design Center Project as resources in
a resource set. You can reuse these profile resources in several configurations within
the Project.
In the resource set, the profile resources are contained within a profile configuration
resource. You create this profile configuration resource, with the included profile
resources, in the Profile Configuration Editor.
Tip: When setting up profiles in the Profile Configuration Editor, you can
check the validity of each profile on the Validation results tab or check the
complete profile configuration by selecting Tools > Validate all profiles. The
Profile Configuration Editor automatically validates the complete profile
configuration when you exit the tool.
1. Right-click the resource set and select New > Profile configuration.
1. In the Profile Configuration Editor, right-click the <Profile type> folder and
select New <Profile type>.
1. Select the certificate and click Edit . The Edit Certificate Information dialog
box opens. For detailed information about the options, see “Edit Certificate
Information dialog box” on page 408.
2. Enter the Certificate password.
• URL - The address of the web service. For secure web services, use the https
prefix.
• Port - The port to use.
• Attempt recovery - Specifies whether Communications Center software should
try to reconnect to the web service if the web service does not respond. Available
options are Never, Limited times and Forever.
• Number of retries - The number of times Communications Center software
should try to reconnect if the web service does not respond. (Applicable if Attempt
recovery = Limited times)
• Retry interval (seconds) - The interval (seconds) between retries. (Applicable if
Attempt recovery = Limited times or Forever)
• Recovery action - N/A (for future use).
• Authentication profile - Used to select an authentication profile to be used for
the connection. See “Authentication profiles” on page 407. (Optional)
• Secure channel profile - Used to establish a secure channel between
Communications Center software and the web service. See “Secure channel
profiles” on page 407. (Optional)
• Secondary connection profile - Used to add a secondary web service profile, to
be used if the primary web service profile fails all recovery attempts. (Optional)
• Custom properties - Used to add any custom properties (Property name and
Property value) that are not part of the standard connection configuration above.
(Optional)
Note: To set up security channel profiles and certificate store profiles, you
must have a good working knowledge of the security area.
Note: To set up security channel profiles and certificate store profiles, you
must have a good working knowledge of the security area.
• Name - The name of the web service profile.
• URI - The URI of the profile.
• Trusted authorities certificates - List of trusted CA root certificates. In order to
trust a peer certificate, the complete certificate chain must be trusted and
available. This is done by adding all intermediate certificates including the root
CA to the list of trusted authorities.
• Private key resource - The private key resource. The private key can be stored in
PKCS12 or PEM format. In some scenarios, the private key could also be stored
in a Java KeyStore format.
• Private key resource password - The password to decrypt an encrypted private
key resource. If the private key resource is a Java KeyStore (and protected), then
the password is used to decrypt the complete KeyStore.
• Alias - The private key alias. If the private key resource format supports multiple
private keys inside the same resource, then the alias is used to identify individual
keys within the resource. If the private key resource is a Java KeyStore, then the
alias matches the alias in the Java KeyStore.
• Recovery action - Available options are Abort and Ignore. (Applicable if Attempt
recovery = Limited times)
• Authentication profile - The authentication profile used for the connection. See
“Authentication profiles” on page 407.
Oracle profiles
• Name - The name of the repository profile.
• URI - The URI of the profile.
• Profile sub-type - Oracle.
• Host - The IP address or host name of the database server that hosts the
repository.
• Port - The port used for communication with the database server. The default
port for Oracle is 1521.
• Service name (SID) - The SID of the repository.
• Schema owner - The schema owner of the repository tables, functions, users, etc.
Repository profiles
• Name - The name of the repository profile.
• URI - The URI of the profile.
• Profile sub-type - Repository.
• Vendor - SQL Server or Oracle.
• Host - The IP address or host name of the database server that hosts the
repository.
• Port - The port used for communication with the database server. Default ports
are 1521 for Oracle and 1433 for SQL Server.
• Database name - The name of the database. If you use a named instance of SQL
Server, you must specify the host name and instance name using the syntax
<hostname>\<instancename>. (Only required if vendor = SQL Server)
• Service name (SID) - The SID of repository. (Only required if vendor = Oracle)
• Schema owner - The schema owner of the tables, functions, users, etc. (Only
required if vendor = Oracle)
• Database instance - Not applicable in version 16.
• Attempt recovery - Specifies whether Communications Center software should
try to reconnect to the repository if a communication channel cannot be
established or is lost. Available options are Never, Limited times and Forever.
• Number of retries - The number of times Communications Center software
should try to reconnect to the repository if a communication channel cannot be
established or is lost. (Applicable if Attempt recovery = Limited times)
• Retry interval (seconds) - The interval (in seconds) between retries. (Applicable if
Attempt recovery = Limited times or Forever)
• Recovery action - Available options are Abort and Ignore. (Applicable if Attempt
recovery = Limited times)
• Authentication profile - The authentication profile used for the connection. See
“Authentication profiles” on page 407.
AFP driver
The AFP driver is used to send output to an AFP printing environment. The AFP
driver creates an AFP data stream file for each job or document produced by
StreamServer.
Resource group
Font
Code page
Image
Overlay
Formdef
...
Document
Page group
Page
Page
...
Page group
Page
Page
...
AFP resources
Fonts, code pages, overlays, images, color profiles and form definitions can be
represented in different ways in an AFP data stream file.
• If the Print Server finds the resource in the resource group, it uses that
resource.
• If the resource is not included in the resource group, the Print Server
searches for the resource in the local resource storage.
• If the Print Server finds the resource in the local storage, it uses that
resource.
• If the Print Server cannot find the resource, it generates an error message.
• As a bitmap in a page definition (only images and overlays)
Images and overlays can be merged as bitmaps directly on a page definition.
Required knowledge
You must be familiar with basic AFP terminology.
• Red
• Pink/Magenta
• Green
• Turquoise/Cyan
• Yellow
• Black
• Brown
• Device default
• Color of medium
• Blue
• Red
• Pink/Magenta
• Green
• Turquoise/Cyan
• Yellow
• Black
• Brown
• Device default
• Color of medium
CMYK – All colors for GOCA objects are mapped to the CMYK color model.
• .Rasterizing Threshold (GOCA)
The lower limit of when the GOCA object is rasterized. If the number of points
(where there is one point per line of a polygon or shape and three points per
Bezier curve) of the object is lower than this value for the incoming GOCA
objects, it will not be rasterized.
• .Line thickness factor (GOCA)
The line thickness factor applies to polygons only – not to lines and boxes. It
affects the line width of polygons in the output.
The line width is expressed as parts of an inch, and the actual line width in the
output depends on the output device. In most cases you can keep the default line
thickness factor (100), but you may have to change the value in order to tune the
line width in the output. For example, if there are problems with the line widths
in business graphics, you can modify the line thickness factor to solve the
problem.
• .Line maximum width (GOCA)
The maximum width of lines to generate using the Line command. Lines wider
than this are generated using the Area command.
The GOCA commands Line and Area are used to generate lines and areas in the
output. The Line command is device dependent, but the Area command is not.
• .Pattern Set Limited (GOCA)
If you use fill functionality with less than 20% shading, you may see a dot pattern
instead of a shading in the filled area. To avoid this you can limit the GOCA
pattern set to use only the four first patterns.
• .Optimization (GOCA)
Used to specify that the sizes of GOCA drawing areas are based on the bounding
boxes of the objects (rather than drawing graphic objects to the whole page).
This helps printers that do not handle GOCA graphics as native objects use
memory more effectively.
data/tables/mapfile.txt
This file is optional, and the settings in the file override any other settings
specified for overlay and image resources. See “Specifying color profiles for
external images” on page 441 for more information.
• .Location (Resource)
T1LATIN1
FM2UP
• .Location (Formdef)
The formdef resource directory used by StreamServer. This directory is used in
Include or Export mode, and overrides .Location (Resource).
• Color Profile-Document-Audit
The mode used for handling audit color profile resources for the entire AFP data
stream. See “Modes for managing AFP resources” on page 429.
• .Name (Color Profile-Document-Audit)
The name of the audit color profile used for the AFP data stream.
IBM CP 278
If no System text code page is specified, the code page specified for the connector
is used. If the code page specified for the output is not an EBCDIC code page,
you must specify an EBCDIC code page for TLE information and NOP
comments.
• TLE code page
The EBCDIC code page to use for TLE information. Leave this empty if you want
to use the same code page as for NOP comments.
• Disable inline resources
Disables the use of inline resources in the AFP data stream file. When selected,
only the Reference mode can be used.
• Disable mCF-2
Disables Map Coded Font function 2 (MCF2). Select this option if the output
device only supports MCF1 and not MCF2.
• Disable mDR
Disables Map Data Resource (MDR). Select this option if .Technology (Font) is
Open Type, and if the printer does not support MDR.
If .Technology (Font) is not Open Type, MDR is disabled automatically.
• Disable n-up
Disables AFP n-up for side-by-side printing. Select this option if you want to use
the Sheet Layout n-up functionality instead of the AFP n-up definition for side-
by-side printing.
For example, if the Sheet Layout has two A4s on one A3 Landscape, and you
disable n-up, the A4 sheets are merged on one Landscape A3 sheet. The Print
Server receives one A3 sheet, and not two A4 sheets positioned side by side.
• Front pages only
Overrides duplex printing.
• Disable Image Background
Some printers cannot handle image transparency correctly. Instead of printing an
image with a transparent background, a black box is printed. If you disable the
image background, the image is printed as a transparent image, but the opaque
function is lost.
• Disable Automatic Orientation
Disables the automatic orientation of logical pages on the sheet. For example, if
you use partition rotation to place a logical page with landscape orientation onto
a physical sheet with portrait orientation, the physical sheet will still have
portrait orientation.
• Disable BCOCA
Disables the Bar Code Object Content Architecture. This can be useful if your
printer does not support BCOCA, or if you want to allow barcodes on a server or
printer that does not support BCOCA.
• Max Record Length
The maximum record length for AFP structured fields. Which option to select
depends on the capabilities of the printer. If you select None, 32 KB is used by
default.
• Halftone Method
The halftone method used to convert color and grayscale images to black and
white. Available methods are Floyd Steinberg and Ordered Dither. If you select
Default, Ordered Dither is used.
• Halftone Size
The size of the halftone matrix. Default is an 8x8 matrix.
• Halftone Gamma
The halftoning gamma value.
211
212 212 213 213 214 214 215 215 216 217 217 218 218 219 220
220
221 221 222 223 223 224 225 226 226 227 228 229 230 230 231
232
233 234 235 235 236 237 238 239 239 240 241 242 243 243 244
245
246 246 247 248 248 249 249 250 251 251 252 252 253 253 254
255
End
Embed mode
The Embed mode is the default mode. It converts the original resources to AFP
resources, and wraps the AFP resources into the resource group in the AFP data
stream file.
2. StreamServer generates an AFP resource with a unique name, and wraps the
AFP resource into the resource group in the AFP data stream file.
4. StreamServer continues to generate and wrap AFP resources and add references
for all the resources it finds.
6. When the Print Server finds a reference in the AFP data stream file, it retrieves
the corresponding resource from the resource group in the AFP data stream file.
Include mode
The Include mode enables the use of external resources (3rd party or modified
resources). This mode requires that the external resources are included in the
resources storage used by StreamServer.
4. StreamServer continues to retrieve and wrap AFP resources, and add references
for all resources it finds.
6. When the Print Server finds a reference in the AFP data stream file, it retrieves
the corresponding resource from the resource group in the AFP data stream file.
Note: The names of the resources in the resources storage must correspond to
the resource names generated by StreamServer.
Reference mode
The Reference mode can be used to optimize conversion speed, the size of the AFP
data stream file, and resource loading on the printer. This mode requires that the
resources are included in the resources storage used by the Print Server.
2. StreamServer generates a unique name for the resource, and adds this name as a
reference on the corresponding page definition in the AFP data stream file.
5. When the Print Server finds a reference in the AFP data stream file, it retrieves
the corresponding resource from the resources storage.
Note: The names of the resources in the resources storage must correspond to
the resource names generated by StreamServer.
Merge mode
The Merge mode merges images and overlays as bitmaps directly on a page
definition. This mode can be used for unique images/overlays that are not shared by
several page definitions.
3. StreamServer continues to generate and merge bitmaps for all resources it finds.
5. When the Print Server finds a bitmap, it uses this bitmap in the output.
Export mode
The Export mode can be used to generate AFP resource files. The generated files can
be uploaded to the resources storage used by the Print Server, and later be used with
the Reference mode. The resource files can also be modified, and later be used with
the Include mode.
2. StreamServer generates an AFP resource with a unique name, and exports the
resource to a file in the resources storage used by StreamServer.
3. StreamServer continues to generate and export AFP resources for all resources it
finds.
Ignore mode
The Ignore mode is only applicable to image, overlay, and formdef resources. It can
be used during development to ignore temporary problems with resources. It can
also be used during production where the corresponding resources are pre-printed
on paper.
5. The Print Server finds no resources, and no resources are included in the
output.
See “Modes for managing AFP resources” on page 429 for information about the
above driver options.
Font technologies
• Outline
Embeds Adobe Type 1 fonts in AFP outline font resources.
• CID Outline
Embeds Adobe CID fonts in AFP outline font resources.
• Raster
Generates AFP raster font resources. The font resolution is determined by the
Resolution driver setting. If you specify 240 dpi, fixed raster metrics is used. If
you specify a higher resolution, relative raster metrics is used.
• Relative Raster
Generates AFP raster font resources using relative raster metrics.
• Fixed Raster
Generates AFP raster font resources using fixed raster metrics. The font
resolution is determined by the Resolution driver setting.
• OpenType
Embeds OpenType and TrueType fonts as data resources rather than traditional
AFP font resources. This new technology is not supported by most printers.
• TT Outline
Embeds TrueType fonts in AFP outline font resources. Used only for OCE
printers that do not support Type 1 fonts.
Unicode
Unicode is applicable only if the AFP driver runs in Embed mode for code page
resources. If you specify unicode (Communications Center name Unicode
(UCS-2)) as the default code page on the output connector, the auto generated
AFP code page name is T11200.
If you need to produce double byte output not only for printing, but also for
archiving, searching, etc., you must set the AFP driver option .Technology (Code
page) to Coded Font for Double Byte. This means the AFP driver converts double
byte code pages to a set of single byte AFP code page resources and AFP font
resources, together with AFP coded fonts.
The settings in the afp2wfnt.map file override the corresponding AFP driver GUI
settings for fonts and code pages. A standard entry for a font has the following
format in the afp2wfnt.map file:
Font "TTF_name"
ReadFont "TTF_file" SelectPrefix "TTF_name" Codepage "Source_CP"
Select "AFP_font" Codepage "AFP_CP"
Font "Arial"
ReadFont "ARIAL.TTF" SelectPrefix "Arial" Codepage "Ansi"
Select "CZH200" Codepage "T1000870"
afp2wfnt.map parameters
TTF_name
The original TrueType font used in the Process. The name must contain all used
flags, e.g. bold or italic. You must use underscores as separators. For example
Arial_bold_italic
TTF_file
The TrueType font file read by StreamServer.
AFP_font
The name to use for the AFP font resource.
Source_CP
The source code page.
AFP_CP
The name to use for the AFP code page resource.
-Technology[Technology_font]
The font technology to use to generate font resources. You can specify the
following Technology_font options:
• CID
• OUTLINE
• TTOUTLINE
• RASTER
• RELATIVERASTER
• FIXEDRASTER
• OPENTYPE
See “Generating font resources” on page 433 for more information about these
options.
-Technology[Technology_CP]
The code page technology to use to generate code page resources. You can
specify the following Technology_CP options:
• DEFAULT
• CODEDFONT
See “Generating code page resources” on page 435 for more information about
these options.
-mode
The mode to use for the font/code page resource. You can specify the following
modes:
• INCLUDE
• REFERENCE
• EXPORT
• EMBED
See “Modes for managing AFP resources” on page 429 for more information
about these options.
Location_font
The location of the font resource. Used only if mode is INCLUDE or EXPORT.
If mode is INCLUDE, the resource will be retrieved from this location. If mode is
EXPORT, the resource will be exported to this location.
Location_CP
The location of the code page resource. Used only if mode is INCLUDE or EXPORT.
If mode is INCLUDE, the resource is retrieved from this location. If mode is EXPORT,
the resource is exported to this location.
-SYSCP[System_CP]
System code page to use for a font, where System_CP is the Communications
Center name of the code page to use. For example:
-SYSCP[ISO 8859-1]
Mode
Export/Include path
To be able to export or include a font or code page resource, you must add the
Location_font and Location_CP parameters to the Select row.
Font "Arial"
ReadFont "ARIAL.TTF" SelectPrefix "Arial" Codepage "Ansi"
Size 7 Select "COH20080"
Size 8 Select "COH20080 -INCLUDE data\fonts\*.300
Size 9 Select "COH20090.300"
Size 10 Select "COH20000.300"
Font technology
You can use the parameter -Technology [Technology_font] to specify which
technology to use when generating a specific font.
Font "Arial"
ReadFont "ARIAL.TTF" SelectPrefix "Arial" Codepage "Ansi"
Select "COH20000 -EXPORT -Technology [RASTER] data\fonts\*.
300"
Font "Times_New_Roman"
ReadFont "TIMES.TTF" SelectPrefix "Times New Roman"
Codepage "Ansi"
Select "CZN200 -EXPORT -Technology [CID] data\fonts\*.OLN"
Font "MS_Mincho"
ReadFont "MSMINCHO.TTF" SelectPrefix "MS_Mincho" Codepage
"Ansi"
Select "CZM001" Codepage "T1000950 -SYSCP[BIG5]"
See “Modes for managing AFP resources” on page 429 for more information about
the above driver options.
S1LOGO
O1SLIP
The resource name, including prefix, can be up to eight characters long. This
means that if the original image/overlay contains more than six characters, the
name is truncated. For example, an image called logoSWE in the Process
generates the image resource name S1LOGOSW.
Auto generated resource names are normally used when running the AFP driver
in Embed and Merge mode for image and overlay resources.
Resolution
The AFP driver setting Resolution specifies the resolution of the generated
images. This setting also sets the resolution of all generated overlays and fixed
raster fonts.
Color settings
The AFP driver settings Color and .Technology (Image) specify whether to
generate black or white, or color images. To generate color images, you must
select Color> Extended and .Technology (Image)> IO Image or IO Image
Compressed.
IOCA settings
The IOCA settings (AFP driver setting .Content (Image)) apply to color images.
The following modes are available:
• IOCA FS11 (.Content (Image)> RGB)
• IOCA FS45 (.Content (Image)> CMYK)
• IOCA FS10 (.Content (Image)> B/W)
The mode to select depends on the capabilities of the printer. The default mode
is IOCA FS45, and is normally used for printing. IOCA FS11 is normally used for
AFP viewers.
Resolution
The AFP driver setting Resolution specifies the resolution of the generated
overlays. This setting also sets the resolution of all generated images and fixed
raster fonts.
Color settings
The AFP driver setting Color specifies whether to generate black and white,
gray scale, or color overlays. The option to select depends on the capabilities of
the printer. The following options are available:
• None – All colors are mapped to black and white.
• Yes – All colors are mapped to a limited set of colors.
• Extended – All colors are mapped to the RGB 0-255 color model.
• Grayscale – All colors are mapped to 256 shades of gray.
GOCA settings
The AFP driver setting GOCA applies to vector graphics in the overlay, and also
to vector graphics drawn directly in the Process tool. Which option to select
depends on the capabilities of the printer. The following options apply:
• None – GOCA is not used to generate vector graphics. Only vertical and
horizontal lines are presented in the output.
• Yes – Algorithms with simple GOCA objects are used to generate vector
graphics. Enables printing of free lines, polygons, ovals, and round corners.
• Extended – The extended GOCA set is used to generate vector graphics
without GOCA fillets. Enables printing of free lines, polygons, ovals, and
round corners.
• Full – The full GOCA set is used to generate vector graphics with GOCA
fillets. Enables printing of free lines, polygons, ovals, and round corners.
• Raster All – All vector graphic objects on pages or overlays are rasterized.
Enables printing of free lines, polygons, ovals and round corners as raster
images.
• Raster Patterns – All vector graphic objects with patterns are rasterized.
GOCA supports only a limited set of patterns. This option allows rasterizing
of objects filled by unsupported patterns.
4. For each image/overlay/color profile you want to map, add a new line using the
syntax and parameters described below.
Item TAB Type TAB Name TAB Mode TAB Location COLORPROFILE TAB
Name TAB Mode TAB Location
Parameters
Item
The name defined for the overlay/image in the Communications Center Process
tool.
Type
The resource type. The following types apply:
• PSEG – for images.
• OVERLAY – for overlays.
Name
The AFP resource name, for example 01SLIPEN. Image resources have the prefix
S1, and overlay resources have the prefix O1. The resource name and prefix for
images and overlays can be up to eight characters long.
Mode
The mode used for the resource. The following options apply:
• INCLUDE
• REFERENCE
• EXPORT
• EMBED
• IGNORE
• MERGE
See “Modes for managing AFP resources” on page 429 for more information.
Location
The path to the directory with the image/overlay/color profile resource. For
example, AFPRESOURCES/01SLIPEN.OVL
Used only if Mode is INCLUDE or EXPORT.
If Mode is INCLUDE, the resource is retrieved from this location. If Mode is EXPORT,
the resource is exported to this location.
Type
COLORPROFILE
This parameter is optional. It is only used to specify a color profile for an image
that is mapped to an existing AFP resource.
Name
The name of the color profile.
This parameter is optional. It is only used to specify a color profile for an image
that is mapped to an existing AFP resource.
Mode
The mode to use for the color profile resource. The following modes apply:
• INCLUDE
• REFERENCE
This parameter is optional. It is only used to specify a color profile for an image
that is mapped to an existing AFP resource.
Location
The path to the directory with the color profile resource. Used only if Mode is
INCLUDE.
This parameter is optional. It is only used to specify a color profile for an image
that is mapped to an existing AFP resource.
The map file you create is exported from the resource set to <export>\data\
tables. You must specify this path when you configure the device driver settings.
1. Open the Runtime Connector settings dialog for the output connector that
delivers the AFP output.
2. Select Job Begin and Device Driver Settings.
3. In .Map file (Resource), enter the path to the map file, for example:
data\tables\resourcemap
In this example, the image Logo.gif and the overlay Slip.lxf are used in
the Process. The image and overlay are added to the AFP data stream file
using Include mode. The image resource is retrieved from the file S1LOENG.
PSG, and is named S1LOENG. The overlay resource is retrieved from the file
O1SLIPEN.OVL, and is named O1SLIPEN. Both resource files are stored in the
resource directory AFPRESOURCES in the Export directory of the Project.
//!CodePage UTF8!
Slip OVERLAY 01SLIPEN INCLUDE AFPRESOURCES/
01SLIPEN.OVL
Logo PSEG S1LOEN INCLUDE AFPRESOURCES/
S1LOEN.PSG
//!CodePage UTF8!
logo COLORPROFILE ICCColorProfile45x INCLUDE
AFPRESOURCES/ICCColorProfile45T.icc
In this example, the image Logo is mapped to the file 1LOENG.PSG, which is
located in the directory called AFPRESOURCES in the Project Export directory.
The image is added to the AFP data stream file using Reference mode. The
image references a color profile named ICCColorProfile45x.
//!CodePage UTF8!
Logo PSEG S1LOEN INCLUDE AFPRESOURCES/S1LOEN.PSG
COLORPROFILE ICCColorProfile45x REFERENCE
Formdef output can be handled by the AFP driver using the following modes:
• Embed
• Include
• Reference
• Export
• Ignore
See “Modes for managing AFP resources” on page 429 for more information about
the above driver options.
Color profile resources can be handled by the AFP driver using the following
modes:
• Include
• Reference
For more information about modes for handling resources, see “Modes for
managing AFP resources” on page 429.
Color profiles specified at page level override color profiles specified for the
entire AFP data stream.
Color profiles specified for image objects override color profiles specified at
page level and for the entire AFP data stream.
• “Specifying a color profile for the AFP data stream” on page 447.
• “Specifying a color profile for a page” on page 447.
• “Specifying color profiles for external images” on page 441.
Color profiles specified for a page override color profiles for the entire AFP data
stream.
You cannot enter a variable into the property field, you must use the Alias method
to enter the variable.
1. On the Device Driver Settings tab, at Job Begin or Document Begin, select the
device driver property. The selected property is displayed as an Alias option at
the bottom of the Runtime Connector Settings dialog box.
In this example, the variable $zip is assigned to the property .Value (TLE 1).
%{propertyName}
If possible, make sure the resolution of the input data is the same as the printer
resolution.
• Scaling
If possible, make sure that images do not need to be scaled by the printer control.
• Fonts
Reduce the number of fonts used in a job. Switching between different fonts can
affect printing speed. Use fonts that are stored in the printer if possible.
• Redundancy
Avoid defining fonts, text orientation, and positioning unless it is required.
Avoid unnecessary blank characters and lines that overlap. For uncompressed
images, reduce the number of areas of white space if possible.
• AFP objects
Reduce the number of objects, structured fields, and controls. Try to avoid
switching between different AFP object types.
• Representation
Use efficient representation, for example solid lines instead of dashed, and group
data that uses the same font. Use compressed images instead of uncompressed,
and where possible use IOCA images instead of GOCA images.
• Optimizing printer efficiency for AFP throughput
There are several things to consider when optimizing printer efficiency for AFP
output:
• Retain resources in the printer storage.
• Use overlays for sections that are common to several pages.
• Avoid creating many short jobs. Job initiation and termination can affect
printer performance.
• Minimize the need to switch between simplex and duplex.
• Minimize the need to switch between different input bins.
Processing mode
• Loose - If the driver receives a layout object or property that it does not
support, it is ignored and not rendered in the output. This can be useful for
documents not primarily designed for the DOCX driver. A warning message
is issued but the processing is not stopped.
• Strict - If the driver receives layout that it does not support, the processing is
stopped and an error message is issued. This can be useful when designing
documents mainly intended for DOCX output.
Info Author
Optional information for the “Author” Word property.
Info Title
Optional information for the “Title” Word property.
Info Company
Optional information for the “Company” Word property.
Info Subject
Optional information for the “Subject” Word property.
Track Changes
Select Yes to have the Track changes option enabled when opening the
document in Word.
Editing restrictions
Specifies editing restrictions for the document:
• None - No restrictions.
• Read only - The end user can only read and not edit the document.
• Allow filling in forms - The end user can read and fill in forms in the
document.
Restrictions password
Optional password that can be used to prevent the end user from modifying the
editing restrictions.
Copies
N/A
Caution
Do not use the DOCX driver when input comes via the AFPIN, PDFIN
filter or LXF Writer. This may generate output that is not possible to open
in Word.
Page structure
A Word page or a Word section consists of
• One rectangular body area with page margins, defining a page frame.
• Optionally a header and/or footer, which can contain objects covering the
whole page
In StoryTeller, you can define several Story frames on a page. Because Word
only supports one page frame, only one of the Story frames can be mapped as
the Word body area. The DOCX driver by default selects the first Story frame
listed in the Page object list to be mapped to the Word body area.
Note: If a StoryTeller page does not contain any Story frame, the page is
mapped to a Word page with a header where the page content is rendered.
Caution
If the same Story flows between Story frames on a first page and on
continuous pages, the Story frames must have the same dimensions
and positions, except for the upper edges of the frames. To achieve this,
you can copy the Story frame position and size from the first page
definition to the continuous pages. If required, you can resize the frame
Note: The focus when developing the DOCX driver has been to create output
for further editing in Word, and not primarily to create exactly the same output
you get when using e.g. the PDF driver.
Barcodes
Barcodes are rasterized in the DOCX output.
Borders
Images
In StoryTeller, increasing the border thickness will cause half the border
thickness to extend outside the image and half will occupy space on the image
itself. In Word output, all of the border is extended outwards of the image,
meaning the total area occupied by the image will be larger than in StoryTeller.
Text
For text areas, the border behavior is similar in both outputs.
Chart
Charts are rasterized in the DOCX output. However, it will most likely be supported
and mapped to Word charts in future releases.
Columns
StoryTeller columns are only supported in the DOCX output for the first Story in the
Stories list.
Decimal tabulator
StoryTeller applies the appropriate decimal separator according to the current
language in the document. In Word, the system locale setting is used to decide
which decimal separator to use. This means that if you have different decimal
separator in different parts of your StoryTeller document depending on the
language, all decimal separators will be the same in the Word output.
This means also that the decimal tabulator may be rendered differently in the DOCX
output compared to what you have designed in StoryTeller.
Fragments
For Dynamic and Content Dependent Fragments defined in StoryTeller, the
following apply:
• the <page> substitution is mapped to a field in Word displaying the current page
number.
• the <pages> substitution is mapped to a field in Word displaying the total
number of pages in the document.
Note: For other output than via the DOCX driver, you must use a Content
Dependent Fragment if you use the <pages> substitution, or the pages() script
function. This means that if you e.g. intend to create output via drivers like
PDF or AFP from the same StoryTeller document, you must use the Content
Dependent fragment for these fields.
Caution
Dynamic fragments can only be evaluated when the page type where the
fragment is added has been defined in StoryTeller and generated with the
DOCX driver. Pages that are added in Word afterwards are not included in
the evaluation.
Images
In Word, images that are larger than the object size are always resized or cropped to
fit the object size.
• If you use negative margins in StoryTeller to let an image be larger than its object
boundaries, the image is cropped in the DOCX output.
• If you insert an image in StoryTeller where the image native size is larger than its
object boundaries, the image is scaled to fit the object in the DOCX output.
Especially, this is visible when a horizontal line is the only object in a paragraph.
Note: For RTF filtered input, the property is set to MS Word by default.
Page structure
Figure 21-1: The first frame in the list is used in the DOCX output
Tip: By setting the Name property of a Story frame to _MAIN_, the DOCX
driver selects this frame to use in the output, even if it is not first in the list.
Note: The remaining Story frames are mapped into text areas that are rendered
in the page header of the Word output. Other objects than Story frames are also
rendered in the page header.
Tables
Table headers
In StoryTeller, you can use several types of overflow headers, like Only first
instance, All but first instances etc. Word only has support for a repeated
header. The following applies:
• If you specify a row header to Only first instance, and you also have a
header for All instances, the Only first instance header is ignored. If an All
instances header does not exist, the Only first instance header is mapped
into a body row.
• If you specify an All instances header, it must be the first row of the table.
In Word, the table is a paragraph of its own but lacking the paragraph
properties a text paragraph has, such as the space before and after the
paragraph. Therefore, any setting for Space before and Space after is ignored in
the Word output.
Balanced columns
In Word, all data is rendered in one column regardless of the StoryTeller column
section settings.
In Word, the inner margins is used to define a rectangular area for the text. This
means that the DOCX output can look different from the StoryTeller design:
Figure 21-4: The DOCX output for the StoryTeller design in Figure 21-3
Note: In addition to standard shapes, like ellipses or free forms, a shape can be
created in StoryTeller by enabling point editing mode on a text box.
Visibility
In StoryTeller, if you specify Visibility to Invisible on an object, the DOCX driver
generates an empty text object. This object can be deleted when output is opened in
Word. However you can not make it visible again. Objects with Visibility set to
Hidden are not included at all in the DOCX output.
Note: The paragraphs you want to be included in the table of contents must be
included in a Story and have Outline level set to Level 1 or higher in the
Properties panel Paragraph properties.
2. In the Stories view, right-click in the Story where you want to insert the table of
contents and select Insert > Table of Contents for DOCX.
3. Verify in the Stories panel that a Table of Contents for DOCX command is
inserted into the Story.
1. In the Stories panel, select the Table of Contents for DOCX command.
3. Click the browse button. The Table of Content definition dialog opens.
4. Define the table of contents. For information about the options in the dialog, see
Section 8.7.30 “Table of Contents definition dialog” in OpenText Communications
Center Enterprise - StoryTeller Configuration Guide (CCMSTT-CGD).
When opening the DOCX output for the first time in Word, you are asked if you
want to update fields that refer to other files:
• Select Yes to generate a table of contents in the Word file at the location you
defined in StoryTeller.
• Select No to keep an empty placeholder for the table of contents. It is possible to
generate the TOC later in Word by right-clicking the placeholder and selecting
Update field.
In the Runtime configuration, you can override the Platform driver settings. For
example, to set values dynamically via variables. For some settings, the value
returned by a variable must be Yes or No (case sensitive).
Tip: You can configure custom properties for some of the driver settings in
StoryTeller (see Section 2.3.1 “HTML settings in StoryTeller” in OpenText
Communications Center Enterprise - StoryTeller Configuration Guide (CCMSTT-
CGD)). For example, to use individual settings for several StoryTeller Processes
in the same Message. The driver settings override the custom properties
configured in StoryTeller.
Note: All driver settings with Default as value (or empty value) will use the
value defined in StoryTeller. This is either the StoryTeller default value or a
value specified by a custom property.
HTML version
The HTML version to use for the output.
• Default - Any value specified by the custom property html.version in
StoryTeller is used. If no custom property is specified, HTML 4.01 is used.
• HTML 4.01 Transitional - Used for HTML 4.01 output. Used mostly for
backward compatibility reasons.
• HTML 5 - Used for HTML 5 output. Must be used to, for example, enable
StoryTeller interactive objects.
HTML title
A title of the HTML page (optional) visible in the client web browser.
If left empty, any value specified in StoryTeller using the custom property title is
used. If no custom property is specified, no title is used.
Inline CSS
Specifies how the CSS (Cascading Style Sheets) is used with the HTML output.
• Default - For SMTP (MIME), the CSS is integrated in the HTML output, and for
other output connectors, a separate CSS file is generated.
• Yes - Integrates the CSS in the HTML output, regardless of the output connector
being used.
• No - Generates a separate CSS file that the HTML output links to. Only
supported for File and SMTP (MIME) connectors, and for output connectors
with Include result in service response enabled (input received via a Service
Request input connector).
Link images
A regular expression to link images in the HTML output. For information about
regular expression syntax, see http://www.regular-expressions.info/reference.html.
If left empty, any value specified in StoryTeller using the custom property
linkedresources is used. If no custom property is specified, images are not linked.
If you link images as external resources in the StoryTeller document, you can use a
regular expression to link the images also in the HTML output. When the regular
expression matches an image URI, the image URI is used in the HTML output. With
no match, the image is generated as an external file referenced from the HTML
output.
Example 22-1: Link HTTP images except those stored on local host/
network
To use HTTP image URIs directly in the HTML output for images that are
not referenced from the localhost or the local network, you can specify the
following regular expression:
^http://(?!localhost[/:]|192\.168\.)
This means that if the URI starts with http:// the image URIs are kept in
the output, except in the following cases:
http://localhost/
http://localhost:
http://192.168.
If left empty, any value specified in StoryTeller using the custom property html.
body.background-color is used. If no custom property is specified, no background
color is used.
To add a red background color, you can use one of the following HTML
color formats:
red
rgb(255,0,0)
rgb(100%,0%,0%)
#FF0000
#F00
You can also use the RGBA color model to specify the opacity of a color. Note that
the RGBA color model is not supported by all web browsers and email clients.
rgba(255,0,0,0.5)
Body margin
The body margins of the HTML page in pixels or CSS units. For information about
body margin syntax, see http://www.w3schools.com/css/css_margin.asp. If left
empty, any value specified in StoryTeller using the custom property html.
body.margin is used.
The margins define the space around the body object. You can specify one value for
four all margins, or use different values for the top, right, bottom, and left margins.
You can use negative values to overlap content, but note that negative values for
margins are not supported by all email clients.
To set different values for the top (14 points), right (1 inch), bottom (no
margin) and left (1 inch) margins, enter 14pt 1in 0 1in.
Rasterize fragments
Determines whether to rasterize fragments referenced from Stories.
Notes
• Radial gradients are always rasterized, regardless of driver configuration.
• Gradient fill is not supported by all web browsers.
• Default - Any value specified by the custom property html.native-gradient-
fill in StoryTeller is used. If no custom property is specified, shapes with
gradient fill are rasterized.
• Yes - Enables horizontal and vertical gradients in the HTML output. On the
HTML page, gradients are rendered according to the web browser support for
gradient fill.
• No - Shapes with gradient fill are rasterized.
If left empty, any value specified in StoryTeller using the custom property html.
body.background-image is used. If no custom property is specified, no background
image is used.
Valid URLs
The client must be able to access the image using the URL specified. In case of an
absolute URL you must use the appropriate prefix, for example http:.
The offset is set from the upper left corner of the content body. You can specify the
values in pixels, CSS units, or via the following keywords (case sensitive):
• left - Equivalent to 0% for the horizontal position.
• right - Equivalent to 100% for the horizontal position.
• top - Equivalent to 0% for the vertical position.
• bottom - Equivalent to 100% for the vertical position.
• center - Equivalent to 50% for the horizontal position if it is not otherwise given,
or 50% for the vertical position if it is.
If you specify only one value, the second value is assumed to be center. If at least
one value is not a keyword, then the first value represents the horizontal position
and the second represents the vertical position.
To offset the image 2 cm to the right and 1 cm below the upper left corner,
use:
• 2cm 1cm
To offset the image 2 inches to the right of the upper left corner, but still
aligned with the top, you can use one of the following:
• 2in top
• 2in 0
To offset the lower right corner of the image to the lower right corner of the
content body, you can use one of the following:
• right bottom
• 100% 100%
A developer can add additional head elements to an UTF-8 encoded file, and store
this file in any repository that can be accessed by StoryTeller. The additional
elements are normally <meta>, <link>, <script> and <style> elements, but the
developer can add any content supported in the <head> element (except <title>).
When specifying the URI to this file, the file content is added to the <head> section
in the generated HTML.
Valid URLs
The resource referenced by the URL is a resource used in StoryTeller. This URL
can be any standard StoryTeller repository URL.
The purpose is to help users when post-processing the output using custom CSS or
JavaScript filter (see “JavaScript filter” on page 556). The value of Semantic tag
attribute name must be a valid attribute name. An attempt to set an invalid value
throws an exception. In HTML, all attributes with prefix data- should be valid.
If the value of Semantic tag attribute name is empty, semantic tags are not
propagated to the HTML output. If the value is a valid attribute name, this attribute
name determines the HTML attribute where Class values from the StoryTeller
document have to appear. The driver may produce a specific additional HTML
element for the attribute, or it may add the attribute to a suitable element.
When a Class is found in a StoryTeller document, and if the value of Semantic tag
attribute name is valid, this tag is propagated to the HTML output under the
following circumstances:
• The Class is assigned to the main story, a table story or a story owned or
referenced by a switch
• The Class is not assigned to a story containing just table rows (“Table range”).
• The Class is not inside external contents arriving via a substitution.
• The contents is not rasterized in the HTML output.
Copies
Not applicable.
Line properties Start cap, End cap and Line join are ignored in the output.
Colors
CMYK and grayscale is not supported in HTML, colors are converted to RGB.
Corner effects
• Ignored in tables, i.e. normal square corners are rendered in the output.
• Rasterized in shapes, e.g. rectangles.
Gradient fill
Shapes with gradient fill are by default rasterized, because not all web browsers
support gradient fill. You can override this behavior and allow gradient fill to be
generated by specifying either:
Horizontal scaling
Hyphenation
Inline objects
If possible, avoid using multiple text objects or tables in the same text line. Instead
use a single table. This is because the HTML driver generates one cell tables for text
objects to support vertical alignment of these objects. However, e.g. MS Outlook
displays these tables as a paragraph table, i.e. the table is the only object that can be
on that same text line.
Interactive objects
• Because Internet Explorer does not submit values from interactive objects outside
of an interactive form, an interactive object must always be kept within the scope
of an interactive form.
• A drop-down list in HTML output always have the first value in the list pre-
selected, as long as the user has not yet selected any other value.
Linespacing
You should avoid situations where exact line spacing is necessary since HTML and
StoryTeller handle line spacing differently. In HTML, the space is distributed
equally above and below the text, while in StoryTeller the specified line spacing is
rendered below the text.
Rotation
Rotation of objects is not supported by HTML and thus ignored. Objects rotated in
StoryTeller are rendered in the HTML output without rotation.
Symbol fonts
You should avoid symbol fonts since HTML does not support characters addressed
by codepoints.
However, the StoryTeller bullets, which uses Symbol font, are mapped from the
Symbol font by the HTML driver to Unicode U+2022. This renders a bullet of the
current font in the same point size as the original bullet, just slightly smaller.
Tabs
HTML does not support tabs. Each tab is replaced with two space characters in the
output. In StoryTeller, tabs are used in the default numbering types. However, for
bullets and numbering, it is ensured that the bullet or number is placed at the first
line indent and a relative width span is rendered before the bullet/numbering
content. This space is the shortest of the defined tab and the indent position.
Tables
Because HTML does not support balanced columns, all data is rendered in one
column regardless of the column section settings.
Vector graphics
Rectangles with solid lines are maintained as vector objects also in the HTML
output.
Vertical grow
It is recommended that you let content grow with text areas and table rows, instead
of using fixed heights. Depending on the mail client, the content may require more
space than the HTML driver expects.
Caution
As described above, many design elements that you add in StoryTeller are
rasterized by the HTML driver. Be aware of that this rasterization may
cause the following:
• Slower processing.
• Large image attachments to the email.
• Screen resolution and zooming constraints.
To enable better suggestions to browsers that do not have the exact font name
available, additional font information is generated in addition to the font family
name, as in the examples below:
• Arial - 'Arial', sans-serif
• Arial Narrow - 'Arial Narrow', sans-serif
• Times New Roman - 'Times New Roman', serif
• Imprint MT Shadow - 'Imprint MT Shadow', fantasy
• Courier New - 'Courier New', monospace
• Bradley Hand ITC - 'Bradley Hand ITC', cursive
• Wizardry - 'Wizardry\xd5
XML transformation
The HTML output can be transformed into XML by loading it in an XML parser.
The Layout driver is intended for StoryTeller output only. It is typically used to
produce paginated output for browser based editors like Communications Center
StoryBoard and ReTouch.
The driver collects layout information from individual StoryTeller pages, rasterizes
the pages to the appropriate image format (PNG or SVG), and produces XML
output. To transform the XML to a presentation suitable for the client (for example
StoryBoard) you must apply an XML Stylesheet Filter to the output (see “XML
stylesheet filter” on page 563).
Filter examples
The following examples apply to both the RenderFilter and RasterizeFilter:
• 2
Select page number 2 only.
• 2,2,2
Same as 2.
• 1–3
Select page number 1–3.
• 3–1
Same as 1–3.
• 1,3,6
Select page number 1, 3 and 6.
• 6,3,1
Same as 1,3,6.
• 1,3–5,8
Select page number 1, 3, 4, 5 and 8.
• 6–
Select all pages from page 6 to the end.
Platform settings
• Page size
The size of the page. You can select from a number of pre-defined sizes (Letter,
Legal, A4, etc.) or specify a custom page size (in millimeters).
• CustomPageWidth
The page width (mm) when Page size is Custom Size.
• CustomPageHeight
The page height (mm) when Page size is Custom Size.
• Paper source
The media source for the printer, i.e. the source where the printer gets the media
(Letter, A4, etc.) to print on.
• PageDestination
The destination for the printed output.
• Duplex
Specifies whether to use duplex printing (both sides of the sheet), and how to
apply the binding (horizontal or vertical) for duplex printing.
• None - No duplex printing (print on one side of the sheet only).
• Horizontal - Use duplex printing with horizontal binding.
• Vertical - Use duplex printing with vertical binding.
• DuplexSide
The side of the sheet where to print the current page.
• None - Use device default setting.
• Front Media Side - Print on the front side of the sheets.
• Back Media Side - Print on the back side of the sheets.
• Orientation
The orientation of the page.
• ImageColorQuality
The color quality used on the output image.
• No Compression - No compression.
• RLE Compression - Run length encoding (RLE) compression.
Runtime settings
• ByteOrder
Ordering of the most significant to the least significant bytes in the stream for
multibyte binary fields.
• Big Endian - A binary binding follows in the stream body where operator
identifiers, attribute identifiers, and attribute values are expressed in a form
where the most significant byte is the first byte in the binary field (from left to
right) and the least significant byte is last (to the right).
• Little Endian - A binary binding follows in the stream body where operator
identifiers, attribute identifiers, and attribute values are expressed in a form
where the least significant byte is the first byte in the binary field (from left to
right) and the most significant byte is last (to the right).
• ErrorReport
Indicates the method for how to report errors to the user.
To be able to add PJL commands you must create a custom PCL 6 device and a copy
of the pcl6.drs driver file for this device. See “Device Tool” on page 525 for
information about how to create custom devices. When you have your custom
device you can add the appropriate PJL commands to its custom *.drs file.
When you open the *.drs file in an editor you will find the following JobBegin tag
(line breaks added for readability reasons):
JobBegin "<1b>%-12345X@PJL<0d,0a>
@PJL JOB NAME=<22>%1<22> DISPLAY=<22>%1<22><0d,0a>
@PJL SET RESOLUTION=600<0d,0a>"
The default string contains PJL commands for job name and resolution. If you need
more PJL commands, you must add them to this string. For example, to add the PJL
command @PJL SET COPIES=3<CR><LF> you can edit the JobBegin string as follows:
JobBegin "<1b>%-12345X@PJL<0d,0a>
@PJL JOB NAME=<22>%1<22> DISPLAY=<22>%1<22><0d,0a>
@PJL SET RESOLUTION=600<0d,0a>
@PJL SET COPIES=3<0d,0a>"
PDF driver
• Generates the lowest possible PDF version, which is normally PDF 1.3, unless the
output contains features that require later versions of PDF.
• Compatible with Acrobat 4.0 and later.
• Accepts LXF overlays.
• Enables adding and embedding of TrueType fonts in output.
• Enables adding and embedding of Postscript Type 1 fonts in output.
• Full Unicode support (via automatic font embedding).
• Full color support.
• Accepts interactive objects added in StoryTeller.
• Accepts graphics added in StoryTeller.
• Supports rounded corners and oblique lines.
• Supports file compression.
• Supports encryption.
• Supports bookmarks.
• Supports PDF/A and PDF/X.
• Supports attachments with Plain PDF and PDF/A-3.
To generate PDF output, you must select and configure a PDF driver for the output
connector, and configure the corresponding driver options, see “PDF driver
settings” on page 478.
Fonts
You can use TrueType or Postscript Type 1 fonts in the PDF output.
Embedding fonts
Embedded TrueType or Postscript Type 1 fonts enable the receiver of the PDF
file to view and print fonts without installing them locally. For information on
how to embed fonts in PDF documents, see “Embedding fonts in PDF
documents” on page 519.
• Allow print
Applicable only if encryption is used
• No - Do not allow printing of the document.
• Yes - Allow printing of the document.
• Allow modify
Applicable only if encryption is used
• No - Do not allow modification of the document.
• Yes - Allow modification of the document.
• Allow copy
Applicable only if encryption is used
• No - Do not allow copying of text and graphics from the document.
• Yes - Allow copying of text and graphics from the document.
• Use filter ASCII 85
• Yes - Encode data as 7-bit ASCII text.
• No - Do not encode data as 7-bit ASCII text.
The ASCII-85 filter encodes binary data as 7-bit ASCII text consisting only of
printable characters. This enables data to be sent through various communication
channels without undesired changes, for example, older mail systems that cannot
handle 8-bit data streams.
When this filter is used, the overall PDF file size becomes approximately 20%
larger.
Encrypted PDF files are always binary, so the filter is not useful for this kind of
data.
For more information about the ASCII-85 filter, see for example the PostScript®
Language Reference.
• Use resolution
• No - Embed images as they are.
• Yes - The resolution specified in the driver file is used. The default resolution
is 300 dpi. Some images are down-scaled, depending on the actual image
resolution and the resolution specified in the driver file. To specify another
value than the default resolution you must edit the driver file. See “Device
drivers and tools“ on page 523.
• Embed threshold
If you want to embed characters with codes below 256, you can define which
characters to embed when using Unicode characters in TrueType fonts. For
example, if you set this value to 128, all characters used, with codes greater than
or equal to 128 will be embedded. Minimum value is 0, maximum value is 256.
• Yes - Hide the window controls, for example bookmarks and thumbnails.
• Viewer: Fit window
Applied when the user opens the document.
• No - Do not resize the viewer to fit the page.
• Yes - Resize the viewer to fit the page.
• Viewer: Center window
Applied when the user opens the document.
Select Yes to display the window centered on screen.
• Viewer: Display document title
Applied when the user opens the document.
• No - Do not display the document title in the title bar.
• Yes - Display the document title in the title bar.
• Viewer: Page mode
Applied when the user opens the document.
• Page Only - Only display the page.
• Bookmarks and Page - Display the Bookmarks tab and the page.
• Conformance
The conformance level of the PDF output.
Note: Tagged PDF and PDF/A-1a can only be used in combination with the
Adobe LiveCycle Designer ES Process.
• Plain PDF - Select to generate plain PDF.
• Tagged PDF - Select to generate tagged PDF, i.e. include information about
the structure of the document in the PDF. Structure is the term for a set of
instructions that define the logic that binds the content together – for example
the correct reading order, and the presence and meaning of significant
elements such as figures, lists, tables, etc.
• PDF/A-1a - Select to generate PDF/A–1 Level A compliant output. See “About
PDF/A” for more information.
• PDF/A-1b - Select to generate PDF/A–1 Level B compliant output. See “About
PDF/A” for more information.
• PDF/A-2a - Select to generate PDF/A–2 Level A compliant output. See “About
PDF/A” for more information.
• PDF/A-3a - Select to generate PDF/A–3 Level A compliant output. See “About
PDF/A” for more information.
• PDF/X-1a:2003 - Select to generate PDF/X output compliant to ISO
15930-4:2003. See “About PDF/X” for more information.
If you select No, JPEG compression will still be used for images already in JPEG
format. If a source image is of any other format (PNG, BMP, etc.) you must select
Yes to compress the image in the output document.
Note that if you select No, and Use compression above is set to Yes, the ZLIB
compression is applied to images.
• JPEG Image Compression Quality
Specifies the compression level and quality of JPEG images in the output
document. You can select a number between 10 (highest compression level/worst
quality) and 100 (lowest compression level/best quality). The default value is 80.
Compression quality is applied when compressing non-JPEG images. Images
already in JPEG format are not reprocessed.
• Use forms
• Yes - All non-dynamic overlays used in the Project are generated as PDF form
objects.
• No - All data is processed as usual.
• Color: Profile for RGB
Specifies the file path to an ICC color profile for RGB colors. The path is relative
to the working directory.
Note: This profile is used only if a color profile is required and the color
profile of the RGB input color for the PDF driver is not known.
• Color: Rendering intent
If color conversion is required, e.g. if the color space differs between the source
and the destination, you can specify one of the following to e.g. avoid clipping of
saturated colors:
• AbsoluteColorimetric - Use to render exact specified colors.
• RelativeColorimetric - Use to render exact specified colors, but with a
correction for the output media.
• Saturation - Recommended for charts where a limited set of distinctive colors
is used.
• Perceptual - Recommended for natural images/photos.
Note: The text should be meaningful to the operator receiving the file.
http://www.color.org/
• Output intent: DestOutputProfile
Specifies the file path to the color profile corresponding to the characterization
data reference specified in Output intent: OutputConditionIdentifier. The path
is relative to the working directory.
For example, .\CoatedFOGRA43.icc
• Document script
If you want to embed a JavaScript into the PDF output, specify the path here. The
script must be located in a file that can be accessed by the StreamServer
application. The path to this file is typically relative to the working directory.
• Interactive fields
Select whether to use interactive objects configured in StoryTeller.
• Interactive - Select to use interactive objects.
• Static - Select to render interactive objects as static objects.
Note: Must be Static for PDF/A and PDF/X documents. If not, the presence
of interactive objects will trigger an exception and document processing
will fail.
• XMP descriptions file
Specify file path to the XMP descriptions file to use. This may be required when
PDF is used for output documents that should comply with industry defined
standards, such as the ZUGFeRD specification.
• Copies
Not applicable.
About PDF/A
PDF/A is used for long term archiving of electronic documents, and ensures the
documents can be reproduced the exact same way in years to come. All information
necessary for displaying the document is embedded in the file. This includes all
content, fonts, and color information. A PDF/A document must not be reliant on
information from external sources (e.g. font programs and hyperlinks), and must not
be password protected.
Level A is the same as Level B, with the addition of tagged PDF. Level A
conformance ensures, in addition to the appearance of the document, that the
document structure is described in the PDF, and that all text can be extracted. For
example, to enable a document to be read out loud using a speech synthesizer, you
must use Level A.
PDF/A-3a extends PDF/A-1 with the possibility to embed attachments in the PDF.
The attachment can be in any format, but the attached file must be explicitly
associated with the PDF where you specify the relationship (source, data,
alternative, supplement, or unspecified) on the output connector. See “Specifying
attachments to be embedded in the PDF output.“ on page 484.
Notes
1. In the Platform settings, for PDF device Conformance option, specify Plain PDF
or PDF/A-3a.
Attachment type
Static attachment – Select to specify a static attachment via the Attachment path
option below.
Output from Attachment connector – Select to use dynamic attachments via an
Attachment output connector (see “Using an Attachment connector”
on page 139).
Attachment name
A name of the attachment. You can use a variable for this.
Attachment description
Optionally, enter a description of the attachment. You can use a variable for this.
Use attachment as
Source – Use when the file you specify in Attachment path or on the
Attachment connector is the original source material for the associated content.
Data – Use when the file you specify in Attachment path or on the Attachment
connector represents information used to derive a visual presentation, e.g. a
table or a graph.
Alternative – Use when the file you specify in Attachment path or on the
Attachment connector represents an alternative representation of content, e.g.
audio.
Supplement – Use when the file you specify in Attachment path or on the
Attachment connector represents a supplemental representation of the original
source or data that may be more easily consumable e.g. a MathML version of an
equation.
Note: Use only when the file is not used as Source or Alternative.
Is mandatory
Select if output should not be created in case the attachment can not be
embedded in the PDF.
Attachment path
For static attachment, specify path to the file to embed into the PDF. The path
can point to a file in a local folder, in a resource repository (resource://) or in
an OpenText Media Management repository (otmm://).
You can use a variable for this.
Examples:
..\resource\$myattachment.xml
c:\attfolder\offer.xml
otmm://otmm-ny/?id=6708ba967b9b4dbd94f01fd6457a7
resource:/?name=marketing
Content type
For static attachment, specify the type of content the attachment includes.
Predefined – Specify the Predefined type option.
Custom – Specify the Custom type option.
Custom type
For Content type Custom, specify a custom content type.
Predefined type
For Content type Predefined, select one of the predefined types.
Attachment connector
For output from attachment connector, select the attachment output connector to
use.
About PDF/X
PDF/X is used to make graphics exchange easier. A number of settings related to
printing requirements is therefore included.
• PDF/X-1a – all fonts must be embedded and all colors must be CMYK. However,
the PDF driver converts any RGB colors to CMYK.
• For PDF/X-3 – mainly as PDF/X-1a, but calibrated RGB is accepted. The PDF
driver embeds the RGB color profiles.
If color conversion is to be performed by the driver, input and output color profiles
are required. For input profile, it may be either embedded in the image, or via the
Color: Profile for RGB option. The output profile must be specified in the Output
intent: DestOutputProfile option.
Caution
PDF features such as forms, comments, signatures, encryption, actions,
JavaScript, and transparency are not supported for PDF/X.
25.2 Encryption
You can encrypt the PDF output to protect the generated PDF documents from
unauthorized access. Encryption only applies to the contents of the document. It
does not apply to other object types that are used to convey information about the
structure of the document.
The filter that controls access to the contents of the encrypted document is the
security handler. The security handlers available in PDF are Standard Security
Handler revision 2 and Standard Security Handler revision 3.
PostScript driver
Image compression
Images are compressed using:
PostScript forms
PostScript forms can be used to optimize driver output. A form is a resource that
can be added to the output stream once, cached in the printer memory and then
executed multiple times on subsequent pages. This means that only information
that changes between forms needs to be interpreted for each page. Images
(raster and EPS), device overlays (EPS), and LXF overlays can be converted into
forms.
Settings
• Page size
Page size. If you select None, the printer device settings will be used when
printing.
Note: If you use a sheet layout definition, the sheet layout settings will
override the driver settings.
• Simplex/Duplex
Select whether to print on one side or both sides of the paper. If you select None,
the printer device settings will be used when printing.
Note: If you use a sheet layout definition, the sheet layout settings will
override the driver settings.
• Orientation
Print orientation. If you select None, the printer device settings will be used
when printing.
Note: If you use a sheet layout definition, the sheet layout settings will
override the driver settings.
• For
The name of the user for whom the document is printed.
• Routing
Information about how to route the document back to its owner after printing,
for example an email address.
• Version
The version or revision number of the document or resource.
• Page order
• None - Select this option if the order of the pages is not important.
• Ascend - The pages of the document are in ascending order.
• Descend - The pages of the document are in descending order.
• Special - The pages in the document are in a special order, e.g. signature
order and should not be changed.
• Grayscale
• Yes - Converts color images into 8-bit grayscale and compresses them using
the LZW compression method. Select this option to optimize image output
for non-color printers.
• No - The compression method is selected automatically.
• Use PostScript forms
• Yes - All static images and overlays used in the Project are generated as
PostScript form objects.
• No - All data is processed as usual.
• Virtual Memory for Forms (KB):
The amount of virtual memory to be used for forms. The default form cache size
is 16 MB (16384 kB). If the amount of cached PostScript data exceeds the limit
defined for this setting, the image or overlay will not be cached and will be
processed as usual.
• Language level
The PostScript language level.
The XPS driver produces Microsoft XPS documents according to XML Paper
Specification version 1.0.
The XPS document format contains a set of related pages with a fixed layout
organized as one or more documents. A file that implements this format includes
everything necessary to fully render these documents on a display device or
physical medium (e.g. paper). This includes all resources such as fonts and images
that might be required to render the individual page markings. XPS uses a ZIP
archive, containing documents (fixed documents, pages etc.) and resources (images,
fonts etc.).
The XPS documents use the XML language to describe fixed documents and pages.
The documents contain a root fixed document sequence that binds a collection of
fixed documents which, in turn, bind a collection of fixed pages.
Copyright
For use of the Communications Center XPS driver, the following copyrights
apply:
Permission is granted to anyone to use this software for any purpose, including
commercial applications, and to alter it and redistribute it freely, subject to the
following restrictions:
The Zebra Label Printer driver automatically generates ZPLII (Zebra Programming
Language II) code. ZPLII is a high-level label definition and printer control
language. It contains instructions for printer configuration, label text, bar codes,
lines, and bitmap graphics.
For information and details about ZPLII, see the ZPLII Programming Guide, Zebra
Part Number 46496L, published by Zebra Technologies Corporation.
Required knowledge
These instructions are intended for users who are familiar with Communications
Center and ZPLII.
You define the label size in the Process. When printed, the label is automatically
centered on the media. The best result is achieved if the page width defined in the
Process is equal to the actual physical width of the media.
In cases where the page size is larger than the physical size of the label, the output
will be different from that defined in the Process or the overlay.
Continuous media
When using continuous media for printing, the label length is defined by the
page height.
Overlays
If you use overlays, the size of the overlay should be the exact same size as that
of the page defined in the Process.
28.3 Fonts
The Zebra Label Printer driver supports the A-H bitmap fonts, and the scalable font
0, that come with most Zebra printers. The driver also supports downloading
TrueType fonts to the printer.
Notes
• The GS (Graphic Symbol) Zebra font is supported for all fonts and code pages,
except for downloaded Unicode fonts.
• You cannot download Windows TrueType fonts as Zebra bitmap fonts.
• Font rasterization is not supported. Adding the options Rasterizefont or
FontEmbed in the driver file will have no effect.
Text underlining and striking out is supported for all Zebra fonts. You can map
several fonts to the same Zebra font.
To map the Arial font to the Zebra font 0, add the following line to the Fonts
Mapping section in the driver file:
To map underlined fonts, add a line in the following format to the Fonts
Mapping section in the driver file:
To change the size of Zebra fonts used in the printed output, you must edit the Fixed
size fonts section in the driver file. See “Device drivers and tools“ on page 523 for
information on how to edit driver files.
All font sizes used in the Process, and in overlays, must be mapped to a valid Zebra
font size. Valid Zebra font sizes for bitmap fonts A-H are multiples of height from 2
to 0 times the standard height in increments of 1. For example, Zebra font A has
standard height 9 dots. Valid values for this font would be 9 (default), 18, 36, 45, 54,
63, 72, 81, and 90. Specifying another value will not generate an error, but has no
sense because it will be rounded to the closest valid value. See the ZPLII
Programming Guide for valid font sizes for specific printer resolutions.
Note: In the Process, and in overlays, font size is specified in points, while the
size of Zebra fonts is specified in printer dots.
Example 28-3: Mapping font sizes used in the Process to Zebra font
sizes
To map sizes 10, 12, and 15 of the Courier font to sizes 18, 36, and 45 of Zebra
font A, add the following lines to the Fixed size fonts section in the driver
file:
Where:
• the WidthTable number must correspond to the width table of the
selected Zebra font, as specified in the section Mapped fonts definition
in the driver file. See Valid width table numbers for Zebra fonts
on page 498 for valid width table numbers.
• the size (10, 12, and 15 in this example) is the size of the font used in the
Process, specified in points.
• the string in double quotes after SelectPrefix (A in this example) is the
Zebra font.
• the string in double quotes after SelectPostfix (25, 35, and 45 in this
example) is the Zebra font size (height), specified in dots.
0 1
A 2
B 3
C 4
D 4
E 5
F 6
G 7
H 8
If you are familiar with ZPLII and ZTools, you can use ZTools (or other label
printer utilities) to download ZPL code, including ZST and ZSU files, to the
printer.
Edit the ZST or ZSU file by using the ^CW command to assign a built-in font
between I and Z to the font in the file, and download the ZST or ZSU file
offline. See the ZPLII Programming Guide.
Add the font to the Zebra Label Printer driver file by entering a line in the
following format to the Downloadable Fonts section:
Font "SAMPLE"
ReadFont "SAMPLE.TTF" Select "Z:ZSU"
For example:
Font "Arial"
ReadFont "arial.ttf" Select "Z:ZSU"
• Specify the directory where TrueType and Unicode fonts are stored, and the
destination directory (that is, the font directory of the current Project) to which
Zebra fonts will be written.
• Convert TrueType fonts to the internal ZPLII format.
If you use the Book Antiqua Bold Italic font, ANTQUABI.TTF and you have the
ANTQUABI.ZST in the fonts directory, you should add the following line in
the Downloadable fonts section in the driver file:
1. Create a rectangle with black fill color and black stroke color.
2. Enter the desired text on the rectangle and set text color to white. The text
should not exceed the rectangle boundaries.
28.5 Barcodes
You configure barcodes in the Process. Supported barcodes are listed in “Supported
barcodes and their corresponding Zebra instructions.” on page 501.
Comments
• Barcodes, like text, can only be rotated 0, 90, 180, and 270 degrees. Any other
angle will result in 0 degrees rotation in the printed output.
• Exact positioning of barcodes which are rotated any other angle than 0 degrees,
is supported only for 1-dimensional barcodes.
• All features are not available for all barcode types. If an option is not available in
the Barcode dialog box, the default value, as specified in the ZPLII Programming
Guide, is used.
• For the Maxicode barcode, the encoding mode is determined by the data content.
Only modes 2, 3, and 4 are supported. No structural append is available.
• For the UPC-E barcode, the length of the input data must be 11 or 12 digits with a
pre-calculated checksum. The checksum must be in the same format as data for
UPC-A. The system ID digit must be 0.
• For the QR Code barcode, Quiet Zone is not supported. This means Use Quiet
Zone must be set to No when this barcode is configured in the Process.
28.6 Graphics
The main difference between firmware versions X.9 and X.10 is in graphics support.
Firmware X.9 supports fewer ZPLII commands than X.10. See “Differences in
graphics support between firmware X.9 and X.10” on page 502, and the ZPLII
Programming Guide for more information. Non-supported graphical objects will not
be included in the printed output.
Table 28-2: Differences in graphics support between firmware X.9 and X.10
To be able to use hexadecimal character values in field data (in an ^FD command),
you must add the following keyword to the driver file (without parameters):
ENABLE_HEX
For example, to be able to use ~ (tilde) in output to a Zebra label printer, you must
add the ENABLE_HEX keyword to the driver file, and use the hexadecimal value for ~
(<7e>) in the Process. In the output to the printer, the field data is translated to the
correct ZPL syntax. The list below shows the field data in the Process and the
corresponding field data sent to the printer.
• Tear off – The printed label is advanced so that it can be torn off manually.
The backing is still attached to the label.
• Peel off – The backing is partly separated from the label. Printing stops until
the label is removed.
• Cutter – The label is cut by the cutter mechanism.
• Media feed
• No media feed
• Set media sensor calibration – Feeds the media one label length, and
recalibrates the media and ribbon sensors.
• Set label length – Feeds one or more blank labels, depending on the label
size. When using continuous media, the label length is defined by the page
height, as defined in the Process.
• Media feed at head close
The media feed action after closing print head. Available options are:
• Media feed
• No media feed
• Set media sensor calibration – feeds the media one label length, and
recalibrates the media and ribbon sensors.
• Set label length – Feeds one or more blank labels, depending on the label
size. When using continuous media, the label length is defined by the page
height, as defined in the Process.
• Label home X-axis
The label printing position along the x-axis. The default home position of a label
is the upper-left corner (position 0,0).
Valid values are 0 - 300.
• Label home Y-axis
The label printing position along the y-axis. The default home position of a label
is the upper-left corner (position 0,0).
Valid values are 0 - 300.
• Label top alignment
Moves the entire label up or down. The Label top is relative to the current Label
home position. A positive value moves the format downwards, away from the
top, while a negative value moves it upwards, towards the top.
Valid values are -64 - 64. Default is 0.
• Tear off adjust alignment
Defines where the media is cut. The tear-off position is relative to the end of the
printing on the label.
Valid values are -64 - 64. Default is 0.
• Media darkness
Adjusts the darkness relative to the darkness settings specified on the Printer
Configuration Label. For example, if the value specified on the configuration
label is 16, and you specify Media darkness -9, the value will be 7.
Valid values are -30 - 30. Default is 0.
The maximum and minimum values cannot be surpassed. For example, if the
value specified on the configuration label is 25 and you specify Media darkness
10, the value will still be 30.
• Print rate
The media speed during printing.
Valid values depend on the firmware version:
Firmware X.9: 2, 3, 4, 5, 6, and 8.
Firmware X.10: 2, 3, 4, 5, 6, 8, 9, 10, 11, and 12.
• Slew rate
The slew speed (feeding a blank label).
Valid values depend on the firmware version. See Print rate.
• Print orientation
Normal – Prints the label with normal orientation.
Inverted – Inverts the label 180 degrees, so that the label is printed upside down.
• International Character Set
The character set used for printing. If you select a value other than Auto, the code
page settings defined for the output connector will be ignored.
If you select None, the international character set command in ZPLII output is
suppressed. The label printer will use the last value that was saved.
If you select Auto, the code page settings defined for the output connector are
used to select the appropriate character set.
Note: If you use international characters, you must configure the Zebra
printer to use Unicode characters, see “Downloading TrueType and
Unicode fonts to the Zebra printer” on page 499.
• Image dithering method
The dithering method used for converting true color and palletized images to
black and white images.
Usually, None is used for black and white line art images, and one of the
dithering methods are used for photographic images.
• Memory device for downloads
The device used for storing downloaded files, for example fonts and images.
• R: (printer DRAM library) – Always present and read/write access.
• B: (optional memory card) – A card or factory installed memory. Read/write
access.
• E: (flash memory) – Use only with jobs using already loaded images and
fonts. Read only access.
• Pause and cut value (^PQ,p)
The number of labels to be printed before pausing for a cut. Valid values are 0 to
99999999. The default value is 0.
• Copies
The number of labels to be printed.
Radio Frequency Identification (RFID) tags are used for automatic identification of
individual items. RFID inlays are configured in the Process tool and the following
Communications Center drivers can be used for sending RFID configuration
information to label printers:
• Intermec DP (203dpi)
• Intermec DP (300dpi)
• Zebra ZPLII (150dpi, 200dpi, 300dpi and 600dpi)
• Printronix IGP/PGL
Prerequisite
Unsupported features
• Intermec
• Limited support of NUM format. Maximum 4 bytes, 10 digits.
• NUM format is not supported for EPC Class 1 air protocols.
• Zebra
• No support for NUM format.
• Printronix
• No support for ISO18000-6b.
• No support of ASCII-96, ASCII -64 and NUM-96.
• No support to lock EPC Class 1 inlays, only kill password is supported.
RFID settings
• RFID antenna offset
The distance the label is moved to align the inlay over the coupler (the printer
antenna) before programming the chip.
Depending on the printer model, specify antenna offset in dots or millimeters.
• RFID number of retries in dots
Can be set to 0-10.
Intermec printers - If set to 1 or greater and a read or write command fails, the
printer tries to read or write the next label. If this also fails the procedure is
repeated until a successful read or write command is committed, or the specified
number of retries is reached. The string VOID, or any other selected string, is
printed on all rejected labels.
Zebra printers - The number of read or write retries before a transponder is
declared defective. When the specified number of retries is reached, the string
VOID is printed on the label and the transponder is ejected.
• Print mode (^MM)
Only applicable for Zebra.
RFID - Activates the RFID functionality in the printer.
You must make sure all fonts you intend to use in Design Center are in the Windows
Fonts directory before you try to use them in your documents.
When you export a Project, all fonts in the resource sets are included in the export
package. To have all used fonts included in the export package you should make
sure they are added to a resource set. You can for example select Add exported
fonts to Platform's default resource set in the Export or Export for Release dialog
box when you export the Project.
When you deploy a Project, all fonts in the Project export package are deployed to
the working directory of the StreamServer application. The default location of the
fonts used by the StreamServer application when processing jobs depends on the
environment:
• On Windows, StreamServer first checks if the font is installed on the system. If it
is, that font is used. If the font is not installed on the system, the font from the
export package is used.
• On UNIX, the fonts from the export package are used.
1. In the Output Connector Settings dialog box, generic layer, click the Driver
icon.
Font paths
Type Manager searches for fonts in the paths specified in strstypemanager.
xml located in:
You can use the custom -fd (Fonts Directory) startup argument to specify a font
path. This path is automatically added to the font path specification in
strstypemanager.xml.
If you use Type Manager, and if you cannot use a font straight off in the output, you
must edit the font entries in the driver file or font substitution table connected to the
driver.
Readfont
A driver file and font substitution table can contain readfont entries.
Mapfont
A driver file and font substitution table can contain mapfont entries where fonts
are mapped to other fonts. In the example below, the font
Times_New_Roman_bold_underline is mapped to Arial_bold. If StreamServer
finds the font Times_New_Roman_bold_underline, it will use Arial_bold in the
output.
Note: If you connect font substitution tables to several connectors with the
same driver, only entries in one table are appended to the exported *.drs.
1. In the Output Connector Settings dialog box, generic layer, click the
Driver icon.
2. On the Device Driver Settings tab, browse to and then select the Font
substitution table resource.
Then you should edit the *.drs file or add the following font entries to the font
substitution table in order to override the entries in the *.drs file:
1. From the Start menu, select OpenText > Communications Center >
Utilities > Windows Driver Tool. The Windows Driver Tool opens.
3. Specify the path to the driver file in File name (drs-file) (the name must not
contain any of the characters\/:*?"<>|).
6. Select Create width tables during runtime if you want to create readfonts.
8. Select the Fonts you want to create (you can multi select font entries) and
click Create. You can now open the created *.drs file and copy the font
entries.
As long as you use the correct driver for your printer, all fonts entries defined in the
*.drs file for this driver have the correct escape sequences. This means that if all
fonts you are using are defined in the *.drs file you do not need to edit any font
entries.
If you are using a font that is not defined in the *.drs file you must create a custom
driver for the printer and add a new entry for this font to this *.drs file. Since the
escape sequences are driver specific settings this also applies if you are using Type
Manager.
Note: You cannot use a font substitution table to add font entries with escape
sequences or other driver specific settings.
You can use Windows Driver Tool to create new font entries. Before you create font
entries you must use the printer menu to print a list of all PCL fonts installed on the
printer. This list includes the escape sequences for the fonts.
Example 30-5: Width table font entries for the TTF font Courier
2. Open the temporary *.drs file and copy the font entries.
3. Paste the entries to the *.drs file of the custom PCL 5 driver. For example:
4. Replace the SelectPrefix entries with the modified escape sequences. For
example:
Note: You must import the Type 1 font from the Windows Fonts directory to a
resource set connected to the Message where the font is used.
Supported drivers
You can add Type 1 font entries to the following drivers:
Where:
To use other encodings outside the default character encoding for a font, you must
add the new encoding to the font entry in the driver file. Character encodings are
defined in separate encoding files (*.enc).
Embedding fonts
You can embed the missing fonts in the output sent to the printer. See
“Embedding fonts in PDF documents” on page 519 and “Embedding fonts in
output to PCL printers” on page 520.
To completely embed a font file in the output, you can use the FontEmbedFull
keyword instead of FontEmbed. The FontEmbedFull keyword is supported for TTF
fonts that do not use glyph-based output (for example, it is not supported for Indic
texts).
How to embed a font depends on whether the font is already referenced in the
driver file. See “Editing font entries” on page 513.
To embed a readfont
1. Open the font substitution table or driver file that includes the entries for the
fonts to embed.
How to embed a font depends on whether the font is already referenced in the
driver file. See “Editing font entries” on page 513.
To embed a readfont
1. Open the font substitution table or driver file that includes the entries for the
fonts to embed.
2. Add/edit the entries for the fonts to embed.
How to convert *.pfb files to *.pfa files is not described in this document.
1. In Design Center, activate the generic Platform layer, and double-click the
output connector that delivers the output to the PCL printer. The Output
Connector Settings dialog opens.
4. Export the Project, start StreamServer, and send output to the PCL printer. The
soft font is downloaded to the PCL printer.
When you have downloaded the soft fonts, you must use the printer menu to print a
list of all installed PCL fonts. This list includes the escape sequences for the
downloaded soft fonts. Then you must add the new soft font entries to the driver
file. See “PCL 5 drivers” on page 515.
• A driver file (*.drs) and supplementary files referenced from the driver file, for
example encoding files (*.enc) and mapping files (*.map). The driver file
contains the information that the StreamServer application needs to
communicate with the device.
• Options, such as page size and duplex options, that you specify in the Design
Center output connector settings.
• From Windows Start menu, select All Programs > OpenText > OpenText
Communications Center <Version> > Utilities > Windows Driver Tool.
Note: Since data must continue directly to the Windows print spooler, queues
cannot be used together with Windows printer drivers on the output
connector.
2. From the Printers drop-down list, select the printer you want to create a driver
for. The fonts and paper options available for the selected printer are displayed.
Settings
• Printers
The printer you want to create a driver for.
• Driver Name
The name of the driver. For example: My_HPPCL5
• Filename (drs-file)
The path to the driver file. For example: C:\temp\My_HPPCL5.drs
• Filename (opt-file)
The path to the driver options file. For example: C:\temp\My_HPPCL5_opt.txt
• Show Character Set
Select to include width-tables in the new driver file. The Windows Driver Tool
creates the width-tables from the fonts installed on the printer. The StreamServer
application uses these fixed width-tables at runtime.
Select the character sets for which you want to display the fonts available on the
printer, and click Refresh Fonts. The fonts are displayed in the Fonts list.
• Create widthtables during runtime
Instead of using a fixed width-table, the StreamServer application adapts the
width for each character at runtime using the TrueType fonts (*.ttf and *.ttc)
installed in a directory.
In the Font directory box, enter or browse to the path of the directory that
contains the fonts, and click Refresh Fonts. The fonts are displayed in the Fonts
list.
From the Charset list, select a character set.
• Create font list during runtime
Select to make fonts and width-tables available via the Type Manager. This
option adds the usetypemanager keyword to the driver file, which tells the
driver to use the Type Manager.
For detailed information about the Type Manager, see “Using Type Manager”
on page 511.
• Fonts
Not applicable for the Create font list during runtime option.
The selected fonts to be included in the driver file.
• Paper Sizes
The selected paper sizes to be included in the driver file and the driver options
file.
• Paper Sources
The selected paper sources to be included in the driver file and the driver options
file.
Tip: To change the font definitions for a driver, you do not have to edit the
device driver. Instead, you can use a font substitution table that you add to the
output connector.
2. Right-click the node (root node or folder) where you want to add the new
device and select New > Custom device.
4. In the Creating new Custom Device dialog box, click Empty Device.
Prerequisites
The device driver to be imported must be packaged as an SDP file (*.sdp). One
package file may include multiple device drivers.
2. Right-click the node (root node or folder) where you want to add the new
device and select New > Custom device.
4. In the Creating new Custom Device dialog box, click Import from .sdp.
Note: HTML unpaginated and DOCX drivers cannot be customized and must
not be duplicated.
2. Right-click the node (root node or folder) where you want to add the new
device and select New > Custom device.
4. In the Creating new Custom Device dialog box, select the device driver you
want to duplicate on the list and click Create From template.
Prerequisites
The option file (*.txt) and driver file (*.drs) for the Windows printer driver
must be created. See “Windows Driver Tool” on page 523.
2. Right-click the node (root node or folder) where you want to add the new
device and select New > Custom device.
4. In the Creating new Custom Device dialog box, click Empty Device.
5. In Logical (internal) name, enter the name of the driver as specified in the
corresponding driver file.
Note: The name can not contain any of the following characters: \/:*?
"<>|
8. In the Enter name dialog box, enter the name of the Windows printer driver file
and click OK.
9. In the Device driver files list, check and select the new driver file and click
Import Content.
10. Browse to the Windows printer driver file and click Open.
12. Browse to the options file for the Windows printer driver and click Open.
Each device driver must be connected to a unique DRS file. In the DRS file, the
DRIVER keyword specifies the logical (internal) name for the specific device driver.
Other driver files, such as ENC files and MAP files, can be connected to, and shared
by, several device drivers.
You cannot modify native driver files. If a modification of a native driver file is
required, you can make a copy of the native device driver and modify the copy.
1. In the Device driver files area, select the driver file you want to duplicate and
click Duplicate.
2. In the Enter Name dialog box, enter a name of the driver file and click OK.
3. In the Device driver files list, select the new driver file and click Edit.
4. Update the file as required. For DRS files, you must update the name of the
driver specified by the DRIVER keyword to theLogical (internal) name specified
for the device driver.
2. In the Enter Name dialog box, enter the name of the driver file and click OK.
3. In the Device driver files list, select the new driver file and click Import
Content.
4. Browse to the driver file you want to add and click Open. The contents of the
file is imported to the new driver file.
• In the Device driver files area, check the driver file that you want to connect to
the device driver.
2. Browse to the options file that corresponds to the driver file and click Open. The
options are imported to the Device Tool and displayed in the Device options
area.
2. In the Define Option Parameters dialog box, specify the option parameters and
click OK. See “Option parameter settings” on page 533.
The Creating new Custom Device dialog box includes the following settings:
• Empty Device
Click to create a new device driver.
• Import from .sdp
Click to import existing device drivers from a device package file (*.sdp).
• Create From template
Click to create a copy of the selected native driver and save the configuration
with a new name.
• Name settings
See “Internal name and display name settings” on page 530.
• Device class settings
See “Device class settings” on page 531.
• Device configurator settings
See “Device configurator settings” on page 531.
• Device driver file settings
See “Device driver file settings” on page 532.
• Device option settings
See “Device options settings” on page 532.
Note: The name can not contain any of the following characters: \/:*?"<>|
• Device class
Caution
Adding incorrect driver configurators, especially a ProgID value, can cause
Design Center to go down. Do not add any driver configurators, unless you
are familiar with the ActiveX control concept and the ActiveX controls
allowed in Communications Center.
• ProgID
Programmatic IDentifier for the ActiveX control.
• Context
The context for the ActiveX control. (Process End is currently not used.)
• New
Add a new configurator.
• Edit
Edit the selected configurator.
• Delete
Delete the selected configurator.
• Job Begin – The StreamServer application will use the driver options when it
starts processing the Job.
• Job End – The StreamServer application will use the driver options when it
has finished processing the Job.
• Document Begin – The StreamServer application will use the driver options
when it starts processing starts processing a Document within the Job.
• Document End – The StreamServer application will use the driver options
when it has finished processing a Document within the Job.
• Process Begin/Platform – The StreamServer application will use the driver
options when it is running a specific Process within the Job. Select this if you
want the options of the driver to be visible in the Platform.
• Process End – Not currently used. The StreamServer application will use the
driver options when it has finished is running a specific Process within the
Job.
• Option type - Char
• Initial value – The default text to be displayed for a text string property in
Design Center.
• Option type - Float
• Initial value – The default number to be displayed for a number property in
Design Center.
• Restrict value – Removes all minimum and maximum restrictions that can be
selected in Design Center.
• Min. value – The minimum number that can be selected in Design Center.
• Max. – The maximum number that can be selected in Design Center.
• Step – The increments to be suggested when using the arrow buttons in
Design Center.
• Option Type - Integer
• Initial value – The default integer to be displayed for an integer property in
Design Center.
• Restrict value – Removes all minimum and maximum restrictions that can be
selected in Design Center.
• Min. value – The minimum integer that can be selected in Design Center.
• Max. – The maximum integer that can be selected in Design Center.
• Step – The increments to be suggested when using the arrow buttons in
Design Center.
• Option Type - Fixed
• Initial value – The default text to be displayed in Design Center for a fixed
text property.
• Fixed values – The other text options that the user will be able to select from.
• Add – Add a new text property to the list.
• Edit – Edit a selected text property.
• Delete – Delete a selected text property.
• Move Up – Move a selected text property upwards in the list.
• Move Down – Move a selected text property downwards in the list.
You can apply filters to input and output data. For example, if the input data is
compressed you must apply a decompression filter to the input data. See “Filter
reference” on page 541 for information about available filters.
Filter chains
When you create a filter, you must first create a filter chain resource. Then you
add the filter to the filter chain, and configure the filter settings. See “Creating
filter chains” on page 539 for information on how to create a filter chain.
2. Right-click in the resource set and select New Resource > Filter Chain. A new
filter chain is added to the resource set.
2. Right-click the flow bar, select Add Filter, and select the filter type. The filter is
added to the flow bar.
2. Right-click the connector and select Settings. The Connector Settings dialog
box opens.
4. From the Look in drop-down list, select the resource set that contains the
filter chain you want to add. All filter chains in the selected resource set are
displayed in the list of items. If the filter chains is located in a folder, you
must double-click the folder to display the filter chains.
5. Double-click the filter chain you want to add and click OK.
1. In the Project browser, right-click the Project node and select Project Export
Settings. The Project Export Settings dialog box opens.
4. In the Input Analyzer settings list, select the input type and click the Select
a Filter Chain icon. The Browse for Resources dialog box opens.
5. From the Look in drop-down list, select the resource set that contains the
filter chain you want to add. All filter chains in the selected resource set are
displayed in the list of items. If the filter chains is located in a folder,
double-click the folder to display the filter chains.
6. Double-click the filter chain you want to add and click OK.
Bypass filter
Bypasses the StreamServer, and sends the input data directly to a designated
output connector. See “Bypass filter” on page 543.
Note: Even if you use the bypass filter to bypass all the input data, you
must connect the input connector to a dummy Event. If you do not connect
the input connector to an Event, the filter chain will not be activated.
Compression filter
This filter compresses the output data.
DAQ filter
This filter takes a DAQ (Document Abstraction Query) as input, and retrieves
documents from a queue repository or Document Broker repository. See “DAQ
filter” on page 547.
Decompression filter
This filter decompresses the input data.
External filter
This filter reads data from standard input, sends it to the specified filter, and
delivers the filtered data back on standard output. The specified filter can be any
executable.
File filter
This filter converts characters in the input or output data using a conversion
table. See “File filter” on page 551.
GenericArchive filter
This filter archives output data in an external archive. Any metadata is archived
in an index file together with the data. See “GenericArchive filter” on page 553.
Archiving via the GenericArchive filter is an alternative to archiving via the
Generic Archive output connector. When using the GenericArchive filter, you
can use any type of output connector for the final delivery of the output data.
You must assign types from the metadata model to the data to be archived.
Internal filter
This filter handles escape codes (HpPcl, Esc0, and URL) in the input data. See
“Internal filter” on page 554.
Java filter
You can create Java classes to be executed in order to process data delivered to
connectors, e.g. to clean up or rearrange data before it is processed by the
StreamServer application. By adding the Java filter to a connector you can call
the appropriate Java class to use for processing the data delivered to this
connector. The Java filter can be used both as an input and output filter. See
“Java filter” on page 555.
JavaScript filter
This filter references a JavaScript file with JavaScript code that is applied to the
stream that enters the filter. See “JavaScript filter” on page 556.
Job filter
This filter enables the StreamServer to divide large input jobs into several small
jobs. Sequences in the input data determine the size of each job. See “Job filter”
on page 557.
LiveCycle filter
This output filter is used to integrate Adobe LiveCycle ES processes into the
StreamServer pipeline when processing documents. See “LiveCycle filter”
on page 558.
PDFIN filter
This filter enables the StreamServer to identify and extract PDF formatted input.
See “PDFIN filter“ on page 583 for more information.
Resource filter
This output filter is used to store output from the connected Process as resources
in the repository. See “Resource filter” on page 561.
Settings:
Input data:
xyz;#ONabc;def;ghi#OFF;jkl
Bypassed data:
abc;def;ghi
Settings:
Input data:
abc;def;#OVLlogo.prn##ghi;jkl
Result:
Filter settings
Syntax
Where:
• <type> is the GUID of the type created in Describer.
• <catName> is the category name in Content Server.
In this example, all types of <property> values are used for the
StrsPropertyId= attribute. Note that the GUIDs are truncated for
readability reasons.
$CorrespondenceKeyVar = "CR007";
$TaxIDERPVar[0] = "TaxIDERP0";
$TaxIDERPVar[1] = "TaxIDERP1";
$TaxIDERPVar[2] = "TaxIDERP2";
$PolicyIdVar[0] = "POLICY007";
$PolicyIdVar[1] = "POLICY008";
$PolicyIdVar[2] = "POLICY009";
Mapping file
About caching
If a path (not Node ID) is specified in Content Server folder, StreamServer makes an
extra call to get the Node ID from Content Server. Without caching performance
would be affected since this extra call is made each time a document is stored in
Content Server. With caching enabled the Node ID is cached the first time the call is
made, and the Node ID will be retrieved from the cache in the following calls.
Since a variable can be used for the path specified in Content Server folder,
different folders, and thus different Node IDs, can be used for the documents in
Content Server. In such a case it is not enough to set Cache size to 1. For example, if
documents can be stored in two different folders you must set Cache size to at least
2.
It is not only Content Server folder that determines whether to use caching. If
CsAttributeId or CsCategoryId are not specified in the mapping file (these
attributes are optional), extra calls are also made to get the IDs. These IDs should
also be stored in the cache, and this also affects the Cache size.
The DAQ filter takes a DAQ as input and collects the documents that corresponds to
the selection defined in the DAQ. The output documents are delivered as a single
stream where the documents are concatenated in the sort order defined in the DAQ.
Filter decorator
A decorator can be added to the DAQ. This decorator may contain three sections:
• Header - This optional section contains text to add before the very first document
in the result set. For example a start tag for an XML document to make it valid.
• Separator - This optional section contains text to add between every document in
the result set. For example a sequence of characters to enable a subsequent filter
in the filter chain to determine and split up the individual documents in order to
create a MIME envelope of them.
• Footer - This optional section contains text to add after the very last document in
the result set. For example an end tag for an XML document to make it valid.
<decorator type="http://schemas.streamserve.com/uid/configuration/
documentabstractiontextinsertquerydecorator/1.0">
<configuration>
<textinsertdecorator xmlns="http://schemas.streamserve.com/uid/
configuration/
documentabstractiontextinsertquerydecorator/
1.0">
<header><header></header>
<separator><separator></separator>
<footer><footer></footer>
</textinsertdecorator>
</configuration>
</decorator>
DAQ example
An example of a DAQ is illustrated below.
<conditions>
<condition>
<strs:id>
<!-- Property ID of the "TypeID" property. -->
<strs:value>FE08E578-DBF8-4748-A6EF-81E90A29120C</
strs:value>
</strs:id>
<strs:values>
<!-- Property value fo any driver except 'SDR for
relational database'. -->
<strs:value>6F2CC62E-D467-4BF9-BDC6-8ACCE29C0DED</
strs:value>
</strs:values>
<operatorValue>==</operatorValue>
</condition>
<condition>
<strs:id>
<!-- Property ID of the "ContentType" property. -->
<strs:value>118EA52C-567E-4369-9AC3-2EF14A8AE0A5</
strs:value>
</strs:id>
<strs:values>
<!-- Layout driver stores documents with the application/
xml content type. -->
<strs:value>application/xml</strs:value>
</strs:values>
<operatorValue>==</operatorValue>
</condition>
<condition>
<strs:id>
<!-- Property ID of the DocSequenceNumber property. -->
<strs:value>7EDD3093-36C2-FCBF-E040-007F020039B2</
strs:value>
</strs:id>
<strs:values>
<strs:value>1</strs:value>
<strs:value>3</strs:value>
<strs:value>5</strs:value>
</strs:values>
<operatorValue>in</operatorValue>
</condition>
</conditions>
<attributes>
<attribute>
<strs:id>
<!-- Sorting according to DocSequenceNumber. -->
<strs:value>7EDD3093-36C2-FCBF-E040-007F020039B2</
strs:value>
</strs:id>
<method>descending</method>
</attribute>
</attributes>
documentabstractiontextinsertquerydecorator/1.0">
<header>--9876</header>
<separator>--1234</separator>
<footer>--4321</footer>
</textinsertdecorator>
</configuration>
</decorator>
input_string_1
output_string_1
input_string_2
output_string_2
...
input_string_N
output_string_N
If the Use regular expressions option below is cleared (default), the strings in the
conversion table are treated as text rules. The following apply:
• You can use hexadecimal notation within angle brackets (<hex>). Some
characters (tab, line feed, angle brackets, quotation marks, etc.) must have
hexadecimal notation. You can separate multiple hex values with comma. For
example, <0D,0A>
• The strings are case sensitive, and you must comment empty rows with // or
*.
• Use regular expressions
Select to treat the rules in the conversion table file selected in the File option as
regular expressions.
Communications Center supports the ECMA Script syntax for regular
expressions. For syntax information, see for example http://userguide.icu-
project.org/strings/regexp
The following apply:
Tip: To combine text rules and regular expressions in the same filter chain, you
can use several File filters with different settings.
What settings to specify depends on the requirements from the archiving system.
For example, if a third-party archiving client scans the directory for index files with
a certain extension, you must specify this extension. As the extension is added at job
end, you prevent the archiving client from accessing an index file before it is
completed.
Use %doc for document name and %idx for index name. If the command includes
a path with spaces, the path must be specified within apostrophes.
Note: Do not us any command that moves or removes the files. Use the
Remove files after external archive command instead.
• Remove files after external command execution
Removes the files (in the Output directory) after successful completion of the
External archive command. At a successful completion, the External archive
command returns the value 0.
HpPcl
Removes HpPcl escape codes from the input data. StreamServer detects an
escape code as an ESC character (0x1b) followed by any number of characters.
The “end of escape code” character is an upper case letter (character in the range
[0x41..0x5a]). When StreamServer detects an ESC character, it removes all
characters until it finds an upper case letter (including the upper case letter).
Esc0
Removes Esc0 escape codes from the input data. StreamServer detects an escape
code as an ESC character (0x1b) followed by any number of characters. The“end
of escape code” character is a NULL character (0x00). When StreamServer detects
an ESC character, it removes all characters until it finds a NULL character
(including the NULL character).
URL
• Converts URL escape codes (%20 to space etc.).
• Converts & (ampersand) to <0D, 0A> (carriage return - line feed).
• Converts + (plus sign) to space.
The filter reads input from the input stream and writes output to the output stream.
If an exception is thrown from the filter, the result is as follows:
• If used as input filter, no data is sent to the Event for processing. The processing
job is not marked as failed by the filter.
• If used as output filter, no data is sent to any subsequent filters or to the
connector. The output job is marked as failed.
Filter settings
• Java filter class name
The name of the Java filter class to invoke. This class must implement the
streamserve.filter.Execute interface included in jstrs.jar.
For information about how to create Java filter classes, see the Java Connectors
and Filters SDK documentation.
• Java configuration class name
The name of an optional Java configuration class to invoke. This class must
implement the streamserve.service.Configuration interface included in
jstrs.jar.
The configuration is global and shared between all running instances of the same
filter. The configuration is loaded once at startup of the StreamServer application.
For information about how to create Java configuration classes, see the Java
Connectors and Filters SDK documentation.
• Configuration file name
Optional configuration file used by the configuration class. The file can be in any
format that can be handled by the configuration class, and must be available in a
resource set connected to the platform. The file is supplied as a stream to the
configuration class readConfiguration method which is called during
initialization.
The JavaScript code determines what to do with the stream that enters the filter. For
example, in a responsive email scenario the filter can be used to modify the HTML
structure, change attribute values and add data to the HTML head element.
Filter settings
• The data module is supported by the filter only if data is available. It is not
supported in the input pipeline for example.
• The layout and i18n modules are not supported at all by the filter.
[JOB BEGIN]
• Job end
Sequence specifying the end of a job. For example:
[JOB END]
This example displays two scenarios where one large input job is divided
into smaller jobs.
• Host name
The host name or IP address of the server hosting LiveCycle ES. For example
localhost
• Port
The port used by the LiveCycle ES server. For example 8080
• Web service name
The name (case sensitive) of the service to invoke. This name must be the same as
the corresponding process created in LiveCycle Workbench ES.
• User name
User name to connect to the server hosting LiveCycle ES. Used in case of basic
HTTP authentication.
• Password
Password to connect to the server hosting LiveCycle ES. Used in case of basic
HTTP authentication.
• Enable asynchronous communication
Yes – Make asynchronous calls to the service. This option is used when invoking
long-lived LiveCycle services.
No – Make synchronous calls to the service. This option is used when invoking
short-lived LiveCycle services.
• Asynchronous poll interval
Only used together with asynchronous calls. This is the interval (milliseconds)
used to check for a response to the invocation request.
• Root certificate for SSL communication
The root certificate used when HTTPS is used as web service protocol (secure
communication). The certificate must be available from a resource set connected
to the Platform.
• Custom options
A list of custom keys (key-value pairs) to include in the invocation request.
To be able to handle custom keys, the service must have a variable named
optionsMap of the type map. All custom keys defined here will be added to the
optionsMap variable in the invoked service.
The values provided can be extracted in the receiving LiveCycle process by using
an XPath expression in the LiveCycle process.
Examples of custom keys are passwords for creating password encrypted PDF
files. For example:
Key: pdfpassword
Value: encrypted
Prerequisites
• You must have a Certificate store profile that contains the private key used to
sign the documents. See Certificate store below.
• The StreamServer application that runs the Project must be configured for Java.
See Java configuration for the StreamServer application below.
Filter settings
• Certificate store profile
The Certificate store profile that contains the private key used to sign the
documents. See Certificate store below.
• Private key alias
Specifies an alias for the private key to be used. See Certificate store below.
• Visible signature
Specifies whether to include a visible signature in the PDF.
Enter Yes to include or No to not include a visible signature.
• Reason
Reason for signing the PDF. This information is displayed in the visible
signature.
• Location
Location where the PDF is signed. This information is displayed in the visible
signature.
• Page number
The page number where to include the visible signature.
• If you enter -1, the signature is included on the last page.
If any of the rectangle settings (Rect low left x/y and Rect width/height) causes the
visible signature to be positioned off the page, the filter sets the signature to the
following size and position:
• Rect low left x = 300
• Rect low left y = 150
• Rect width = 300
• Rect height = 50
Certificate store
Before you can configure and use the filter, you must create a Certificate store
profile that contains the private keys (*.pfx) used to sign the documents. When
you have the Certificate store profile, you can link it to your PDF signature filter.
The certificate store may include a set of private keys used for singing, and each
private key can have an alias assigned. You can use the Private key alias field to
specify the private key to be used for signing.
See “Certificate store profiles” for more information about how to create
certificate store profiles.
Using variables
The settings (except for Certificate store profile) can be controlled via variables,
i.e. you can enter variables instead of fixed values when you specify the filter
settings.
Java configuration for the StreamServer application
The StreamServer application that runs the Project must be configured for Java.
The only property you have to provide is the Java vendor. You do this in
Control Center:
Filter settings
• Resource name
The name of the resource. This name, or the GUID of the resource, can later be
used to access the resource.
• Content type
The content type of the resource.
• Expire by time
Specifies whether to set an expiry time for the resource.
Yes – Use Duration and Time unit below to specify for how long to store the
resource in the repository.
No – Do not set an expiry time for the resource.
• Duration
The number of <Time units> to store the resource.
• Time unit
The time unit for the Duration.
resource://guid=<GUID>
resource://name=<Name>
resource:/?guid=<GUID>
resource:/?id=<GUID>
resource:/?name=<Name>
resource:/v1/resources/<GUID>
resource:/v1/resources?name=<Name>
For example, Template Engine can use the #include directive to include the
resource in the output:
#include('resource://name=my_text')
Example
This example includes a Message with a StoryTeller Process and a Template
Engine Process, where the StoryTeller Process is run before the Template Engine
Process.
The StoryTeller Process is connected to a Null output connector with a Resource
filter and a PDF driver. In the Resource filter, Content type is set to
application/pdf and Resource name is set dynamically by the variable
$resource.
The variable $resource is a unique name set by a script run before the
StoryTeller Process:
CreateGlobalSerNo("resourcenumbers", 1, 1, -1);
$resource = "res_" + str(GetGlobalSerNo("resourcenumbers"));
#include("resource://name=$variables.resource?outputEnc=base64")
You can use the Service call filter to access a service in the same domain. If the called
service is configured to return the output in the response, this output is returned via
the filter. This method for returning the response can be used instead of internal
output/input connectors to loop data within the same Project (i.e. StreamServer
application).
You can create a filter chain that contains several Service call filters. When data
arrives to the connector it is passed on to the service called by the first Service call
filter. The response from the service is then returned, and this data is passed on to
the service called by the next Service call filter and so on.
Filter settings
• Service type
Static field that you cannot edit. It always displays Generic to indicate that
Generic is the Request type that must be selected in the Service Request
connector through which the service is exposed.
• Service name
The name of the service to call. This name is defined as Service name in the
Service Request connector through which the service is exposed.
• Timeout
Timeout (milliseconds) for the service call, i.e. the time to wait for the response
before the service call expires. Specify -1 for no timeout, and wait as long as it
takes for the response.
• Service version
The version of the service (StreamServer application) to call. Specify 0 to always
use the latest version.
• Custom header
Custom HTTP header that can be submitted to the service. The header contains
key-value pairs of the format Key:Value. Separate the pairs with <0D><0A> (hex
values for carriage return + newline).
Values in the header can be accessed with the GetConnectorValue script
function.
Filter settings
• XML Stylesheet File Name
The XSLT stylesheet to use for XML transformation.
• XSLT Parameters
Optional global xsl:param parameters to pass to the transformation.
An XSLT parameter is defined as <name>=<value>. For example, pTarget=small
Where:
• pTarget corresponds to xsl:param/@name="'pTarget'"
• small corresponds to xsl:param/@select="'small'"
The AFPIN filter converts AFP input to Layout eXchange Format (LXF), and enables
Streamserver to identify and extract AFP formatted input documents. Typical usage
scenarios are to:
• Recognize pages and read formatted text from the AFP document using
PreformatIN.
• Convert AFP documents to other print formats, such as PCL and PostScript.
• Convert AFP documents to archival formats, such as PDF and TIFF, and reuse
indexing information.
• Convert AFP overlays to LXF overlays for migration to Communications Center
environment.
• Convert AFP documents and hide or replace, for example, OMRs and barcodes.
• Store AFP document in the post-processor repository using AFP document
metadata. The AFP documents can be sorted and included in the same envelope
as other stored documents.
The AFP conversion may result in large LXF documents, depending on the
complexity of your AFP data stream and PreformatIN design. The large LXF
documents may affect Project performance, depending on factors such as
throughput, operating environment and hardware.
AFP reference
You must have knowledge of the AFPDS format and AFP terminology to use the
AFPIN filter.
Overlays
OGL source files must be converted into AFP overlays.
Images
Embedded images (TIFF, JPEG, BMP, EPS, etc.) are not supported. Bitmap
patterns from IM image and IOCA are replaced with boxes filled with solid
color of the respective shade percentage.
Graphics
GOCA markers are not supported.
Use the filter chain editor to configure the AFPIN filter with settings for a specific
project. To specify defaults that can be used by multiple projects you use a settings
file. For more information see “AFPIN filter settings” on page 576.
The sample file contains mappings for AFP character sets, typefaces, coded fonts,
FGID (Font Global Identifier), CPGID (Code Page Global Identifier) and code pages.
For mapping file syntax descriptions, see:
• “Character set mapping” on page 568
• “Typeface mapping” on page 570
• “Coded font mapping” on page 571
• “FGID mapping” on page 571
• “Code page mapping” on page 571
• “CPGID mapping” on page 572
2. Enter the keywords and mapping values according to the syntaxes. Use tab to
separate the columns.
3. Save the file and add it to a resource set connected to the Platform.
Note: Style and size specified in the AFP character set resource overrides the
settings in the font mapping file.
Example 33-2: Character set mapping when style and size are specified
in the AFP character set resource
// Charset mapping
C0H200A0 CHARSET Arial
If you want mapped fonts to always be bold or italic, or to never be bold or italic,
you use the following keywords:
• NOT_BOLD – Mapped fonts will always be plain in the output.
• USE_BOLD – Mapped fonts will always be bold in the output.
• NOT_ITALIC – Mapped fonts will always be plain in the output.
• USE_ITALIC – Mapped fonts will always be italic in the output.
In this case, mapped font will always be bold independent on flags in found
AFP charset C0HL05GP.
// Charset mapping
C0HL05GP CHARSET Arial USE_BOLD 5.0
// Charset mapping
COHL10GP CHARSET Arial !10.0
// Charset mapping
C?H500B0 CHARSET Arial Bold,Italic 12
C?H30080 CHARSET Arial Italic 8
Note: A font size specified in the AFP character set resource overrides the
setting in the font mapping file.
//Charset mapping
C?H500%0 CHARSET Arial Bold,Italic
C?H300%0 CHARSET Arial Italic
To map plain AFP typefaces to bold or italic, or bold and italic AFP typefaces to
plain, you can use the following keywords:
• NOT_BOLD – Mapped AFP typefaces will always be plain in the output.
• USE_BOLD – Mapped AFP typefaces will always be bold in the output.
• NOT_ITALIC – Mapped AFP typefaces will always be plain in the output.
• USE_ITALIC – Mapped AFP typefaces will always be italic in the output.
In this case, AFP typefaces in Windings will always be plain in the output,
even if original AFP typefaces are bold.
// Typeface mapping
WINGDINGS TYPEFACE Wingdings NOT_BOLD
The code pages used by StreamServer are found in the Design Center, for example,
Tools > Design Center Settings.
The code pages used by StreamServer are found in the Design Center, for example,
Tools > Design Center Settings.
If the AFP input contains unavailable GCGIDs, you must specify a GCGID mapping
table and/or specify GCGID generic masks. See “Creating a GCGID mapping file”
on page 572 and “Specifying GCGID generic masks” on page 573.
<Unicode> <GCGID>
%[width]type
where
• % indicates the start of the Unicode value to derive.
• width specifies the maximum number of characters to read.
• type specifies the data type that is expected.
UD0%05d matches GCGIDs that begin with UD0. The following five
characters are interpreted as a decimal number.
U000%04x matches GCGIDs that begin with U000. The following four
characters are interpreted as a hexadecimal number.
UD0%05u matches GCGIDs that start with UD0. The following five characters
are interpreted as unsigned decimal integers.
UO%06o matches GCGIDs that start with U0. The following six characters are
interpreted as octal integers.
[<apf_level>]:[<starts_with>]:<property_name>[;]
In the settings file you use the same arguments with the AFP_NOP_MASKS keyword.
Note: If multiple NOP records match your arguments, the variable will contain
the value of the last processed NOP record.
<apf_level>
The level where the NOP is extracted. If not specified, NOPs for all levels are
extracted. Available levels are BGN and BPG.
<starts_with>
Initial pattern of the NOP value to extract. If not specified, all available NOPs
are extracted.
<property_name>
Name of the variable that will contain the NOP. You cannot use the following as
variable names (the names are restricted to page description in the LXF file):
• PAGEDUPLEX
• PAGETRAY
• PAGEBIN
• PAGEORIENTATION
• PAGEMEDIA
• PAGEWIDTH
• PAGEHEIGHT
• MEDIUMMAP
• MEDIAORIENT
• AFP_BNG_NAME
In this example, NOP records at BNG level are extracted. The last processed
NOP is stored in the variable AFP_NOP.
BNG::AFP_NOP
In this example, NOP records starting with 333 at BNG level are extracted.
The last processed NOP is stored in the variable AFP_NOP.
BNG:333:AFP_NOP
In this example, NOP records located at any level starting with 222 or 333
are extracted. The last processed record starting with 222 is stored in the
AFP_NOP1 variable and the last processed record starting with 333 stored in
the AFP_NOP2 variable.
:222:AFP_NOP1;:333:AFP_NOP2
You use variables and scripting to capture the values of the objects.
$var=$PageInfo
MEDIUMMAP
The name of the invoked Media Map.
MEDIAORIENT
The media orientation:
• PORTRAIT
• LANDSCAPE
• PORTRAIT90
• LANDSCAPE90
PAGETRAY
The tray number.
PAGEBIN
The output bin number.
PAGEDUPLEX
Duplex control:
• 0 = SIMPLEX
• 1 = DUPLEX
• 2 = DUPLEX TUMBLE
Note: Any configuration made in the filter chain editor overrides the
corresponding configuration in the settings file.
When you configure the AFPIN filter, you specify which AFP resources to use.
Separate multiple paths using semicolons, and use wildcards to specify multiple
files. Specify the paths in the order you want them to be searched. You can also
specify defaults that are used when there is no other way to determine, for example,
the name and size of the TrueType font to use.
3. In the configured paths for the default resource groups and default resources
Note: External resource groups are only searched in the paths specified for
resource groups.
<keyword>=<value>
For information about the keywords, see “AFPIN filter GUI reference”
on page 577.
A sample settings file is included in the AFPIN filter installation. It is located in the
following directory:
<installation_directory>/Common/modules/filters/AFPIN.settings
3. Save the file and add it to a resource set connected to the Platform.
You can use the keywords listed below in the settings file.
Settings
• Settings file name
The settings file to be used.
Keyword: AFP_SETTINGS_FILE
• Font paths
The AFP font resources to be used, for example:
C:/AFPRes/*.300;D:/Res/X0*;./External/Fonts
Keyword: AFP_FONT_PATHS
• Image paths
C:/Images/;C:/AFPRes/*.psg;./External/Images
Keyword: AFP_IMAGE_PATHS
• Overlay paths
The AFP overlay resources to be used, for example:
./External/Overlays;C:/AFPRes/*.ove
Keyword: AFP_OVERLAY_PATHS
• Resource group paths
The AFP external resource groups to be used, for example:
./External/ResGroup;C:/AFPRes/*.grp
Keyword: AFP_RESGROUP_PATHS
• Default resources paths
The AFP default external resources to be used, for example:
./External;C:/Overlays/;C:/Fonts/;D:/Res/
Keyword: AFP_DEFAULTRES_PATHS
• User GCGID map file name
The GCGID mapping file to be used.
Keyword: AFP_USER_GCGID_MAP_FILENAME
• GCGID generic masks
The GCGID generic masks to be used, for example:
U000%04X;X000%04X;UNIC%04X
Keyword: AFP_GCGID_GENERIC_MASKS
• Font mapping file name
The font mapping file to be used.
Keyword: AFP_FONT_MAPPING_FILENAME
• Default codepage name
The default code page to be used. If not specified here or in a settings file, IBM CP
500 is used.
Keyword: AFP_DEFAULT_CODEPAGE_NAME
• Default font name
The default TrueType font to be used. If not specified here or in a settings file,
Courier New is used.
Keyword: AFP_DEFAULT_FONT_NAME
C:/AFPRes/F1FMDEF
If you only specify the file name, and not the path, the paths specified for default
external resources are searched.
Note: The external form definition is only used when the Ignore inline
formdef is set to Yes or form definition is not available in the inline
resource group.
Keyword: AFP_EXTERNAL_FORMDEF
• Ignore inline formdef
Specifies if the inline AFP form definition in the document resource group
should be ignored.
Yes – The inline form definition is ignored.
No – The inline form definition is used.
<Default> – If not specified in a settings file, the inline form definition is used.
Keyword: AFP_IGNORE_INLINE_FORMDEF
• Capture page TLE
Specifies if AFP TLEs on page level should be captured and converted to
variables. See also “Capturing and reusing AFP objects” on page 575.
Yes – The TLEs are captured.
No – The TLEs are ignored.
<Default> – If not specified in a settings file, the TLEs are captured.
Keyword: AFP_CAPTURE_PAGE_TLE
• Capture page group TLE
Specifies if AFP page group and document TLEs should be captured and
converted to variables. See also “Capturing and reusing AFP objects”
on page 575.
Yes – The TLEs are captured.
[<apf_level>]:[<starts_with>]:<property_name>[;]
<apf_level> – The level where the NOP is extracted. If not specified, NOPs for
all levels are extracted. Available levels are BGN and BPG.
<starts_with> – Initial pattern of the NOP value to extract. If not specified, all
available NOPs are extracted.
<property_name> – Name of the variable that will contain the NOP.
You can not use the following as variable names. The names are restricted to
page description in the LXF file:
• PAGEDUPLEX
• PAGETRAY
• PAGEBIN
• PAGEORIENTATION
• PAGEMEDIA
• PAGEWIDTH
• PAGEHEIGHT
• MEDIUMMAP
• MEDIAORIENT
• AFP_BNG_NAME
For more information and examples, see “Extracting NOP records” on page 574.
Keyword: AFP_NOP_MASKS=[<apf_level>]:[<starts_with>]:
<property_name>[;]
The PDFIN filter converts PDF input to Layout eXchange Format (LXF), and enables
StreamServer to identify and extract PDF formatted input documents. Typical usage
scenarios are:
• Email attachments – Receiving PDF files as email attachments. Archiving or
distributing the received files to multiple destinations.
• Archiving – Converting PDF files to a format accepted by the archiving system.
• Document design – Reusing the layout in the received PDF files. See Section 19.1
“Reusing the input layout” in OpenText Communications Center Enterprise - Event
tools Configuration Guide (CCMEVT-CGD) for information on how to reuse the
layout.
• Scanned documents – Receiving scanned documents that are converted to PDF
format. Archiving or distributing the received documents to multiple
destinations.
The PDF conversion may result in large LXF documents, depending on the
complexity of your PDF data stream and PreformatIN design. The large LXF
documents may affect Project performance, depending on factors such as
throughput, operating environment and hardware.
PDF reference
See the PDF specification for information about the PDF format and for
information on how applications can create, read, or modify PDF content. This
specification is available at www.adobe.com (http://www.adobe.com).
• JBIG2Decode
• DCTDecode
• JPXDecode
Security handlers
The PDF standard security handler enables access permissions and passwords to be
specified for a document.
Documents using the standard security handler have a version (0, 1, 2, 3, or 4) and
revision (2, 3, or 4) specification. Only documents using version 1 or 2, and revision
2 or 3, are supported. In addition to the standard security handler, applications can
also use other types of security handlers. This type of security handlers is not
supported.
Passwords
Access permissions
Access permissions are specified in the form of flags. There are several types of
access permissions, for example, permission to modify or print a document. If
any permission flag in the PDF input document is set to "do not allow", and if
the correct Owner password is not specified in the PDFIN filter, the document
will be rejected. If the correct Owner password is specified in the PDFIN filter,
the document will not be rejected, and StreamServer will have full access
permissions.
The output always uses a projecting square cap. This means the stroke continues
beyond the endpoint of the path for a distance equal to half the line width and is
then squared off.
The output always uses a miter join. This means the outer edges of the strokes for
the two segments are extended until they meet at an angle.
The PDFIN filter can only handle two values for a dash pattern.
Types
CalGray, CalRGB, Lab, and ICC-Based.
Types
Pattern, Indexed, Separation, and DeviceN.
Antialias
Not supported.
Patterns
Not supported. The painted area will be filled by a solid color.
Transformations
Translation, rotation, scaling, and skewing of graphics.
Images and text can only be scaled and rotated. Some rotations might not be
detected due to round off errors in the PDF. Scaled line graphics is output as a scaled
box. Other transformations are applied to the corners of the object. This means the
output from the PDFIN filter loses the transformation property. For example, a
rotated box is converted to a polygon without rotation. Typically, this means that an
object that is transformed in the input is not transformed in the output from the
PDFIN filter.
Masked images
Masked images are converted to regular images. Transparent areas are filled in with
white.
Inline images
Some PDF input documents may lose image data.
PostScript XObjects
Graphics objects that contains a fragment of PostScript code are ignored.
Optional Content
Refers to sections of PDF documents that can be selectively viewed or hidden.
Optional content is not included in the output from the PDFIN filter.
Image transparency
Transparency groups are not supported. Objects in a transparency group do not
appear in the output from the PDFIN filter.
Text knockout
If disabled, overlapping glyphs composites with one another. This is a transparency
group feature, and is not supported.
Text-showing
Shows/repositions text on the page. The PDFIN filter cannot include embedded fonts
in the LXF for later display. If a font is not available on the host, a generic font is be
used instead.
A workaround is to ensure you have all fonts available, and possibly map the font to
a Windows font using the font mapping table.
Composite fonts
Glyphs are obtained from a CIDFont object. The PDFIN filter can only handle
Unicode glyphs that fit in 16 bits.
Viewer preferences
Not supported.
Links
URLs and links to other pages in a document or to other documents are not
supported.
Bookmarks
Not supported.
Thumbnails
Not supported.
Page labels
Page labels, for example displayed in the table of contents, are not supported.
Articles
Sequences of content that are logically connected but not physically sequential. This
is not supported by the PDFIN filter.
Presentations
Slide-shows (automatic or user controlled) are not supported.
Sub-page navigation
Navigation between different stages of the same page, for example switching bullet
points on and off, is not supported.
Annotations
Not supported.
Actions
Not supported.
Interactive forms
Not supported.
Digital signatures
Not supported.
Ligatures
Not supported.
Vector images
Not supported.
Font kerning
Not supported.
Opacity
Not supported.
Interactive objects
Not supported.
Shading
Only axial shading is supported.
Soft Mask
Not supported.
Embedded JavaScript
Not supported.
Embedded fonts
Different embedded fonts with the same name is not supported.
Settings
• OwnerPassword
The password to enter if the PDF input document is protected by an owner
password.
• UserPassword
The password to enter if the PDF input document is protected by a user
password.
• Font Mapping File Name
A mapping table where PDF font names are mapped to Windows font names.
See The font mapping table on page 591.
The mapping table must be included in the same resource set as the filter chain
(that includes the PDFIN filter).
• SDF binary output
Select Yes to deliver the output from the filter in binary format.
Select No to deliver the output from the filter in XML based LXF format.
• Produce output even when error occurs
Specify whether you want the PDFIN filter to create output even if an error
occurs.
• Consolidate separate text labels when possible
Specify whether you want the PDFIN filter to consolidate text fragments in the
LXF output. See “Consolidating text” below.
• Use Windows fonts when available
Specify whether to use fonts in the Windows fonts folder.
If enabled, StreamServer will first search for fonts in the Windows fonts folder
and then, if a font is not found, in the data\fonts folder in the working
directory.
If disabled, StreamServer will only search for fonts in the data\fonts folder.
This will enhance performance if the input consists of large volumes of small
PDF files. Note that you must make sure all used fonts are included in the export.
See also “Font handling” on page 590.
• Embed fonts
Specify whether to embed fonts in the LXF output from the PDFIN filter.
• No – Do not embed any fonts.
• Only missing fonts – Embed fonts that are missing on the machine where
you run the PDFIN filter.
• All fonts – Embed all fonts.
Consolidating text
When the Consolidate option is disabled, each paragraph section in the PDF is by
default converted to several text fragments in the LXF output from the PDFIN filter.
When the Consolidate option is enabled, each line of text in the PDF is consolidated
into the same text fragment in the LXF output from the PDFIN filter.
Applications\StreamServer\<version>\Common\Modules\Filters
This table contains mappings for the most common PDF font names to Windows
font names. The font mapping entries have the following syntax:
...
"OCRA-Alternate" "OCRA Alternate"
"OCRB" "OCRB"
"OCRB-Alternate" "OCRB Alternate"
"MICR" "MICR"
"HelveticaNeue-UltraLight" "Helvetica 25 UltraLight"
"HelveticaNeue-UltraLightItal" "Helvetica 25 UltraLight,
Italic"
"Bodoni-Bold" "Bodoni, Bold Weight900
EmbedMissing"
...
2. Select File > Document Properties > Fonts to display the fonts used in the
document.
3. Depending on the version of Adobe® Reader®, you may have to click List All
Fonts to display all fonts used in the document, and not only the fonts used on
the current page.
All PDF font names are now displayed. You must make sure all corresponding
Windows fonts are installed.
Example 34-2: Log showing that all fonts are mapped correctly.
...
(4130) PDFIN: Starting conversion...
(4131) PDFIN: Starting normalization...
(4131) Producer: StreamServer 5.0.0 Build x.
(4130) PDFIN: Conversion completed successfully.
...
Available metadata
• Title - The title of the document.
• Author - The name of the person who created the document.
• Subject - The subject of the document.
• Keywords - Keywords associated with the document. Multiple keywords are
comma separated.
• Creator - The application that created the source file, which was converted to
PDF. For example Adobe FrameMaker®.
• Producer - The application that converted the source file to PDF. For example,
StreamServer.
• CreationDate - Date and time the document was created.
• ModDate - Date and time the document was most recently modified.
• Pageorientation - Page orientation (Portrait or Landscape).
• Pagemedia - Page media (A4, Letter, etc.).
• Pageheight - Page height in millimeters.
• Pagewidth - Page width in millimeters.
You can use these variables directly in scripts, Processes, etc. For example, if you
want to use the metadata key Pageorientation in a script, you have to include the
variable $pageorientation.
The Unicode standard provides a code point for every character in modern use
worldwide. It enables plain text data to be transported through different platforms,
systems, and programs without corruption. A code page is a coded character set, in
which each character is assigned a unique code within the Unicode code space. Code
pages usually cover only a small subset of the Unicode characters. For more
information about the Unicode standard, see http://www.unicode.org.
See “Code pages for input data“ on page 603 and “Code pages for output
data“ on page 609.
If you do not specify a code page for the input data, StreamServer may fail to
process the data correctly. However, if input data conforms to ISO 8859-1 (Latin
1) you do not have to specify a code page for the input. Similarly, if both the
input and output data conforms to ISO 8859-1 you do not have to specify a code
page for the output.
Bidirectional text
Plain text data that contains Arabic or Hebrew text in logical order is treated the
same way as data that contains unidirectional left-to-right text. Arabic/Hebrew
text in visual order must be reordered to logical order before StreamServer
processes the text. Output from StreamServer can also be reordered from logical
to visual order if required (e.g. Arabic text in PDF output). See “Bidirectional
text“ on page 613.
• “OdbcSetCodepage”
• “OdbcSetCodepage”
1. In the Design Center, select Tools > Design Center Settings. The Design Center
Settings dialog box opens.
2. From the Default code page drop-down list, select the appropriate code page.
2. In the Project browser, right-click the top node and select Settings. The Project
Settings dialog box opens.
3. From the Default code page drop-down list, select the appropriate code page.
Known limitations
The Communications Center Unicode support has some limitations:
• The MailOUT Process does not support Unicode. Instead, you must use an SMTP
(MIME) output connector and the appropriate Process.
• Do not use characters outside the ASCII range in executable scripts or for
variables.
You must specify which code page the source application uses to encode the input to
StreamServer. First, you identify the code page used for encoding the input (see
“Identifying the code page used to encode input data” on page 603), then you
select this code page when you configure the code page settings for the input in the
Design Center. Where possible, use a Unicode encoding scheme for the input data.
2. From the Fonts drop-down list, select a font that supports a wide range of code
pages (e.g. Arial) and click OK.
4. Select Edit > Code Page and select a code page that displays all characters
correctly in UTF Edit.
If you cannot find the accurate code page, repeat the procedure with another font. If
you still cannot find the accurate code page, you must install a more suitable font.
3. In the filter chain editor, right-click the flow bar and select Add Filter >
Codepage Filter. A new code page filter is added to the flow bar.
4. From the Code page drop-down list, select the appropriate code page.
5. Save the filter chain and close the filter chain editor.
7. In the Platform view, double-click the input connector. The Input Connector
Settings dialog box opens.
8. Click the Filter Chain icon and browse to and select the filter chain that contains
the code page filter.
For the UTF-16 encoding schemes, each character code unit is represented by two
bytes. When you select UTF-16 as code page, you must also specify how the bytes
are ordered for each code unit – most significant byte first or last.
• From the Byte order drop-down list, select the appropriate option:
• Most significant byte first (Big Endian) - When the input is encoded using
the encoding schemes UTF-16BE (big endian without byte order mark) or
UTF-16 (big endian with or without byte order mark)
• Most significant byte last (Little Endian) - When the input is encoded using
the encoding schemes UTF-16LE (little endian without byte order mark) or
UTF-16 (little endian with byte order mark.
In this example, input data received via the input connector is ISO 8859-15
encoded. A code page filter with the code page ISO 8859-15 is connected to
the input connector.
3. In the filter chain editor, right-click the flow bar and select Add Filter >
Codepage Filter. A new code page filter is added to the flow bar.
4. From the Code page drop-down list, select the appropriate code page.
5. Save the filter chain and close the filter chain editor.
6. Repeat Step 1 through Step 5 for each input type and code page.
7. In the Project browser, right-click the Project node and select Project Export
Settings. The Project Export Settings dialog opens.
10. For each input type in the Input Analyzer settings list, click the Select a Filter
Chain icon and browse to and select the filter chain that contains the code page
filter for the input type.
Note: If you connect a code page filter to the connector in both the Platform
and in the Project Export Settings dialog, StreamServer will not start.
For the UTF-16 encoding schemes, each character code unit is represented by two
bytes. When you select UTF-16 as code page, you must also specify how the bytes
are ordered for each code unit – most significant byte first or last.
• From the Byte order drop-down list, select the appropriate option.
• Most significant byte first (Big Endian) - When the input is encoded using
the encoding schemes UTF-16BE (big endian without byte order mark) or
UTF-16 (big endian with or without byte order mark)
• Most significant byte last (Little Endian) - When the input is encoded using
the encoding schemes UTF-16LE (little endian without byte order mark) or
UTF-16 (little endian with byte order mark).
In this example the input connector receives ISO 8859-15 encoded page
formatted data, and ISO 8859-2 encoded XML formatted data. A code page
filter with the code page ISO 8859-15 is connected to the PageIN branch, and
a code page filter with the code page ISO 8859-2 is connected to the XMLIN
branch.
Prerequisites
1. In the Runtime configuration view, right-click the Event and select Settings.
The Runtime Event Settings dialog box opens.
2. On the Code Page tab, select Lookup or Variable and specify the alias settings.
See “Using aliases” on page 61 for information about alias selection methods.
Comments:
In this example the PageIN Event receives both ISO 8859-15 and ISO 8859-2
encoded input. The following lookup table is used to dynamically select the
appropriate code page:
The output can inherit the code page specified for the input, or you can specify a
new code page for the output. The code page you specify must be supported by the
output device (e.g. a printer).
2. In the Platform view, double-click the output connector. The Output Connector
Settings dialog box opens.
3. Click the Code page icon and select Inherit code page or select the appropriate
code page from the Code page drop-down list. Select Inherit code page if you
want to use the same code page for both input and output, and select a code
page from the drop-down list if you want to select a different code page for the
output. Note that the code page must cover at a minimum all the characters
covered in the code page for the input.
For the UTF-16 encoding schemes, each character code unit is represented by two
bytes. When you select UTF-16 as code page, you must also specify how the bytes
are ordered for each code unit – most significant byte first or last.
• From the Byte order drop-down list, select Most significant byte last (Little
Endian) or Most significant byte first (Big Endian). The byte order to select
depends on the application that receives the output.
• Select Add byte order mark if you want to add a byte order mark at the
beginning of a UTF-16 or UTF-8 encoded output file. The application that
receives the output can use this byte order mark to automatically determine the
encoding (UTF-8 or UTF-16 encoding scheme) and the byte order used for the
data in the UTF-16 encoding scheme.
//!codePage UTF8!
//!codePage UTF8!
ENG Printer_1
SWE Printer_2
CodePage UTF8
• From the Input order drop-down list, select Visual order (Arabic and Hebrew
only).
• From the Input order drop-down list, select Visual order (Arabic and Hebrew
only).
ConvCurrMsgToUC("UTF8",1);
• Enter the ReorderRTLField keyword to the input connector. See “Using custom
commands and keywords” on page 65 for information on how to add custom
commands and keywords to a connector.
Note: You must not enable reordering using code page filters, aliases, or
retrieved script for input received via this connector if you use this keyword.
Visually ordered page formatted Arabic text is in addition shaped – the glyphs for
the letters are cursively joined, lam-alif ligatures are formed, and mirror characters
(e.g. parentheses and brackets) are mirrored. Contextual shaping must therefore be
performed on the text in order to create the correct sequences of glyphs. Shaping is
automatically performed if you enable reordering of page formatted output. This
functionality is restricted to be without vowel marks.
2. In the Platform view, double-click the output connector. The Output Connector
Settings dialog box opens.
3. Click the Code page icon and select Reorder BiDi output in visual order.
3. Click the Code page icon and select Reorder BiDi output in visual order.
Document Broker
The figure below illustrates a scenario where two StreamServer applications store
documents in a Document Broker repository, and one StreamServer application
collects the documents.
Storing documents
To store documents in a Document Broker repository, you need a Document
Broker Plus output connector and driver. You must also specify a document
trigger for the documents.
Collecting documents
To collect documents from a Document Broker repository you need an input
connector, a Post-processor, and a query. The query includes filters that define
which documents to collect from the Document Broker repository. This query is
delivered to the Post-processor via the input connector, and the Post-processor
uses the information in the query to collect the documents.
Post-processing documents
Documents collected from a Document Broker repository can be post-processed.
Post-processing includes sheet layout, sorting, and enveloping of documents.
See “Sheet Layouts“ on page 661 and “Sorting and bundling“ on page 641 for
more information on post-processing features.
If you have several domains, we recommend that you create a central Document
Broker repository which is shared by all the domains.
Using a separate Document Broker repository for each domain is only suitable in
environments where you know that the Document Broker repository will never be
shared by StreamServer applications in different domains at any time in the future.
Connecting each domain to a separate repository limits the solution to only being
able to consolidate documents created within a particular domain.
Post-processor
A Post-processor is equivalent to a Job in a Runtime configuration. The Post-
processor retrieves documents from a Document Broker repository, and does not
include any Message configurations as the Job does.
The Post-processor is connected to input and output connectors in the same way as a
runtime Job. The input connector collects the query that specifies which documents
to collect from the Document Broker repository, and the Post-processor uses the
query to query the Document Broker repository for documents. When the
documents are collected, StreamServer can post-process the documents (sheet
layout, sorting, bundling, etc.) and deliver the output via the appropriate output
connector.
Post-processors can be used only if documents are stored in the Document Broker
repository using the SDR for Relational Database driver. If any other driver is used
you must use a DAQ filter instead (see “DAQ filter” on page 547).
Queries
Queries contain filters based on types and properties from the metadata model, and
are used by Post-processors to query the Document Broker repository for
documents. A query specifies which documents to select, and the action to apply to
the selected documents.
For information about how to create queries, see “Creating PPQs” on page 630.
Notes
Scenario
Company ABC uses three different StreamServer applications, all running in
separate domains. Company ABC needs to consolidate the output documents
from StreamServer A and StreamServer B, and use StreamServer C to deliver the
consolidated documents to the customers. Company ABC also wants to track
top jobs.
To achieve this, a central Document Broker repository is created and a central
tracking repository is created. Both repositories are connected to all three
domains. StreamServer A and StreamServer B store the output documents in the
central Document Broker repository, and StreamServer C collects the documents
from the repository. The applications in all three domains store top job
information in the central tracking repository.
3. Enter the Name and a Description of the Document Broker repository and
click OK. The Configuration dialog box opens,
4. Configure the database settings for the repository and the connection
settings to access the repository.
5. Right-click the new Document Broker repository node and select Create
Database. The Create Database dialog box opens.
6. Select the appropriate Operation (Create now etc.) and click Start.
2. Select the domains to link the repository to, and click OK.
Related documentation
• See OpenText Communications Center Enterprise - System Administration Guide
(CCMSYS-AGD) for information about creating and tracking repositories.
To be able to add properties to the documents, you must first create a metadata
model with the properties to store in the Document Broker repository (in the
metadata model, the properties are arranged into containers called types). The
metadata model must contain all properties to add to the documents. The metadata
model must then be connected to the Project and the appropriate types must be
applied to the Document Broker Plus output connector. For more information about
metadata models, see “Metadata management” on page 361.
Prerequisites
A metadata model must be connected to the Project. See “Selecting the model for
a Design Center Project” on page 379.
Available drivers
The Document Broker Plus output connector can use the following drivers:
• (No device)
• DOCX
• HTML unpaginated
• Layout
• PDF
• SDR for Relational Database
1. Right-click the Platform view in Design Center and select New Output
Connector > Document Broker Plus. A new output connector is added to the
Platform view.
2. Double-click the new output connector. The Output Connector Settings dialog
box opens.
4. From the Device drop-down list, select the appropriate driver and click OK.
1. In the Runtime configuration view in Design Center, open the Runtime Output
Connector Settings dialog box for the Document Broker Plus connector.
2. Activate the generic layer and click the Document Trigger icon.
To apply types from the metadata model to a Document Broker Plus output
connector
1. In the Runtime Output Connector Settings dialog box for the Document Broker
Plus connector, activate the generic layer and click the Document End icon.
2. On the Document Broker Plus tab, click the icon beside the Custom type box.
TheDefine Custom Type dialog box opens.
3. In the Model version list, click the version of the model you want to use.
4. Select the types you want to connect to the documents and then click OK.
1. In the Runtime Output Connector Settings dialog box for the Document Broker
Plus connector, click the Job End icon.
2. On the Device Driver Settings tab, enter a PPQ file name and/or the name of
the connector. For information about the settings on the tab, see “Connector
settings for auto-generated PPQs” on page 639.
A stored variable is only valid at the same level as it was stored. For example, a
variable stored at Document Begin is valid until Document End, whereas a variable
stored at Page Begin only is valid until the next Page Begin.
To store a variable
1. In the Runtime configuration view in Design Center, open the Runtime Output
Connector Settings dialog box for the Document Broker Plus connector.
2. Activate the generic layer and click the Document Begin, Process Begin, Page
Begin, or Document End icon.
3. Select the Stored Variables tab and click . The Add Stored Variable dialog
box opens.
4. Enter the variable and click OK. The new variable is added to the Stored
Variables list.
• delete
• process and delete
The default settings for storing successful jobs in a Document Broker repository have
changed in version 16. Now each document is stored as it is created, which means
duplicate documents can be stored if a job fails and is retried from the input queue.
In prior versions, the default was to only store documents in the Document Broker
repository if the entire job was processed successfully.
To change the default behavior and only store documents from successful jobs,
enable the Transactional support option on the input queue. For more information
about transactional support, see “Enabling transactional support” on page 244.
Query
The query is used by the Post-processor or DAQ filter to query the Document
Broker repository for documents. The query specifies which documents to select,
and the action to apply to the selected documents.
Input connector
The input connector collects the query. You can use different types of input
connectors to collect queries. For example, a Directory input connector that
collects the query from a specific directory.
Post-processor
The Post-processor executes the query and collects the documents from the
Document Broker repository.
Post-processing
StreamServer can post-process the collected documents. Post-processing
includes sheet layout, sorting, and bundling of documents. See “Sheet Layouts“
on page 661 and “Sorting and bundling“ on page 641 for more information
about post-processing features.
Collecting documents using Post–processors – overview
For information about how to create queries, see “Creating PPQs” on page 630.
For information about how to collect queries when using a DAQ filter, see “DAQ
filter” on page 547.
6. Click OK.
Process links
A Post-processor always includes a default Process link, which is used as the
connection point to the output connector. To enable Process specific or Page
specific output connector settings, you must add a new Process link to the Post-
processor. This Process link must be linked to the Process that stored the
corresponding document in the Document Broker repository.
To create a Post-processor
2. Browse to and select the appropriate Message and Process (you can multi-
select Processes). The new Process links are added to the Post-processor,
and connected to the same output connector as the Default Process link.
• The <s-dbs> element specifies which action to apply to the selected documents.
See “Action” on page 631 and “Update” on page 632.
• The <jobset> element specifies which batch in the repository to select. See “Job
selection” on page 633.
• The <docset> element specifies which documents in the repository to select. See
“Document selection” on page 634.
40.5.1.1 Action
Use the action attribute in the <s-dbs> element to specify what to do with the
selected documents.
• process
Process the documents, but do not delete them in the repository.
• process_and_delete
Process the documents, and delete them in the repository.
• delete
Delete the documents in the repository.
40.5.1.2 Update
Use the update attribute in the <s-dbs> element to specify that documents can be
processed by several parallel applications. For example, when using different
delivery channels.
• all
This is also the default behavior if the update attribute is not used.
Documents are processed by one single application at the time, which ensures
that processed documents are delivered only once.
Documents are reserved during processing, but can be processed by other
applications that use update=none. Document status during processing is
processing and after processing processed.
• none
Documents can be processed and delivered by several parallel applications.
Documents are not reserved during processing and can be processed by other
applications. Document Status is not updated and you must use the
“UpdatePPDocStatus” scripting function to update the status.
Notes
• All selected documents are processed, even if they are locked by other
applications that use update=all.
• Not applicable to action="process_and_delete".
The <jobset> element can enclose zero, one or multiple <docset> elements in the
PPQ, see examples below.
Operators
For a list of available operators, see Filter operators on page 634.
Filter operators
You can use the operators shown in the table below when you create document
property filters and property filters.
=
Equal to. Numeric and string values. For example:
metainfo="CustomerName="Eva Farrel""
< (<)
Less than. Numeric and string values. For example:
metainfo="CustomerNumber<1020"
> (>)
Greater than. Numeric and string values. For example:
metainfo="CustomerNumber>1020"
!=
Not equal to. Numeric and string values. For example:
metainfo="CustomerNumber!=1020"
>= (>=)
Greater than or equal to. Numeric and string values. For example:
metainfo="CustomerNumber>=1020"
<= (<=)
Less than or equal to. Numeric and string values. For example:
metainfo="CustomerNumber<=1020"
+
Addition. Numeric and string values.
-
Subtraction. Numeric values only.
*
Multiplication. Numeric values only.
/
Division. Numeric values only.
AND
Logical AND. For example:
OR
Logical OR. For example:
metainfo="Country=FIN OR Country=SWE"
(DocSequenceNumber)
sel="ID=2"
Priority Select documents with a specific sel="Priority=50"
priority.
CreationTime Select documents created a sel="CreationTime>
specific date and time. 2010-03-29T09:30:00"
ProcessTime Select documents updated a sel="ProcessTime>
specific date and time. 2010-03-29T09:30:00"
Error Select documents processed with (Documents processed without
or without errors. errors)
sel="Error=1"
Status Select documents of a specific sel="Status=Stored"
Status.
YYYY-MM-DDThh:mm:ss
(Documents updated
yesterday)
sel="ProcessTime=today
-1"
sel="CreationTime=toda
y-5"
now Select documents created or updated (Documents created during
during a period of hours and minutes the last four hours)
back in time.
sel="CreationTime>=
now-4"
sel="ProcessTime>=n
ow-1:20"
This example shows an auto-generated PPQ file that will process all
documents in the stored batch with job ID=8FA23889-7BE7-
B743-8842-2607A980C851.
1. In the Runtime configuration view in Design Center, open the Runtime Output
Connector Settings dialog box for the Document Broker Plus connector.
2. Activate the generic layer and click the Job End icon.
3. On the Device Driver Settings tab, enter a PPQ file name and/or the name of the
connector. For information about the settings on the tab, see “Connector settings
for auto-generated PPQs” on page 639.
• Store, post-process and deliver – When you are using, for example, Service
Request or HTTP input connectors and want to store, post-process and deliver
the documents within the same job.
• Return information about stored documents – When you are using, for
example, Service Request or HTTP input connectors and want to return
information about what was stored to the input connector.
• Manipulate PPQ before process – When you want to manipulate the PPQ before
processing it or storing it as a file. You can, for example, send the PPQ file to an
XMLIN Event and modify it in an XMLOUT Process before it is written to a File
output connector.
• Post-process without scripting or copying files – When you want to post-
process stored documents directly, without scripting or copying files.
• Keep record of stored documents – When you only want to keep record of
documents stored by a post-processor job.
• Upgrade existing Project – When you upgrade an existing project that uses PPQ
files and do not want to change that.
C:\strs_data\JobInfo\phone.xml
Note: When using input queues in the storing job, you cannot use variables
in the runtime settings of the connector receiving the PPQ. The reason is
that the PPQ is sent after job end when variables are cleared.
• Update documents when processing
Note: The docset option requires more memory and has more performance
requirements than the jobset option. The docset option is only
recommended if the PPQ is modified before processing. For example, by
adding gmi tags to modify properties.
Caution
The job fails and an error is logged if the input connector uses a queue
where Transactional support is enabled.
1. Open the Runtime Output Connector Settings dialog box (generic layer) and
click the Global Settings icon.
1. Open the Runtime Output Connector Settings dialog box (generic layer) and
click the Document End icon.
2. On the Document Broker Plus tab, click the icon beside the Custom type box.
The Define Custom Type dialog box opens.
3. In the Model version list, click the version of the model you want to use.
4. Select the types that include the properties to be available when defining keys
for sorting and bundling, and then click OK.
Sort keys
Sorting is applied using one or more sort keys, for example zip code and
customer number as described in the example above. When you define a sort
key, you define which property to use as key and the sort order (ascending or
descending).
Before you can define sort keys you must select the appropriate metadata model
version and the types that include the properties to use as sort keys.
1. Open the Runtime Output Connector Settings dialog box (generic layer) and
click the Job End icon.
2. On the Document Sort tab, click the icon beside the Custom type box. The
Define Custom Type dialog box opens.
3. In the Model version list, click the version of the model you want to use.
4. Select the types that include the properties to use as sort keys and then click
OK.
1. Open the Runtime Output Connector Settings dialog box (generic layer) and
click the Job End icon.
2. On the Document Sort tab, click . The Add Sort Key dialog box opens.
3. Select the appropriate Metadata name and Sort order, and then click OK.
You can then sort the documents in the current segment by using the “SortSegDoc”
script function.
Note: If you do not use enveloping the whole input job is one segment.
41.3 Bundling
41.3.1 Defining mailing machines
Enveloping can be done by several mailing machines. For example one mailing
machine for documents containing up to seven sheets, a second for documents
containing 8-14 sheets and a third for documents containing more than 14 sheets.
The output job is then divided into one unit per mailing machine. If only one
mailing machine is used, the entire output job is sent to this mailing machine.
When you define a mailing machine, you must specify the name of the mailing
machine and the maximum number of sheets per envelope for the mailing machine.
When StreamServer runs the job, the output job is divided into two units:
• One unit for all documents that contain less than eight sheets. These
documents are sent in a pdf file to the target folder for MM1:
.\Out\MM1\document.pdf
• One unit for all documents that contain more than eight sheets. These
documents are sent in a pdf file to the target folder for MM2:
.\Out\MM2\document.pdf
When the output file is created, the %{TARGET} variable is replaced by the name
of the mailing machine and the %{SEGMENT} variable is replaced by a number
that is increased for each new segment file.
If you only have one mailing machine, and if you create a target folder
manually, the name of the target folder must be the same as the name of the
mailing machine. For example:
.\Out\MM\document.afp
sheets per envelope for this mailing machine is set to 10, it cannot handle
documents containing more than 10 sheets. To solve this you can do the
following:
1. Open the Runtime Output Connector Settings dialog box (generic layer).
2. Click the Job End icon and select the Enveloping tab.
• Mailing machine name – the name of the mailing machine. Must be the
same as the name of the target folder used by the mailing machine.
• Define maximum sheets per segment – used if you need to divide large
output files into several smaller files. See Segmenting output files
on page 645.
5. Click OK.
If the output job contains several types of documents, and you want to include all
documents to a recipient in the same envelope, you must define how to bundle
documents and prepare them for enveloping.
Envelope keys
Bundling is applied using envelope keys, for example customer number if you
want to include all documents to each customer in the same envelope. When
you define an envelope key, you define which property to use as key and the
sort order (ascending or descending).
Before you can define envelope keys you must select the appropriate metadata
model version and the types that include the properties to use as envelope keys.
1. Open the Runtime Output Connector Settings dialog box (generic layer) and
click the Job End icon.
2. On the Enveloping tab, click the icon beside the Custom type box. The Define
Custom Type dialog box opens
3. In the Model version list, click the version of the model you want to use.
4. Select the types that include the properties to use as envelope keys and then
click OK.
1. Open the Runtime Output Connector Settings dialog box (generic layer) and
click the Job End icon.
2. On the Envelope tab, click . The Add Envelope Key dialog box opens.
3. Select the appropriate Metadata name and Sort order, and then click OK.
Then all documents containing more than 14 sheets are sent to MM3, and these
documents must be enveloped manually. To minimize manual handling of
envelopes, you can enable Minimize manual handling when you define envelopes.
If you do, StreamServer tries to sort the documents in the same document set (i.e.
documents with the same envelope key) across several envelopes, which reduces
manual handling.
In this example you have the same mailing machines as described above
(MM1, MM2 and MM3). The envelope definition uses “customer ID” as key,
which means all documents with the same “customer ID” should be
included in the same envelope.
You have a three documents, each containing six sheets, where all
documents have the same “customer ID”.
• If you select Minimize manual handling, MM2 will handle the
enveloping and create two envelopes – one envelope with two
documents (12 sheets) and one envelope with one document (six sheets).
• If you do not select Minimize manual handling, all 18 sheets are sent to
MM3 (manual handling).
Note that if any of the three documents contains more than 14 sheets, all
sheets are sent to MM3 even if you select Minimize manual handling.
If a document is split across several envelopes, the address must be printed on the
first sheet in each envelope. You can achieve this by either:
• Producing page-formatted data where all pages contain the address.
• Repeating the page that contains the address for each envelope.
• Inserting a pre-defined address page for each envelope.
1. Open the Runtime Output Connector Settings dialog box (generic layer).
2. Click the Job End icon and select the Enveloping tab.
6. Click OK.
1. Open the Runtime Output Connector Settings dialog box (generic layer).
2. Click the Job End icon and select the Enveloping tab.
1. Open the Runtime Output Connector Settings dialog box (generic layer).
2. Click the Job End icon and select the Enveloping tab.
3. Click Advanced. The Advanced Enveloping dialog box opens.
4. Select Count inserts.
5. Enter the appropriate settings:
6. Click OK.
Note: For performance reasons, add an OMR code at Job begin if you use
constant values for the OMR code.
Standard strokes
STD OMR codes use standard strokes, i.e. each stroke position in the code has a
predefined meaning. See “STD strokes” on page 651.
Bar functions
By defining a generic OMR code or a bar code, you can use bar functions at any
stroke position in the OMR code. See “Bar functions” on page 652.
1. Open the Runtime Output Connector Settings dialog box (generic layer).
2. Click the Job Begin icon and select the OMR tab.
4. Configure the OMR settings (see OMR settings on page 650) and click OK.
OMR settings
• Name - The OMR code name (only used as an internal reference). Only the
first OMR code of two or more OMR codes with identical names is printed.
An OMR code defined on both Job begin and Document begin will be
printed only on Job begin.
• Type - The OMR code type. For STD, STDH, and STDE OMR types, see
“STD strokes” on page 651. For all barcode types, you can define the OMR
by using bar functions, see “Bar functions” on page 652.
• X (mm) - The absolute horizontal position of the OMR code (0 is left).
• Y (mm) - The absolute vertical position of the OMR code (0 is top).
• Rotation (degrees) - The rotation of the OMR code.
• Side - The side of the sheet where the OMR code is placed.
• Bar functions - Functions representing bar strokes. See “Bar functions”
on page 652.
• Low sequence - The sequence start value.
• High sequence - The highest value in sequence.
• Sequence order - The sequence order. None is Ascending.
• Insert mask - By setting this option, inserts can be included in envelopes
depending on the OMR type. You can use a maximum of 31 insert trays, so
you can enter an integer from 0 to (232-1) since the value is used as a binary
mask. For example, 13=1101 means that inserts 1,3 and 4 are used for the
documents within the job.
• ON value - The value that indicates that a specific stroke is printed, normally
1.
• Bar height (mm) - The height of the OMR code in millimeters.
• Font size - The font size for the barcode text.
For the OMR type specific attributes, refer to the corresponding barcode
specification.
1/1/0/<1/0/>1/0/0/0
Byte translation
Bytes are compiled from the bit/byte sequence in the same order as the bit
sequence is entered. For example:
To compile bytes using old INT2OF5 and Code 39 OMR behavior, add a #
character in front of the bit sequence. For example:
#1/1/0/1/0/1/0/0/0
Note: For the old INT2OF5 and Code 39 OMR behavior, this is not
recommended when byte sequences are included.
• 1
Bar is printed.
• 0
Bar is not printed.
• seqN
N=1,2,4,8,16,... A bar is printed depending on the binary/byte sequence.
See “OMR example with sequence bars” on page 655.
• firstpage
A bar is printed if it is the first page in the document.
• notfirstpage
A bar is printed if it is not the first page in the document.
• lastpage
A bar is printed if it is the last page in the document.
• notlastpage
A bar is printed if it is not the last page in the document.
• $variable
A bar is printed depending on value of $variable
• $variable[N]
A bar is printed depending on value of $variable and the bit or byte
representation. N=1,2,3,4...
• Bit representation
The maximum value of N is 31.
For example, if the following bar functions are specified:
$page_no[3]/$page_no[2]/$page_no[1]
$variable="abcd"
=> $variable[0]="a", $variable[3]="c"
• Variable arrays
the N:th bit or byte (character) is specified as the second pair square
brackets, e.g. $var[0][1], where [1] is the first bit or the second
character in the first element of the $variable array.
• evenparity
A bar is printed if the number of the other bars is odd. This bar function is
used as a security check. If this function is set, the numbers of bars on the
sheet must be even. This means that if the number of bars printed to the
sheet is odd, the parity bar must be added. If the OMR reads an odd number,
there is a misreading. Therefore, security is doubled.
• oddparity
A bar is printed if the number of the other bars is even. This bar function is
used as a security check. If this function is set, the numbers of bars on the
sheet must be odd. This means that if the number of bars printed to the sheet
is even, the parity bar must be added. If the OMR will reads an even number,
there is a misreading. Therefore, security is doubled.
• firstsheetinenvelope
A bar is printed if it is the first sheet in the envelope.
• notfirstsheetinenvelope
A bar is printed if it is not the first sheet in the envelope.
• lastsheetinenvelope
A bar is printed if it is the last sheet in the envelope.
• notlastsheetinenvelope
A bar is printed if it is not the last sheet in the envelope.
• func1|func2
A bar is printed if func1 or func2 print a bar.
41.5 Labels
You can add one or more labels to an output document. If the document is retrieved
from a Document Broker repository, the label can contain variables that for example
specify the sheet number or the enveloping machine that handled the sheet.
Defining labels
You define labels at Job Begin, Document Begin, Process Begin, or Page Begin.
Note: For performance reasons, add a label at Job begin if you use constant
values for the label.
This procedure describes how to define a label at Job Begin. To define labels at other
levels (Document Begin etc.) you must select the corresponding icon.
1. Open the Runtime Output Connector Settings dialog box (generic layer).
2. Click the Job Begin icon and select the Labels tab.
4. Configure the label settings (see Label settings on page 656 and click OK.
Label settings
• Name - The label name (only used internally as a reference). Only the first label
of two or more labels with identical names is printed. A label defined on both Job
begin and Document begin is printed only on Job begin.
• X (mm) - The X position of the label in millimeters (0 is left).
• Y (mm) - The Y position of the label in millimeters (0 is bottom).
• Rotation (degrees) - The clock-wise rotation of the label.
• Side - The side of the sheet where the label is placed.
• Place on sheets - The sheet(s) in a document where the label is placed. Select
Between to put the label on all sheets except the first and the last sheet.
• Font - The font to use for the label text.
• Font size - The size in number of points of the font used for the label text.
• Text - The printed text. If the document is retrieved from a Document Broker
repository you can use the following variables (case sensitive) in your text:
<%NumSheets>
The number of sheets in the document.
<%MailMach>
The name of the mailing machine.
<%EnvelNr>
The number of the current envelope. Every envelope gets a unique number
when it is created.
<DOCUMENT>
The number of the current document. Documents are numbered per segment
(if defined) and mailing machine.
<PAGEINJOB>
The number of the current logical page. Pages are numbered per segment (if
defined) and mailing machine.
<SHEETINJOB>
The number of the current sheet. Sheets are numbered per segment (if
defined) and mailing machine.
<PAGESINDOCUMENT>
The number of pages in the document.
<PAGEINDOCUMENT>
The number of the current page in the document.
<SHEETINDOCUMENT>
The number of the current sheet in the document.
• “NextProc” – skips the rest of the current Process, and processes the next
Process.
• “NextDoc” – skips the rest of the current document and processes the next
document.
• “NextSegment” – skips the rest of the current segment and processes the next
segment.
• “InsertPage” – inserts a page in the current document.
• “FlushOutput” – sends parts of the job to the output connector even if the job
is not completed.
• “SetDestPath” – sets a destination path, and optionally, a file name.
To write or store the retrieved information you can, for example, use the following
script functions:
• “FileOpen”
• “FileWrite”
• “OdbcConnect”
• “OdbcExecute”
Note: To use Post-processor scripting to insert or skip pages, you must specify
a sort variable or a mailing machine.
2. Right-click the level where you want to add the script and select Script. The
Script editor opens.
3. If you use scripting on Process begin or Page begin, select whether to run the
script before or after the Process or Page is processed.
4. Edit the script and click OK.
You use Sheet Layout editor to create sheet layout resources that you connect to the
appropriate output connectors. The sheet layout resources define the layout of
logical pages on physical sheets, and this layout can include both text and images.
To define sheet layout for output you must create sheet layout resources and assign
them to the appropriate output connectors. See “Creating sheet layout resources”
on page 661 and “Assigning sheet layouts to output connectors” on page 666.
1. Right-click the resource set and select New Resource > Sheet Layout.
2. Double-click the sheet layout resource to open Sheet Layout editor.
3. Configure the sheet layout.
You can use variables for the presentation, orientation, and margins settings. For
example, you can use simplex for the first sheet of a document, and duplex for the
rest. To use a variable for a specific property, select the property to activate the Alias
frame for this property.
1. In the Sheet Layout editor, select Sheet layout in the Category tree.
2. Edit the sheet layout settings. See “Sheet layout settings” on page 669.
Images
You can add images to a sheet and to specific partitions on the sheet
1. In the Sheet Layout editor, select Sheet Layout in the Category tree.
2. From the Sheet Layout menu, select Add Image.
3. Edit the values for the image. See “Image settings – sheet level” on page 672.
Overlays
You can add an overlay to a sheet.
To add an overlay
1. In the Sheet Layout editor, select Sheet Layout in the Category tree.
2. From the Sheet Layout menu > Add Form Overlay.
3. Edit the values for the overlay. See “Overlay settings” on page 673.
If you want to add an overlay to a page according to a condition, for example if the
page is the first one in the envelope, you can use the “InsertOverlay” script function.
Repeat settings
You can print signatures from several documents on a single sheet, or repeat the
signature vertically or horizontally. You can also repeat the entire sheet. Repeating
signatures is useful when, for example, printing business cards.
Signatures
You can specify how the sheet is divided in partitions, by specifying the number of
rows and columns.
To specify signatures
Partitions
A partition is a section of the signature that contains one page. You can add and
configure the partitions in a signature.
Note: Make sure the size of the logical page fits the partition size.
2. From the Sheet Layout menu, select Auto Add Partitions. Partitions are added
according to your signature definition.
3. Edit the values for the partitions. See “Partition settings” on page 675.
3. Edit the values for the partition. See “Partition settings” on page 675.
Fold marks
Fold marks display where the border between rows in a signature is located, and
they indicate where the sheet is supposed to be folded. In the Fold marks tables, you
can double-click a cell or click F2 when a row is selected to start editing.
Horizontal fold marks are printed outside the left and right edges of the signature,
between the selected rows. Vertical fold marks are printed outside the top and
bottom edges of the signature, between the selected columns.
1. In the Sheet Layout editor, select Hor. Fold Marks in the Category tree.
2. Edit the fold mark settings. See “Horizontal fold marks settings” on page 676.
1. In the Sheet Layout editor, select Ver. Fold Marks in the Category tree.
2. Edit the fold mark settings. See “Vertical fold marks settings” on page 676.
You can specify the default values used for fold mark length, width, and distance.
1. In the Sheet Layout editor, select Tools > Options. The Options window opens.
Gutters
The gutter is the area between two rows or columns of partitions in a signature. The
gutter allows the logical pages that are printed on the partitions to be easily visible
when the sheet is folded. In the Gutters tables, you can double-click a cell or click F2
when a row is selected to start editing.
The horizontal gutter is the empty area between two rows of partitions in a
signature, and the vertical gutter is the empty area between two columns of
partitions in a signature.
1. In the Sheet Layout editor, select Hor. Gutters in the Category tree.
2. Edit the gutter settings. See “Horizontal gutters settings” on page 677.
1. In the Sheet Layout editor, select Ver. Gutters in the Category tree.
2. Edit the gutter settings. See “Vertical gutters settings” on page 677.
Page order
Every page in a document has a unique sequence number beginning with 1.
To create an expression that represents this sequence number, you can use integers,
+, -, *, /, (, ), and the following variables:
1st sheet: The page printed on the front left partition is 8+2-2*1=8
2nd sheet: The page printed on the front left partition is 8+2-2*2=6
1st sheet: The page printed on the front right partition is 2*1-1=1
2nd sheet: The page printed on the front right partition is 2*2-1=3
1st sheet: The page printed on the back left partition is 2*1=2
2nd sheet: The page printed on the back left partition is 2*2=4
1st sheet: The page printed on the back right partition is 8+1-2*1=7
2nd sheet: The page printed on the back right partition is 8+1-2*2=5
The priority order when selecting a sheet layout is Page, Process, Document and
then Job. For example, if you specify different sheet layouts on Page begin and
Document begin, the sheet layout on Page begin is used for the selected pages
within the document.
1. Open the Runtime connector settings dialog box for the output connector.
2. Select the Sheet Layout tab and browse to the sheet layout resource that you
have created.
3. If you have not defined a Page order, you can select the partition on which to
place the pages. You can specify a partition number or a partition name that you
have defined in the Sheet Layout editor. A name must be specified as
'<partition_name>' . Default is Next (if none is selected).
4. Optionally, you can specify the partition in which the first page of the Job,
Document or Process is printed. You can specify a partition number or a
partition name that you have defined in the Sheet Layout editor. A name must
be specified as '<partition_name>' . Default is Next (if none is selected).
5. Click OK.
1. In the Runtime configuration window, open the connector settings for the
output connector to be used.
2. Select the Side by Side tab and browse to the sheet layout resource that you
have created.
3. Select the partition on which to place the pages. You can specify a partition
number or a partition name that you have defined in the Sheet Layout editor. A
name must be specified as '<partition_name>' . Default is Next (if none is
selected).
4. Click OK.
In this example, business cards are printed on 10 sheets with 20 business cards on
each sheet. The business card page defined in the Process tool has a size that allows
20 business cards to be printed onto an A4 page.
Printing side-by-side
5. In the Page Order frame, select Cut Normal Order. The Layout Presentation is
automatically set to Duplex, or Duplex tumble, depending on the Layout
Orientation that you have specified. The Media size is twice the Media size of
the sheet layout selected on the Sheet Layout tab.
42.5.3 Categories
The Sheet Layout Editor settings are divided into several categories.
• Sheet Layout - Defines presentation, orientation, margins, and page order. See
“Sheet layout settings” on page 669.
• Media - Defines the type of paper to use, where to retrieve new sheets, and
where to output the printed sheets. See “Media settings” on page 671.
• Image - Defines images to add to the sheet or to a specific partition on the sheet.
See “Image settings – sheet level” on page 672 and “Image settings – partition
level” on page 673.
• Overlay - Defines overlays to add to the sheet. See “Overlay settings”
on page 673.
• Repeat - Defines how to repeat signatures. See “Repeat settings” on page 674.
You can use variables for the presentation, orientation, and margins settings. For
example, you can use simplex for the first sheet of a document, and duplex for the
rest. To use a variable for a specific property, select the property to activate the Alias
frame for this property.
• Presentation
Page presentation. Duplex Tumble means to turn the page on the short side.
Variable values:
• Simplex
• Duplex
• Tumble
• Orientation
The orientation of the sheet.
Variable values:
• Portrait
• Landscape
• Margins (mm)
• Top - The size of the margin from the top of the sheet to the signature.
• Bottom - The size of the margin from the bottom of the sheet to the signature.
• Left - The size of the margin from the left side of the sheet to the signature.
The margin is defined when the sheet is front side up. Therefore, on the back
side, this margin is on the right side.
• Right - The size of the margin from the right side of the sheet to the signature.
The margin is defined when the sheet is front side up. Therefore, on the back
side, this margin is on the left side.
• None - No page order is defined. The partition order specified at Job begin,
Document begin, Process begin, or Page Begin is used for the imposition of
the pages.
• Booklet - The pages are positioned for booklet printing. Only 2-up signature
is supported. See “Signature settings” on page 674.
• Cut Normal Order - Starting with the first page, the first half of the total
number of pages is positioned on the left side of the sheets, and the second
half on the right side of the sheets.
• Cut Reverse Order - Starting with the last page, the first half of the total
number of pages is positioned on the left side of the sheets, and the second
half on the right side of the sheets.
• Custom Order - The pages are positioned according to the Page Order option
specified for a specific partition, see “Partition settings” on page 675.
• Max no of sheets
If you want the Page Order option that you have specified to be applied to less
pages than the total number of pages in the document, you must specify the
maximum number of sheets that can be used for the pages in the document. This
can be useful, for example, if a cutting machine can only handle a limited
number of sheets.
• Keep documents together
You can use variables for all Media settings. For example, you can use a separate
type of paper for the first sheet in a document. To use a variable for a specific
property, select the property to activate the Alias frame for this property.
• Paper size
The paper size. If you select Custom, you must specify Width and Height.
Variable values:
• A3
• A4
• A5
• Letter
• Tabloid
• Ledger
• Legal
• Executive
• Width (mm)
The width of the paper in millimeters.
Variable values: Must be points.
• Height (mm)
The height of the paper in millimeters. The height must be greater than the
width, as the media is defined as portrait layout.
Variable values: Must be points.
• Type
The type of paper, for example transparency or drilled. The string must comply
with the output format definition. See your output format manual for available
definitions.
Variable values: A string.
• Color
The paper color. The string must comply with the output format definition. See
your output format manual for available definitions.
Variable values: A string.
• Weight
The weight of the paper in grams per square meter.
• Repeat
The direction in which the signature is repeated.
If you specify Stack, the whole sheet is repeated. Within the stack repetition, you
can repeat the signature vertically and horizontally.
• Reverse
Reverse the direction of repeating. By default, repeating vertically is from top to
bottom of the sheet, and repeating horizontally is from left to right.
• Action
• N-up definition
Predefined signatures allow you to configure the sheet to contain up to four
partitions on each side.
• Rows and column definition
You can define a custom signature by specifying the number of rows and
columns for both back and front sides.
• Set size
In the Fold marks tables, you can double-click a cell or click F2 when a row is
selected to start editing.
• Begin row
Specifies the row in the signature above which the first fold mark is printed.
Enter 0 to start at the top.
• End row
Specifies the row in the signature under which the last fold mark is printed.
• Distance
The distance between the signature and the closest edge of the mark.
• Length
The length of the fold mark.
• Width
The width of the fold mark.
• Automatically add fold marks
Click to automatically add horizontal fold marks to every place where it is
possible, that is on the horizontal limit between rows in the signatures, as well as
above the first row and under the last row.
In the Fold marks tables, you can double-click a cell or click F2 when a row is
selected to start editing.
• Begin col
Specifies the column in the signature to the left of which the first fold mark is
printed. Enter 0 to start at the top.
• End col
Specifies the column in the signature to the right of which the last fold mark is
printed.
• Distance
The distance between the signature and the closest edge of the fold mark.
• Length
The length of the fold mark.
• Width
The width of the fold mark.
• Automatically add fold marks
Click to automatically add vertical fold marks to every place where it is possible,
that is on the vertical limit between columns in the signatures, as well as to the
left of the first column and to the right of the last column.
In the Gutters tables, you can double-click a cell or click F2 when a row is selected to
start editing.
• Begin row
The upper row in the signature, under which the horizontal gutter is located. Top
row = 1.
• End row
The lower row in the signature, above which the horizontal gutter is located.
• Distance
The size of the gutter. If you leave this empty, the size is calculated from the
Gutter change value. See “Media settings” on page 671.
In the Gutters tables, you can double-click a cell or click F2 when a row is selected to
start editing.
• Begin col
The left column in the signature to the right of which the vertical gutter is
located. Left column = 1.
• End col
The right column in the signature to the left of which the vertical gutter is
located.
• Distance
The size of the gutter. If you leave this empty, the size is calculated from the
Gutter change value that you can specify in the Media settings.
This section describes the additional configurations you must apply to a Design
Center Project in order to manage templates in WorkShop, themes in StoryBoard,
and documents in ReTouch.
Composing rules
In Design Center you can compose the rules to be used in WorkShop and
StoryBoard. See “Creating rules” on page 687.
Caution
Once the Project is deployed, you must not rename the Process.
Renaming a deployed Process will damage the corresponding template
and all themes based on this template.
To service-enable a Message
4. In Enable service support for content types, select the preview formats to be
available:
6. In Service name text box, enter the name of the service. The name of the service
is displayed in WorkShop when, for example, adding services to simulations.
This means you must give the service a unique and descriptive name.
Caution
Do not modify the name in an already deployed Project. If the name is
modified, you can no longer preview and release paused documents.
7. In Sample file text box, browse to and select the sample file to use for the
default simulation.
8. Click OK.
If you do not intend to use custom preview connectors (see “Using custom preview
connectors” on page 686) this is all you have to do to preview enable themes.
At a preview request the driver settings, and optional filter chains, on the preview
connectors are applied – all other connector settings are ignored. You can use the
delivery connectors as preview connectors if it is OK to use the same driver settings
for preview and delivery. You can also create separate connectors for preview, for
example Null Connector connectors and add the appropriate drivers to these
connectors.
<Installation directory>\Applications\Common\<version>\Modules
\Filters
See “Layout driver“ on page 471 for more information about the Layout
driver and “XML stylesheet filter” on page 563 for more information about
the XML Stylesheet Filter.
• For unpaginated preview (content type text/html), you must use an HTML
unpaginated driver.
Connector selection
Script functions are used to select the appropriate preview connector, and the
content type and preview type in the preview request determines which
preview connector to use. The following script functions are used in a before
Process script for this purpose:
• IsPreview – Checks if the job is a preview job or not.
• GetPreviewTypeEx – Returns a number indicating from where the preview
job was invoked.
• GetRequestedPreviewContentType – Returns the requested content type.
The WorkShop user can also upload rules to WorkShop. After you export the Project
and deploy, you will find the rules in the working directory of the StreamServer
application. You can copy the rules to the appropriate folder and inform the
WorkShop user where to find the rules to upload.
To create a rule
4. In the Rule Editor, enter a unique name for the rule function.
Reviewing documents
This section describes the additional configurations you must apply to your Design
Center Project to enable preview, approval, and release of documents in the Review
view in Supervisor.
Prerequisites
The following repositories are required to review documents in the Review view:
To save space in the Message repository and improve search performance, you
should not set more property values than what is really required.
Prerequisites
1. In Describer, add the properties to one or more types in the metadata model.
Tip: The script function uses GUIDs to identify properties. For information
about how to find the GUIDs, see “Finding the GUID of a property”
on page 384.
setMetadataMessage("5fb1c989-ae0b-4c98-8a15-c592af6db25c",
$Category);
In the rule functions, you use the Communications Center script syntax to set up
conditions. Depending on property values, these conditions are either true or false.
The property values should be retrieved using the getMetadataMessage or
getMetadataMessageFrom scripting function.
Prerequisites
1. In Design Center, open the resource set connected to the Runtime configuration.
2. Right-click in the resource set, and then select New > Rule.
3. In the resource set, give the new rule a unique and descriptive name.
2. In the Rule Editor, enter a unique name for the rule function.
Tip: The script functions use GUIDs to identify properties. For information
about how to find the GUIDs, see “Finding the GUID of a property”
on page 384.
Caution
If you update a rule function in an already deployed Project, the
updated function is used the next time the exception rule is evaluated.
6. Click OK.
In this example, an exception rule pauses all documents with the value
Young for the property Category. The documents are then available in the
Review view. Documents with other values for the property are formatted
and distributed without being paused.
In the resource set, a new rule resource called Category is Young is created.
getMetadataMessage("5fb1c989-ae0b-4c98-8a15-c592af6db25c",
$Category);
if ($Category == "Young")
return "true";
else
return "false";
Prerequisites
• The Message is service-enabled as described in “Service-enabling the Message”
on page 685.
4. In the Rule field, click to add exception rule resources for pausing documents in
the Message repository.
5. Click OK.
This section describes how Project modifications affect your themes and your
paused documents.
When you modify a Project that contains theme-enabled Processes, you must be
aware of the consequences. For example, if you modify a Project that is already used
in output document production, you must consider whether the updates should be
applied to both future documents and to already paused documents in the Message
repository. If you want to apply the changes to paused documents, you must be
aware of which types of modifications can be applied.
Event modifications
You can delete, rename, or add fields in the Event configuration without affecting
the template version. The following applies:
• If you delete a field, the field is no longer used in the paused documents.
• If you rename a field, the field is no longer used in the paused documents.
• If you add a field, the paused documents are not affected. However, if you add
the new field to a StoryTeller document, the field will be empty in the paused
documents.
Caution
If you delete or rename a field used in StoryTeller, you must open and
update the StoryTeller document accordingly. If not, the output
documents will be corrupt.
Exception - If you concatenate several Events, you cannot do any Event changes
without creating a new export version of the Project and thereby increase the
template versions of all included theme-enabled Processes.
Note: The version of the Project file in CAS does not correspond to the
Project version set at release or export. For example, you can check in
several versions of a Project file without changing the Project version.
Notes
• Applying Project changes to paused documents could affect the rendering or
other logic of the output.
• Not all Project changes can be applied to paused documents. For example, if
you add a new section to the StoryTeller template, this section will not be
rendered in paused documents.
• Some updates are always reflected when applying Project changes to paused
documents. For example, if you remove a section from the StoryTeller
template, this section will no longer be rendered in paused documents. Nor
will the removed section be rendered when previewing themes based on the
template.
Caution
To avoid version conflicts, you must never simultaneously run the same
export version of a Project, with different versions of a template, on
different StreamServer applications in the same domain.
• In Control Center, redeploy the export file for the modified Project to the
StreamServer application.
1. In Design Center, when you create a release for the modified Project or export
the modified Project, increase the Version number.
Note: When you increase the Project version number, the versions of all
included templates are automatically increased.
2. In Control Center, create a new StreamServer application.
3. In Control Center, deploy the export file for the modified Project to the
StreamServer application.
This section describes how to configure a Design Center Project for use with the
document tracking framework.
Related documentation
• For an overview of how the document tracking framework works and
information about how to install and configure the document tracking
framework, see Part VIII “Using the document tracking framework” in OpenText
Communications Center Enterprise - System Administration Guide (CCMSYS-AGD).
Prerequisites
• A property for the document key is configured in the metadata model attached
to the Project. For more information, see “Metadata management” on page 361.
You must repeat these steps for all the Messages you want to track.
2. Right-click the Message and then click Set Custom Meta Types.
The Define Custom Type dialog box opens.
3. In the Model version list, click the version of the model you want to use.
4. In the tree, select the type that contains the property for the document key.
Tip: Before you close Define Custom Type dialog box, copy the GUID of the
document key property by right-clicking on the property and selecting Copy
Key.
You need the GUID to set the value of the property and again when you
configure the metadata_mapping.properties file.
To assign the type with the document key to the output connector
You must repeat these steps for all the output connectors you want to track.
a. In the Model version list, click the version of the model you want to use.
b. In the tree, select the type that contains the property for the document key.
The location where you add the script functions is different for each output mode.
Script location
Output mode Event (e.g. XMLIN) Message Process
Document - setMetadataMessage setMetadataOutput
Document (batch mode) setMetadataMessage - setMetadataOutput
Process setMetadataMessage - setMetadataOutput
Job setMetadataMessage - -
• For Document output mode, right-click on the Message, and select Script.
• For Document (batch), Process, or Job output mode, right-click on the Event,
and select Script.
3. Add the script to set the value of the document key. For example:
Where:
• $docKey is something that identifies the unique document within the job.
For example, $docKey = $customerID + $orderID where $customerID +
$orderID are defined as variables in the XMLIN event.
setMetadataOutput($trackerDocKeyGUID, $docKey);
To map the GUID of the document key to the internal document key
2. Replace the variable <GUID.DocumentKey> with the GUID for the document
key.
OTTracking.DocumentKey=03dfb844-a84a-492c-b439-c7fe8019bf71
The names are used to map the attributes to columns in the document tracking
repository. You cannot change the names, however you can assign any property
from the metadata model to any of the custom attributes. This will then populate the
corresponding column in the TrackingDocuments table of the document tracking
repository with the property value.
2. In Design Center, assign the types with the properties you want to track to the
Message. For information about how to assign a type to the Message, see “To
assign the type with the document key to the Message“ on page 703.
3. Set the value of each property on each Message with the Section 33.18.24
“setMetadataMessage” in OpenText Communications Center Enterprise - Scripting
Reference Guide (CCMPRJ-RSC)script function.
OTTracking.RecipientName=c71fc5c8-27dc-4ecf-bd01-aaaf6399df7
For information about finding the GUID, see “Finding the GUID of a property”
on page 384.
Authentication
An SSL server must always authenticate itself to all SSL clients, and the SSL
client must authenticate itself to the SSL server if the SSL server requires client
authentication.
S/MIME
Encryption and authentication can also be applied to data sent via email, where
the StreamServer application uses S/MIME to sign and encrypt/decrypt emails.
Certificate Authority
A Certificate Authority (CA) is a trusted third-party organization or company
that issues digital certificates.
Certificate chain
A certificate chain is a tree structure of certificates. The validity of a certificate in
a certificate chain is verified by the certificate one level up in the tree. The root
node in the tree is the self signed root CA certificate.
Before the StreamServer can trust a certificate provided by an SSL server or
client, it must verify the complete certificate chain – up to the root CA certificate.
To be able to do this, it must have access to all certificates in the certificate chain.
The level 1 and 2 certificates are available to the SSL client in this example, and
the level 3 certificate is sent by the SSL server to the SSL client.
1. The SSL client sends a request to an SSL server that returns the level 3
certificate.
2. The SSL client uses the public key embedded i the level 2 certificate to verify
the signature of the level 3 certificate, and to verify that the level 3 certificate
has not been revoked.
3. If the level 3 certificate is OK, the SSL client uses the public key embedded i
the level 1 certificate to verify the signature of the level 2 certificate, and to
verify that the level 2 certificate has not been revoked.
4. If the level 2 certificate is OK, the SSL client verifies the self signed level 1
certificate. It uses the public key embedded i the level 1 certificate to verify
the signature of the level 1 certificate, and to verify that the level 1 certificate
has not been revoked.
5. If all tests are OK, the complete certificate chain can be trusted, and the
identity and integrity of the level 3 certificate is verified.
• Trust Server – all certificate information is retrieved from an XKMS (XML Key
Management Specification) compliant Trust Server. Only the certificate chain that
verifies the identity of the Trust Server is stored locally. See “Trust Server
security configurations” on page 715.
• Legacy – all certificate and private key data is stored locally. See “Legacy security
configurations” on page 724.
50.3 Entropy
When running on a Windows platform, the StreamServer uses a default entropy
source to generate randomness for SSL. When running on a UNIX platform, the
StreamServer searches for the entropy using the following sources:
• /dev/random
• /var/run/egd-pool
• /dev/egd-pool
• /etc/egd-pool
• /etc/entropy
• /dev/urandom
The StreamServer only uses the first source found in the list, starting at the top. You
must make sure that the appropriate entropy source is available.
Note: If no source is found in the list above, the StreamServer will use an
entropy source of low quality.
You can create security configurations for different purposes. For example, if the
StreamServer is both an SSL server (specified using an HTTPS input connector) and
an SSL client (specified using an HTTPS Submit output connector or HTTPS Poll
input connector), you can create one security configuration for the server and
another for the client. Then you connect the server security configuration to the
HTTPS input connector, and the client security configuration to the HTTPS Submit
output connector.
Note: You should be experienced in the area of SSL and S/MIME to be able to
create security configurations.
Prerequisites
• The certificates that verify the identity of the Trust Server are added to the same
resource set as the security configuration.
• The certificates for all involved parties (SSL server/client and email sender/
receiver) are registered in the Trust Server.
3. Open the security configuration and select the type Trust Server.
4. On the Certificates tab, add all the certificate resources to include in the
certificate chain used to verify the identity of the Trust Server.
5. On the Trust Server tab, enter the Trust Server URL, and the User name and
Password to access the Trust Server.
Depending on the purpose of the security configuration, you must also configure a
number of additional parameters:
• “Security configuration for an SSL server” on page 716
1. Create a new security configuration. See “To create a Trust Server security
configuration“ on page 715.
2. On the HTTP tab, enter the Key name and Passphrase to access the
StreamServer private key.
1. Create a new security configuration. See “To create a Trust Server security
configuration“ on page 715.
2. If the SSL server requires client authentication, you must also select the HTTP
tab and enter the Key name and Passphrase to access the StreamServer private
key.
1. Create a new security configuration. See “To create a Trust Server security
configuration“ on page 715.
2. On the Email tab, enter the Key name and Passphrase to access the private key
for the From address.
To enable signing
• Open the email Output Connector Settings dialog box and select Sign.
• Create a new security configuration. See “To create a Trust Server security
configuration“ on page 715.
To enable rejection
1. Open the EmailIN input Connector Settings dialog box and select Retrieve
email > Advanced.
• Create a new security configuration. See “To create a Trust Server security
configuration“ on page 715.
To enable encryption
• Open the email Output Connector Settings dialog box and select Encrypt.
1. Create a new security configuration. See “To create a Trust Server security
configuration“ on page 715.
2. On the Email tab, enter the Key name and Passphrase to access the private key
for the recipient address.
1. Open the EmailIN input Connector Settings dialog box and select Retrieve
email > Advanced.
Prerequisites
• Both SERVER and CLIENT use SSL version SSLv3.
• Both SERVER and CLIENT have the following resource in the default resource set:
• TS root.cer – the Trust Server CA root certificate. This is the only certificate in
the certificate chain.
1. Add a security configuration to the default resource set and rename it to SSL
SERVER.
4. On the Trust Server tab, enter the Trust Server URL, and the User name and
Password to access the Trust Server.
5. On the HTTP tab, enter the Key name and Passphrase to access the SERVER
private key.
1. Add a security configuration to the default resource set and rename it to SSL
CLIENT.
4. On the Trust Server tab, enter the Trust Server URL, and the User name and
Password to access the Trust Server.
5. On the HTTP tab, enter the Key name and Passphrase to access the CLIENT
private key.
Prerequisites
Both SENDER and RECEIVER have the following resource in the default resource
set:
• TS root.cer – the Trust Server CA root certificate. This is the only certificate
in the certificate chain.
4. On the Trust Server tab, enter the Trust Server URL, and the User name and
Password to access the Trust Server.
• Select Encrypt.
4. On the Trust Server tab, enter the Trust Server URL, and the User name and
Password to access the Trust Server.
5. On the Email tab, enter the Key name and Passphrase to access the private
key for the recipient address.
Prerequisites
Both SENDER and RECEIVER have the following resource in the default resource
set:
• TS root.cer – the Trust Server CA root certificate. This is the only certificate
in the certificate chain.
4. On the Trust Server tab, enter the Trust Server URL, and the User name and
Password to access the Trust Server.
5. On the Email tab, enter the Key name and Passphrase to access the private
key for the sender address.
• Select Sign.
4. On the Trust Server tab, enter the Trust Server URL, and the User name and
Password to access the Trust Server.
Prerequisites
Both SENDER and RECEIVER have the following resource in the default resource
set:
• TS root.cer – the Trust Server CA root certificate. This is the only certificate
in the certificate chain.
Depending on the purpose of the security configuration, you must also configure a
number of additional parameters:
• “Security configuration for an SSL server (with client authentication)”
on page 725.
• “Security configuration for an SSL server (without client authentication)”
on page 726.
• “Security configuration for an SSL client (with client authentication)”
on page 726.
• “Security configuration for an SSL client (without client authentication)”
on page 727.
Multiple clients
If the StreamServer communicates with multiple clients, you must:
• Create one security configuration per client.
• Create one HTTPS input connector per client. These connectors cannot share
the same port.
Prerequisites
• The StreamServer private key file is added to the same resource set as the
security configuration.
• The StreamServer CA root certificate is distributed to the clients.
• The certificates that verify the identity of the client are added to the same
resource set as the security configuration.
• The client certificate is added to the same resource set as the security
configuration.
2. On the Certificates tab, add all the certificate resources to include in the
certificate chain used to verify the identity of the client.
4. Select the StreamServer Private key file and enter the Password to access the
private key.
Prerequisites
• The StreamServer private key file is added to the same resource set as the
security configuration.
• The StreamServer CA root certificate is distributed to the clients.
Prerequisites
• The StreamServer private key file is added to the same resource set as the
security configuration.
• The certificates that verify the identity of the SSL server are added to the
same resource set as the security configuration.
• The StreamServer CA root certificate and client certificate are distributed to
the SSL server.
2. On the Certificates tab, add all the certificate resources to include in the
certificate chain used to verify the identity of the SSL server.
4. Select the StreamServer Private key file and enter the Password to access the
private key.
Prerequisites
The certificates that verify the identity of the SSL server are added to the same
resource set as the security configuration.
2. On the Certificates tab, add all the certificate resources to include in the
certificate chain used to verify the identity of the SSL server.
Prerequisites
• The StreamServer private key file is added to the same resource set as the
security configuration.
• The StreamServer CA root certificate is distributed to the recipients.
3. Select the StreamServer Private key file and enter the Password to access the
private key.
To enable signing
• Open the email Output Connector Settings dialog box and select Sign.
Prerequisites
• The certificates that verify the identity of the email sender are added to the
same resource set as the security configuration.
• If the email senders have different CA root certificates, you must create one
security configuration for each CA root certificate.
2. On the Certificates tab, add all the certificate resources to include in the
certificate chain used to verify the identity of the email sender.
To enable rejection
1. Open the EmailIN input Connector Settings dialog box and select Retrieve
email > Advanced.
Prerequisites
The encryption certificates for all email addresses are added to the same
resource set as the security configuration. Each certificate resource must be
renamed to <email address>.crt, for example arnold_abc.com.crt.
To enable encryption
• Open the email Output Connector Settings dialog box and select Encrypt.
To achieve this you must create a security configuration, and enable rejection of
unencrypted emails on the EmailIN input connector.
Prerequisites
• The StreamServer private key file is added to the same resource set as the
security configuration.
• The StreamServer email certificate is distributed to the senders.
3. Select the StreamServer Private key file and enter the Password to access the
private key.
1. Open the EmailIN input Connector Settings dialog box and select Retrieve
email > Advanced.
Prerequisites
1. Add a security configuration to the default resource set and rename it to SSL
SERVER.
4. On the HTTP Server tab, select Private key file > Private key.pfx and enter
the Password to access the private key.
5. Select Client authentication and select Client certificate > CLIENT public
key.crt.
1. Add a security configuration to the default resource set and rename it to SSL
CLIENT.
Prerequisites
• Both SERVER and CLIENT use SSL version SSLv3.
• SERVER has the following resource in the default resource set:
1. Add a security configuration to the default resource set and rename it to SSL
SERVER.
1. Add a security configuration to the default resource set and rename it to SSL
CLIENT.
Prerequisites
• Select Encrypt.
3. On the Email and HTTP client tab, select Private key file > Private key.p12
and enter the Password to access the private key.
Prerequisites
3. On the Email and HTTP client tab, select Private key file > Private key.p12
and enter the Password to access the private key.
• Select Sign.
Prerequisites
3. On the Email and HTTP client tab, select Private key file > Private key.p12
and enter the Password to access the private key.
4. On the Email and HTTP client tab, select Private key file > Private key.p12
and enter the Password to access the private key.
• Trust Server
All certificate information is retrieved from an XKMS (XML Key Management
Specification) compliant Trust Server. Only the root CA that verifies the identity
of the Trust Server is stored in a file. See “Trust Server settings” on page 738.
• Legacy
All digital certificates are stored locally. See “Legacy settings” on page 739.
On the Trust Server tab you specify the connection to the Trust Server.
• URL
The Trust Server URL.
• User
The user name to access the Trust Server.
• Password
The password to access the Trust Server.
Use the HTTP tab when the StreamServer must authenticate itself to SSL clients or
SSL servers. On this tab you enable access to the StreamServer private key.
• Key name
The key name assigned to the StreamServer when it was registered in the Trust
Server. The key name corresponds to a private key.
• Passphrase
The passphrase the StreamServer must use to access the private key.
Use the Email tab when the StreamServer must sign or decrypt emails. On this tab
you enable access to the StreamServer private key.
• Key name
The key name assigned to the StreamServer when it was registered in the Trust
Server. The key name corresponds to a private key.
• Passphrase
The passphrase the StreamServer must use to access the private key.
Use the HTTP Server tab when the StreamServer runs as an SSL server. On this tab
you enable access to the StreamServer private key and, if required, the client
certificate.
• Private key file
The private key file the StreamServer must use to authenticate itself. The private
key file must be included in the same resource set as the security configuration.
• Password
The password the StreamServer must use to access the private key file.
• Client Authentication
Select if this StreamServer requires client authentication.
• Client certificate
The client certificate. The StreamServer must use this certificate to verify the
identity of the client. The client certificate must be included in the same resource
set as the security configuration.
Use the Email and HTTP Client tab when the StreamServer runs as an SSL client that
must authenticate itself to the SSL server, or when it should sign or decrypt emails.
• Private key file
The private key file the StreamServer must use to authenticate itself or to decrypt
emails. The private key file must be included in the same resource set as the
security configuration.
• Password
The password the StreamServer must use to access the private key file.
By default, I/O Delegator receives input via StdIn and delivers output via StdOut.
You can use arguments in the command to specify other input and output channels
when you run I/O Delegator.
Applications\StreamServer\<version>\Server
Modes
I/O Delegator delivers the data to the StreamServer application via the Service
Request input connector. The StreamServer application processes the data and
delivers the output via the appropriate output connector. The output can be
returned in the response to I/O Delegator if this is enabled in the Design Center
Project.
The web service (WSJobSubmit) that controls the communication between I/O
Delegator and the StreamServer application is hosted by a service gateway. This
service gateway must be running in the same domain as the StreamServer
application.
If you want the StreamServer application to be able to return the output in the
response to I/O Delegator you must enable this in the Design Center Project.
2. Double-click the output connector that delivers the output. The Output
Connector Settings dialog box opens.
3. Click the General icon and select Include result in service response.
4. Click OK.
Example 52-1: Submit data from StdIn and do not wait for response
(Windows)
This command submits input data from StdIn to the service named
myService.
I/O Delegator exits without waiting for the job to complete.
Example 52-2: Submit data from file wait for response (Windows)
This command submits input data from the file in.txt to the service named
myService. I/O Delegator waits for the response and stores each received
document as a separate file in the output directory out.
1. In the Input Connector Settings dialog box for the HTTP connector (physical
layer), click Queue and then select the appropriate input Queue.
2. Switch to the generic layer and click Connector.
3. On the Connector Settings tab, enter a Job resource URI. This identifies the
resource where jobs should be sent, for example /
4. Optional If you want to run I/O Delegator with authentication, you must
-a <filename>
For a description of the arguments, see “HTTP mode arguments” on page 759 and
“Arguments applicable to all modes” on page 752.
Notes
• If you have specified HTTP authentication for the Connector, you must
specify a user name, password and realm by using the user, pwd and realm
arguments.
• If you specify the same argument more than once with different options, the
last argument specified is used.
• HTTP mode
• A reference to the file containing one or more URLs for StreamServer
• Log level 4
• Verbose level 2
• An argument (-quiet) to filter out two unwanted lines from the response
file, when delivering output via StdOut. This argument is not necessary if
you specify the output file in an argument file (using the -output
argument) instead of on the command line.
• An XML file that will be converted by StreamServer to a PDF file.
Windows command:
UNIX command:
$fileName="stdout\" + CurrInFileName()
• In the Input Connector Settings dialog box for the File output connector
(physical layer), specify a File name that exactly matches the name of the
incoming file.
-a <filename>
For a description of the arguments, see “File mode arguments” on page 762 and
“Arguments applicable to all modes” on page 752.
Note: If you specify the same argument more than once with different options,
only the last argument specified is used.
Windows command:
UNIX command:
File handling
A file that is sent to I/O Delegator for processing in StreamServer is renamed to a
unique name by I/O Delegator. This avoids different files with identical names being
sent to StreamServer simultaneously. In File mode, you can specify a prefix and a
file extension for the file to be sent to StreamServer. If you do not specify anything,
the file will be given a name that consists of the following:
• a number read from a file. By default this file is nextid.txt. You can use the -
idfile argument to specify a different file.
• a file extension which is txt
You can combine the arguments to give the file the name file349.dat. When
the output file is returned to I/O Delegator by StreamServer, the file is identified
by the file name including the prefix and file extension. The file must be created
using the same name as the input file.
52.1.4 Time-outs
You can specify the following time-out parameters:
• CTO
Connection time-out (only applicable to HTTP mode). The time to wait for a
HTTP connection to be established between I/O Delegator and StreamServer. The
default value is 30 seconds.
• ATO
Answer timeout. The time to wait for StreamServer to finish processing the job.
The default value is 300 seconds.
• FTO
File time-out (only applicable to File mode). The time to wait for the output file to
be generated by StreamServer. It is also the time to wait for the next unique
filename to be generated according to the id file, which by default is nextid.txt.
52.2.1.1 -servicerequestmode
Syntax
StrsIODelegator -servicerequestmode
Description
Specifies service request mode for I/O Delegator.
Example
52.2.1.2 -httpmode
Syntax
StrsIODelegator -httpmode
Description
Specifies HTTP mode for I/O Delegator.
Example
52.2.1.3 -filemode
Syntax
StrsIODelegator -filemode
Description
Specifies File mode for I/O Delegator.
Example
52.2.1.4 -err
Syntax
-err <errorcode>
Description
Displays information about an error code. See “Error codes on StdErr”
on page 765. You will be able to see this error code on StdErr if -verbose 1 is
used. See “-verbose” on page 753.
Example
52.2.2.1 -a
Syntax
-a <filename>
Description
Specifies a text file that contains arguments for I/O Delegator.
Comment
Optional. Enter only one argument per row in the file.
Example
-a argumentfile.arg
-urlf ./urlfile.txt
-ll 2
-verbose 2
52.2.2.2 -td
Syntax
-td <temp_dir_path>
Description
Specifies the path to the temp directory.
Comment
Optional. The default value is “.”.
Example
-td ./tempdir
52.2.2.3 -verbose
Syntax
-verbose <option>
Description
Activates the output of error information to StdErr. The options are:
• 0 - deactivated
• 1 - An error code is sent to StdErr. The client application can interpret and
take actions based on this error code.
• 2 - As option 1 but an error message text is also displayed.
Comment
Optional. The default value is 0, but if you specify
-verbose without option, the default option is 1.
Example
-verbose 2
52.2.2.4 -log
Syntax
-log <logfile>
Description
Specifies a log file name.
Comment
Optional. The default value is iod_log.txt.
Example
-log mylog.txt
52.2.2.5 -ll
Syntax
-ll <loglevel>
Description
Specifies the log level (0-4). A higher value gives more information.
Comment
Optional
Example
-ll 4
52.2.2.6 -ato
Syntax
-ato <time-out>
Description
Specifies the number of seconds to wait for the StreamServer application to
finish processing the job. See “File handling” on page 749.
Comment
Optional. The default value is 300, and the maximum value is 2000000. For
HTTP mode, you must set the Response time-out on the HTTP connector
accordingly to make sure that the -ato value will be correct.
Example
-ato 500
52.2.3.1 -url
Syntax
-url <host:port>
Description
The URL to the service gateway hosting the service to invoke.
Comment
Mandatory argument.
Example
-url http://localhost:2718
52.2.3.2 -servicename
Syntax
-servicename <name>
Description
The name of the service to invoke.
Comment
Mandatory argument.
Example
-servicename myService
52.2.3.3 -serviceversion
Syntax
-serviceversion <version_number>
Description
The version of the service to invoke.
Comment
Optional argument. If you do not specify a version, the latest version of the
service will be used.
Example
-serviceversion 2
52.2.3.4 -submittype
Syntax
-submittype <type>
Description
The type of service. Can be one of the following:
• FireAndForget – I/O Delegator does not wait for any response. It exits after
the request is sent, and delivers no output.
• FireAndWaitNoResult – I/O Delegator waits for a response before it exits.
No output is delivered.
• FireAndWaitResult – I/O Delegator waits for a response before it exits.
Output is delivered via StdOut or to a path specified by the “-outputdir ”
on page 758 or “-output ” on page 757 argument.
Comment
Optional argument. Default is FireAndWaitResult.
Example
-submittype FireAndForget
52.2.3.5 -sslversion
Syntax
-sslversion <version>
Description
SSL version. Used if SSL communication is configured for the service gateway
(https://<host:port> in -url argument). Can be one of the following:
• sslv3
• tlsv1
Comment
Optional argument. Default is sslv3.
Example
-sslversion tlsv1
52.2.3.6 -sslauthentication
Syntax
-sslauthentication <type>
Description
SSL authentication type. Used if SSL communication is configured for the
service gateway (https://<host:port> in -url argument). Can be one of the
following:
• mandatory
• optional
• anonymous
Comment
Optional argument. Default is mandatory.
Example
-sslauthentication anonymous
52.2.3.7 -input
Syntax
-input <path>
Description
Redirects the input from StdIn to the file specified in <path>.
Comment
Optional argument. The path is either an absolute path or a path relative to the
directory where strsIoDelegator.exe is located.
Example
-input in.txt
52.2.3.8 -output
Syntax
-output <path>
Description
Redirects the output from StdOut to the file specified in <path>.
Comments
Optional argument. The path is either an absolute path or a path relative to the
directory where strsIoDelegator.exe is located.
If -submittype FireAndWaitResult and -outputdir is included in the
command, -output is ignored (i.e. -outputdir overrides -output).
Example
-output out.txt
52.2.3.9 -outputdir
Syntax
-outputdir <path>
Description
Redirects the output from StdOut to the directory specified in <path>. All
documents received in the response are stored as separate files in this directory,
and no data is sent to StdOut.
Comments
Optional argument. Applicable only if -submittype is FireAndWaitResult.
The path is either an absolute path or a path relative to the directory where
strsIoDelegator.exe is located.
Example
-outputdir out
52.2.3.10 -var
Syntax
-var <name>=<value>
Description
Specifies variables as name-value pairs. These values are sent to the
StreamServer application as HTTP header values.
Comment
Optional. To fetch the value of the variable, use the GetHttpHeaderValue script
function:
$servervariable=GetHttpHeaderValue("<name>");
It is recommended that you fetch the variable before the first Event.
Example
-var lang=eng
$language=GetHttpHeaderValue("lang");
52.2.4.1 -url
Syntax
-url <url>
Description
Specifies the URL of the HTTP input Connector.
Comment
Optional. The default value is:
http://127.0.0.1/iodelegator
Example
-url http://localhost:8192/iodelegator
52.2.4.2 -urlf
Syntax
-urlf <filename>
Description
Specifies a file containing one or more URLs. Enter only one URL per row in the
file.
Comment
Optional.
Example
-urlf myurlfile.txt
52.2.4.3 -user
Syntax
-user <username>
Description
Specifies the user name for logging on to the StreamServer application.
Comment
Optional. Must be used together with the pwd and realm arguments if you have
specified Basic authentication for the connector.
Example
-user billy
52.2.4.4 -pwd
Syntax
-pwd <password>
Description
Specifies a password for logging on to the StreamServer application.
Comment
Optional. Must be used together with the pwd and realm arguments if you have
specified basic authentication for the connector.
Example
-pwd mypassword
52.2.4.5 -realm
Syntax
-realm <realm>
Description
Specifies the realm set up in the StreamServer application.
Comment
Optional. Must be used together with the pwd and realm arguments if you have
specified basic authentication for the connector.
Example
-realm StreamServeUsers
52.2.4.6 -cto
Syntax
-cto <time-out>
Description
Specifies the number of seconds to wait for the connection to the HTTP input
Connector to be established at startup. See “File handling” on page 749.
Comment
Optional. The default value is 30 seconds.
Example
-cto 5
52.2.4.7 -input
Syntax
-input <filename>
Description
Specifies a file to use instead of StdIn (<)
Comment
Optional. The input argument must be used instead of StdIn if you want to
specify the input file in an argument file instead of on the command line.
Example
-input myinputfile
52.2.4.8 -output
Syntax
-output <filename>
Description
Specifies a file to use instead of StdOut.
Comment
Optional. The output argument must be used instead of StdOut if you want to
specify the output file in an argument file instead of on the command line.
Example
-output myoutputfile
52.2.4.9 -var
Syntax
-var <name>=<value>
Description
Specifies a variable and its value. These values will be sent to the StreamServer
application as HTTP header values.
Comment
Optional.
To fetch the value of the variable, use the following scripting command:
$servervariable =gethttpheadervalue("valuename");
It is recommended that you fetch the variable before the first Event.
Example
-var lang=eng
$language=gethttpheadervalue("lang");
52.2.5.1 -fto
Syntax
-fto <time-out>
Description
Specifies the time-out in number of seconds to wait for file access. See “File
handling” on page 749.
Comment
Optional. The default value is 30 seconds.
Example
-fto 50
52.2.5.2 -sid
Syntax
-sid <directory>
Description
Specifies the server input directory.
Comment
Required.
Example
-sid .\spool
52.2.5.3 -sod
Syntax
-sod <directory>
Description
Specifies the server output directory.
Comment
Required.
Example
-sod .\out
52.2.5.4 -pre
Syntax
-pre <prefix>
Description
Specifies a prefix to use for the name of the file that will be sent to the
StreamServer application. See “File handling” on page 749.
Comment
Optional
Example
-pre file
52.2.5.5 -post
Syntax
-post <postfix>
Description
Specifies a file extension to use for the name of the file to send to the
StreamServer application. See “File handling” on page 749.
Comment
Optional
Example
-post .dat
52.2.5.6 -efpost
Syntax
-efpost <errorfile_postfix>
Description
Activates checking for a file that indicates errors. See “File handling”
on page 749.
Comment
Optional.
Example
-efpost .err
52.2.5.7 -idfile
Syntax
-idfile <filename>
Description
Specifies the name of the file that contains the next id to use for the output file.
See “File handling” on page 749.
Comment
Optional. The default value is nextid.txt.
Example
-idfile mynextidfile.txt
You can use the -err <error_code> argument to get information about the error
code. See “Arguments applicable to all modes” on page 752.
Tip: If you run I/O Delegator with verbose value 2, you will get the
information text directly on StdErr. See “-verbose” on page 753.
This means that you can print overlays from external Windows applications to a
printer that is configured to use Print Processor, and deliver the resulting overlays to
Communications Center in a format that StreamServer can work with.
When an EMF spool file is sent to StreamServer, the EMF to LXF filter can be used to
convert the file to LXF format on the server side.
Requirements
The LXF Writer printer for Print Processor requires the following settings:
• Shared for use with other users.
• Printing starts after the last page is spooled.
• StrsPrint is selected as Print Processor.
• The default data type for StrsPrint print processor is EMF. If you need to, you
can change the data type to RAW.
1. Start Print Processor configuration utility (All Programs > OpenText >
OpenText Communications Center Utilities > LXF Writer Configuration). The
Communications Center Print Processor dialog box opens.
2. Specify the Print Processor properties and then click OK.
When converting the EMF print spool files, Print Processor converts all path
curves to polygons.
If not selected, Print Processor converts all path curves to path objects.
Note: The labels have to be in the exact same vertical position and use the
same font.
• Use glyph indices
If the printing application renders text as glyphs, this enables the glyph indices
from the metafile to be stored in the LXF. This avoids the need for converting
into Unicode which may not be possible e.g. for Arabic or Indic texts. This can
also increase performance, however the text will not be editable or possible to
copy/paste.
• Output log file
The filename and directory of a separate log file Print Processor creates when
converting the print spool file to LXF format.
• Run command
Print Processor runs additional post-processing tasks after the output file is
created. The tasks are specified in following text boxes.
• Command
The command Print Processor runs after creating the output file.
• Parameters
The parameters for the previously specified command. Use %1 for the current
output filename.
• Use shell association for output file type
After creating the output file, Print Processor automatically launches the
associated application (if specified) and opens the output file created.
• Send to server
Print Processor sends the output file to the specified HTTP server.
• Server
The name of the HTTP server that Print Processor sends the output file to.
• Port
The port number for the receiving HTTP server. For example: 9999
• Timeout
The timeout when sending a job using HTTP. The default is 5000.
• Bypass file without ESC sequence
Sends files that do not contain printer commands starting with the specified
sequence directly to the printer.
• Log system errors to file
The file name and directory of the system log file for Print Processor. This log file
should only be used if there is a problem with Print Processor.
Leave this field empty to disable the log.
This example shows how you can configure Print Processor to produce a
local LXF file that contains a multi-page document, which you can use as
input for PreformatIN, or to import to StoryTeller.
By editing this file, you can specify for every font to either:
• Substitute the font with the best matching font that Print Processor recognizes.
• Rasterize the text. (This means the text will be bitmapped and not scalable).
If you do not have access to a Font settings file, typically the first time you specify
font settings, click Use font list which lists the available fonts in the \WINDOWS\
Fonts folder.
• When you have specified the substitution options for fonts, you must save the
settings in a file, by specifying a path to the file and clicking Save.
2. Check Use font list to display the fonts in the loaded file.
3. Click Add.
2. Check Use font list to display the fonts in the loaded file.
3. Click Edit.
Enable (1) or disable (0) the filter to convert print spool files to LXF format.
Default value is 1.
• LXF plain
Enable (1) or disable (0) the filter to create plain multi-page LXF output (with no
control tags) when converting the print spool files.
• LXF exact
Enable (1) or disable (0) the filter to include exact text positioning when
converting the print spool files.
• LXF empty tags
Enable (1) or disable (0) the filter to not include control tags in the LXF output
when converting the print spool files.
• LXF paths
Enable (1) or disable (0) the filter to convert all path curves to polygons when
converting the print spool files. If disabled, the filter will convert all path curves
to path objects. Default value is 0.
• Bypass
Enable (1) or disable (0) bypassing the print job to the printer when the print job
does not contain any embedded codes.
• EC Separator
Sequence used to detect embedded codes in print spool file.
StreamServer sends the data to be previewed to the external viewer via TCP/IP, and
the output is displayed on screen in the associated viewer. The connection between
StreamServer and Previewer is established on a per-machine basis, not per user.
Requirements
If you run Previewer on a separate machine, you must make sure it can be
accessed over the network. Note that you cannot run Previewer in a Terminal
Server or Citrix environment.
You must have the appropriate external viewer installed, for example Adobe
Acrobat reader to preview PDF files. If Previewer cannot recognize the file
format, it will treat the file as if it was ASCII text. For information on how to
associate file types with applications, see the Windows documentation.
Supported formats and viewers
The following formats and viewers are supported:
• PDF - Adobe Acrobat Reader
• PCL5 - PCL viewer
• PS - Ghostview
• TIFF - Image
• DCX - Image
• TXT - Windows Notepad
Configuring Previewer
The Previewer configuration tool PreviewCFG.exe is located in:
<installation_dir>\Applications\StreamServer\<Version>\Server
HKEY_LOCAL_MACHINE\SOFTWARE\StreamServe\PreviewServer
To configure Previewer
Starting Previewer
The Previewer executable PreviewServer.exe is by default located in:
<installation_dir>\Applications\StreamServer\<Version>\Server
To start Previewer
The Previewer icon is added to the Windows tray menu. You can use the tray
menu to start and stop the server.