Skip to main content
Kofax

Save Last Used Imprinter Counter Value to a KTA 7.4 or 7.5 Global Variable

3020979
3020979

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 5.1.1.1 (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:

  1. In Form Designer, open the Scan Create New Job form

  2. Click anywhere outside the form to switch to the Form Properties

  3. Click the Actions button

  4. Click the + to add a new action

  5. In the Type field, select Same Page. 

  6. Name the action GetImprinterString

  7. 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.

  8. In the Source/Value field, click the Form Field button, drill down to the ScanControl form fields, drag the ScanControl.ImprinterString form field into the Source/Value field, and click the + to save this new action.

  9. Click OK and note that the GetImprinterString action appears in the list.

  10. Click on the Designer button to return to the form

  11. Click the Scan Control.

  12. Click the Gear to open the Scan Control's Extended Properties and select the Events tab

  13. Click the Actions button next to the OnScanComplete Event Type.

  14. Drag the GetImprinterString action into the OnScanComplete box.

  15. Release the form.

 

Applies to:  

Product Version
KTA 7.4
  7.5