Start of changeIBM Content Navigator, Version 2.0.3     Supports:  OnDemand

Configuring the Line2PDF conversion viewer (IBM Content Manager OnDemand)

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

Procedure

To configure the Line2PDF conversion viewer:

  1. Create and configure the transform.xml file.
    1. Specify custom transform settings under the TransformName element in the transform file. Use the name format line2pdf-application group name-application name.
    2. 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.
  2. Open the IBM Content Navigator administration tool in the web client.
  3. Specify the location of the transform file for each IBM Content Manager OnDemand repository that you want to use the Line2PDF conversion viewer:
    1. 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.
    2. Click Save.
  4. In the Viewer Maps tab, create a new viewer map and specify the Line2PDF conversion viewer for IBM Content Manager OnDemand line data.
  5. Associate the Line2PDF conversion viewer to the IBM Content Navigator desktop.
  6. 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.
End of change