Skip to main content

KTM page license decremented

Article # 3037874 - Page views: 5


KTM page license decremented



Generally, anytime any KTM operation is performed on a page.
Separation, classification, extraction or any other action that KTM does over the image causes that KTM page license is taken.



To have document that does not decrement the license at all you need to:

1. have the document separated outside KTM - separation makes all pages in a batch compare against set, so license is taken for all pages in the batch)

2. have specified default class with no field and no locator - classification need to compare page/text against trainig set so the license is taken for pages that were used for classification (first page/all pages); if class there is a field or locator in the class present, KTM page license is taken because of extraction and data manipulation process

3. such empty class should not perform OCR (as this is done on demand), to be sure, use the suppress OCR by using SuppressOCR property on CDoc.Pages collection - OCR performed on document also takes KTM page license

The code to use is:

Private Sub Document_BeforeProcessXDoc(pXDoc As CASCADELib.CscXDocument)
Dim index As Long

For index = 1 To pXDoc.CDoc.Pages.Count-1
pXDoc.CDoc.Pages(index).SuppressOCR = True
Next index

To redirect the document that needs to be processed out of this empty class, you can use script method Reclassify() to reclassify the document into class with extraction setup.:


Level of Complexity 



Applies to  

Product Version Build Environment Hardware
Kofax Transformation All N/A N/A N/A




  • Was this article helpful?