Question / Problem:
How to retrieve the Imprinter Counter value from the last image scanned and store it in a KTA 7.4 or 7.5 Global Variable for use in seeding the Starting Imprinter Counter value for the next scan.
Answer / Solution:
The default behavior in KTA when scanning using a Scan Create New Job form is that the scanner's imprinter counter will reset each time the scan source is loaded. However, functionality was added in Kofax TotalAgility (KTA) 7.4 that allows the scan form to retrieve the Imprinter Counter value from the last image scanned. This value can be saved to a Global Variable for use in seeding the starting Imprinter Counter value the next time the scan source is loaded.
If using the Kofax Software VRS - TWAIN scan source, Kofax VRS 126.96.36.199 (Service Pack 1, Fix Pack 1) or higher must be installed on the scan station so that VRS can pass the Imprinter Counter value between the scanner and KTA.
The scanner must have a functioning Imprinter installed (complete with ink cartridge) for this functionality to work.
To save the Last Used Imprinter Counter value to a Global Variable in KTA 7.4 or 7.5:
In Form Designer, open the Scan Create New Job form
Click anywhere outside the form to switch to the Form Properties
Click the Actions button
Click the + to add a new action
In the Type field, select Same Page.
Name the action
In the Target field, click the Global Variable button, select the target variable from the menu, and drag the target Global Variable to the Target field.
In the Source/Value field, click the Form Field button, drill down to the ScanControl form fields, drag the
ScanControl.ImprinterStringform field into the Source/Value field, and click the
+to save this new action.
Click OK and note that the
GetImprinterStringaction appears in the list.
Click on the Designer button to return to the form
Click the Scan Control.
Click the Gear to open the Scan Control's Extended Properties and select the Events tab
Click the Actions button next to the
GetImprinterStringaction into the
Release the form.