You can use the Line2PDF conversion viewer as an alternative
to the Line Data applet viewer to view your line data documents. To
use the Line2PDF conversion viewer, you must install the Line2PDF
conversion tool on the IBM® Content
Navigator server
and configure the web client.
Before you begin
- With IBM Content
Manager OnDemand Version 8.5, ODWEK Version 8.5.0.9 or later is required. With IBM Content
Manager OnDemand Version 9.0, ODWEK Version
9.0.0.3 or later is required.
- The Line2PDF conversion tool must be installed on the IBM Content
Navigator server before you can
configure the web client to support the Line2PDF conversion viewer.
If the Line2PDF conversion tool is not installed, contact your IBM representative for information
about obtaining and installing the Line2PDF conversion tool.
Procedure
To configure the Line2PDF conversion viewer:
- Create and configure the transform.xml file.
- Specify custom transform settings under the TransformName element
in the transform file. Use the name format line2pdf-application
group name-application name.
- Specify default transform settings under another TransformName element
in the transform file. Use the name format line2pdf-default.
Example transform.xml file with application group name testAG and
application name testAPP on a Windows
system:<?xml version="1.0" encoding="utf-8"?>
<Transforms>
<transform>
<TransformName>line2pdf-testAG-testAPP</TransformName>
<TransformDescription>Line2PDF transform for application group
testAG and application testAPP</TransformDescription>
<OutputMimeType>application/pdf</OutputMimeType>
<OutputExtension>pdf</OutputExtension>
<ODFileType>L</ODFileType>
<CmdParms>
<RECORDLENGTH>-lm</RECORDLENGTH>
<CODEPAGE>-a</CODEPAGE>
<OUTPUTFILE>-o</OUTPUTFILE>
</CmdParms>
<CmdLineExe>C:\\Program Files\\IBM\\AFP2Web\\line2pdf_V302CM_
Win32\\line2pdf.exe</CmdLineExe>
<OperationName>Line2PDF</OperationName>
<Passthru>
<cmdlineparm> -ip "C:\\Program Files\\IBM\\AFP2Web\\line2pdf_
V302CM_Win32" -r -x 2 -w 800</cmdlineparm>
</Passthru>
</transform>
<transform>
<TransformName>line2pdf-default</TransformName>
<TransformDescription>Default Line2PDF transform</
TransformDescription>
<OutputMimeType>application/pdf</OutputMimeType>
<OutputExtension>pdf</OutputExtension>
<ODFileType>L</ODFileType>
<CmdParms>
<RECORDLENGTH>-lm</RECORDLENGTH>
<CODEPAGE>-a</CODEPAGE>
<OUTPUTFILE>-o</OUTPUTFILE>
<AG_NAME>-ag</AG_NAME>
<APPL_NAME>-an</APPL_NAME>
</CmdParms>
<CmdLineExe>C:\\Program Files\\IBM\\AFP2Web\\
line2pdf_V302CM_Win32\\line2pdf.exe</CmdLineExe>
<OperationName>Line2PDF</OperationName>
<Passthru>
<cmdlineparm> -ip "C:\\Program Files\\IBM\\AFP2Web\\
line2pdf_V302CM_Win32" -af "C:\\Program Files\\IBM\\AFP2Web\\
line2pdf_V302CM_Win32\\line2pdf.ini" -r -x 2</cmdlineparm>
</Passthru>
</transform>
</Transforms>
Ensure that you follow
the naming conventions so that the plug-in finds the appropriate settings.
When you open and view a line data document, the plug-in uses the
custom settings or default settings, depending on naming conventions
that you used in the transform file. If no custom or default settings
are found in the transform.xml file, the plug-in
returns an error.
- Open the IBM Content
Navigator administration
tool in the web client.
- Specify the location of the transform file for each IBM Content
Manager OnDemand repository that you want
to use the Line2PDF conversion viewer:
- In the IBM Content
Manager OnDemand repository Configuration
Parameters tab in the Custom transform file field,
enter the full path and file name of your transform file.
- Click Save.
- In the Viewer Maps tab, create a new viewer map and specify the Line2PDF
conversion viewer for IBM Content
Manager OnDemand line data.
- Associate the Line2PDF conversion viewer to the IBM Content
Navigator desktop.
- Ensure the InfoPrint Line2PDF transform is installed on
the IBM Content
Navigator server.
Results
You can retrieve a line data document as PDF from the
IBM Content
Manager OnDemand repository by right-clicking
the document and opening it.