Skip to main content
Kofax

DocToPDF (Amyuni) produces PDF files with non-working hyperlinks

Article # 3035747 - Page views: 10

Article # 3035747 - Page views: 10

Issue

DocToPDF with Processor Amyuni is used for producing PDF documents. Amyuni is the default converter used for the DocToPDF command in KCM Core Scripting. While the Word document contains interactive elements, the result PDF document does not contain interactive elements such as:

  • working hyperlinks
  • clickable links in the Table of Contents
  • clickable bookmarks
  • et cetera

 

Cause

Amyuni PDF convertor is a PDF printer driver.  Amyuni is the default converter used for the DocToPDF command in KCM Core Scripting. This is also the default converter used by the standard KCM API interfaces such as ComposePDFV1 or ComposePDFInteractiveStartV1. With Amyuni, the PDF is produced as how it would be printed on paper. It is a printer driver. When using Amyuni all Interactive features (like hyperlinks) are lost. Just like when you print on paper.

Note that every modern PDF reader will automatically convert full written hyperlinks (e.g. http://www.kofax.com) to clickable hyperlinks. Even though the PDF document contains no hyperlinks, it will appear that the document contains hyperlinks.

 

Solution

For producing PDF documents with interactive features such as hyperlinks there are two options:
1). Use Rendition as PDF processor. For the DocToPDF command, provide the additional parameter Processor("Rendition"). For example:

DocToPDF
  Src(..)
  Dest(..)
  Processor("Rendition");

 2). Use the Microsoft Word PDF export filter. The Core Scripting command is ExportDocToPDF. This command requires Word 2007 or higher. From Word 2007, Word contains a PDF convertor.

ExportDocToPDF
  Src(..)
  Dest(..)
   OptimiseForPrint(True);
Changing the default convertor for the standard KCM interfaces

For the standard interfaces of the contract manager (e.g ComposePDFV1 of CCMInteractiveV1), the exit point ContractDocToPDF.dss is used for DOCX to PDF conversion. The location is:
    "..\KCM\Work\<version>\Instance_<number>\core\Scripts\User Library\ContractDocToPDF.dss".
This exit point can be modified to change the PDF convertor used for the standard interfaces.

 

Level of Complexity 

Moderate

 

Applies to  

Product Version Build Environment Hardware
Kofax Communications Manager All versions n/a n/a n/a