2021.1

Table Of Contents
have a PCL Input license.
Calling LincPDFC via an external program
To set advanced conversion parameters, the PCL input file has to pass through an additional
Workflow process before entering the process in which the data mapping takes place. The
extra Workflow process should call the LincPDF command line module LincPDFC via the
External Program plugin with the desired advanced conversion parameters. To create such a
Workflow process:
1. Add a local variable to your process and name it lincPDFOptions.
2. Add another local variable named workingDir and give it a default Windows path (for
example: C:\PCL2PDF\).
3. Add a plugin to capture the PCL File. You may use any input plugin that imports the PCL
file into the process, such as Folder Capture, LPD Input, etc.
4. Using the Change Emulation plugin, change the Emulation to ASCII. This type of
emulation allows to set the number of lines per page, remove or add lines or even remove
some HP PCL escape sequences if necessary.
5. As the number of options you pass to LincPDFC may be high, it is recommended to
assign all the desired options to the local variable lincPDFOptions. To do that you can
use either the Set Job Infos and Variables plugin or a Run Script Action plugin, for
example with the following JavaScript:
Watch.SetVariable("lincPDFOptions","-z:1 -*e -*f -u3 -s -
pXOff:-0.155 -pYOff:0.15 -dAuthor:\"OL Connect\" -dTitle:\"" +
Watch.ExpandString("%O") + "\"");
This example sets the following options or parameters:
Page 215