Imprinter Settings Configuration in KTA 7.6 and higher
Article # 3038050 - Page views: 135
Issue
How to configure a KTA 7.6 or higher Scan Form to control the scanner's Imprinter Settings
Cause
KTA can be configured to control the scanner's Imprinter settings. This can be useful for storing the last-used Imprinter Counter value and using that value to seed the starting Imprinter Counter value in the next scanning session.
Solution
Video Demonstration of KTA Imprinter Settings Configuration
An example KTA Scan form with imprinting enabled can be downloaded from here.
To configure the Imprinter Settings in KTA:
- In the KTA Designer, select Forms from the User Interface menu
- Click the Scan Form link to open the Scan Form in the Form Designer
- Select the Actions tab
- Click New to create a new action
- In the Type field, select Same Page.
- Name the action
SetImprinterString
- Click + to add a Target / Source/Value pair
- In the Target field dropdown, in the Form Field tab, expand ScanControl and select
ScanControl.ImprinterString
- Use the Edit icon to manually type the desired imprinter string into the Source/Value field or use the dropdown menu to select a Form Variable or Global Variable whose value will populate the field.
- Click Add
- Click
+
to add a Target / Source/Value pair
- In the Target field dropdown, Form Field tab, expand ScanControl and select
ScanControl.ImprinterIndexDigits
- Use the Edit icon to manually enter the number of counter digits to imprint into the Source/Value field and click Add.
- Click
+
to add a Target / Source/Value pair
- In the Target field dropdown, Form Field tab, expand ScanControl and select
ScanControl.ImprinterIndexStep
- Use the Edit icon to manually enter
1
into the Source/Value field and click Add. (this will increment the counter every 1 page)
- Click
+
to add a Target / Source/Value pair
- In the Target field dropdown, in the Form Field tab, expand ScanControl and select
ScanControl.ImprinterIndex
- Use the Edit icon to manually enter the counter start value into the Source/Value field, or use the dropdown menu to select a Form Variable or Global Variable whose value will populate the field.
- Click Add
- Click
+
to add a Target / Source/Value pair
- In the Target field dropdown, in the Form Field tab, expand ScanControl and select
ScanControl.ImprinterRotation
- Use the Edit icon to enter
0
,90
,180
, or270
into the Source/Value field and click Add. (This tells the scanner which rotation to use when imprinting each character on the page)
- Click
+
to add a Target / Source/Value pair
- In the Target field dropdown, in the Form Field tab, expand ScanControl and select
ScanControl.ImprinterUnits
- Use the Edit icon to manually enter
0
(for inches),1
(for centimeters),2
(for picas),3
(for points),4
(for twips),5
(for pixels), or6
(for millimeters) into the Source/Value field and click Add.
- Click
+
to add a Target / Source/Value pair
- In the Target field dropdown, in the Form Field tab, expand ScanControl and select
ScanControl.ImprinterVerticalOffset
- Use the Edit icon to manually enter the number of units from the leading edge of the page to start imprinting into the Source/Value field and click Add.
- Click
+
to add a Target / Source/Value pair
- In the Target field dropdown, in the Form Field tab, expand ScanControl and select
ScanControl.ImprinterFontStyle
- Use the Edit icon to manually enter
1
(for normal),8
(for large size), or16
(for small size) into the Source/Value field and click Add. Add2
(for bold) or4
(for italic) to the size value to combine these settings if the TWAIN driver supports it.
- Click Add to save the newly created
SetImprinterString
action to the Actions list.
- Click on the Design tab to return to the form
- Click the Lightning icon to the right of the form to open the Initialization and Events tab
- Click the
Scan form loaded
event
- Click Add
- Select the
SetImprinterString
action and click Done
- Click Save
- Release the Form
Level of Complexity
Moderate
Applies to
Product | Version | Build | Environment | Hardware |
---|---|---|---|---|
Kofax TotalAgility | 7.10 7.9 7.8 7.7 7.6 |
ALL | ALL | N/A |
References
- Video Demonstration of KTA Imprinter Settings Configuration
- Example KTA Scan form with imprinting enabled