*** Archive *** Imprinter Settings Configuration in KTA 7.5
Question / Problem:
How to configure the Imprinter Settings in a KTA 7.5 Scan Create New Job Form. Note: You need to be at least KTA 7.5.0.16 if you require the Imprinter Counter value to function.
Answer / Solution:
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.
Example Scan Form:
An example Scan form with the imprinting configuration (requires KTA 7.5.0.16 or above) can be found here: Download
To configure the Imprinter Settings in a Scan Create New Job Form:
-
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
+
to add a new action -
In the Type field, select
Same Page
-
Name the action
SetImprinterString
-
In the Target field, click the Form Field button, drill down to the ScanControl form fields and drag the
ScanControl.ImprinterString
form field to the Target field. -
Type the desired imprinter string into the Source/Value field and click the
+
to add the setting to the Action. -
Drag the
ScanControl.ImprinterIndexDigits
form field into the Target field. -
Set the Source/Value to the number of counter digits to imprint and click
+
to add the setting to the Action. -
Drag the
ScanControl.ImprinterIndexStep
form field into the Target field. -
Set the Source/Value to
1
to increment the counter value by 1 per page and click+
to add the setting to the Action. -
Drag the
ScanControl.ImprinterIndex
form field into the Target field. -
Manually enter the counter start value into the Source/Value field, or drag a Process Variable, Global Variable, or Form Field where the starting Counter value is stored into the Source/Value field. Click
+
to add the setting to the Action.Steps 15-22 invovle Imprinter settings that were added in KTA 7.5.0.5. If KTA 7.5.0.4 or lower is installed, skip to step 23
-
Drag the
ScanControl.ImprinterRotation
form field (KTA 7.5.0.5 or higher) into the Target field. -
Set the Source/Value to
0
,90
,180
, or270
to tell the scanner which rotation to imprint each character on the page. Click+
to add the setting to the Action. -
Drag the
ScanControl.ImprinterUnits
form field (KTA 7.5.0.5 or higher) into the Target field and set the Source/Value to0
(for inches),1
(for centimeters),2
(for picas),3
(for points),4
(for twips),5
f(or pixels), or6
(for millimeters). -
Click
+
to add the setting to the Action. -
Drag the
ScanControl.ImprinterVerticalOffset
form field (KTA 7.5.0.5 or higher) into the Target field. Set the Source/Value to the number of units from the leading edge of the page to start imprinting. -
Click
+
to add the setting to the Action. -
Drag the
ScanControl.ImprinterFontStyle
form field (KTA 7.5.0.5 or higher) into the Target field and set the Source/Value to1
(for normal),8
(for large size), or16
(for small size). Add 2 (for bold) or 4 (for italic) to the size value to combine these settings if the TWAIN driver supports it. -
Click
+
to add the setting to the Action. -
Click OK and note that the
SetImprinterString
action appears in the list. -
Click the Designer button to return to the form
-
Click the Gear icon to open the form's Extended Properties and select the Events tab
-
Click the Actions button next to the
OnScanFormLoaded
Event Type. -
Drag the
SetImprinterString
action into theOnScanFormLoaded
box. -
Release the form.
Applies to:
Product | Version |
---|---|
KTA | 7.5 |