Changing the Imaging Toolkit properties

The config.properties file stores the configuration settings for the Imaging Toolkit, and must be located in the same directory as LexImgTk-x.x.jar. If the Imaging Toolkit does not find the config.properties file, then it uses the default settings. The application properties are set using the following keys:

Note: Key values are case-sensitive.

Key

Description

Default value

FirstAvailableShortcut

If set to true, then the Imaging Toolkit creates a profile with the next available shortcut on the device. For more information, see the shortcut properties for Scan settings.

true

MinShortcut

The minimum shortcut number. For more information, see the shortcut properties for Scan settings.

1

MaxShortcut

The maximum shortcut number. For more information, see the shortcut properties for Scan settings.

16535

DefaultPort

The listener port used by the Imaging Toolkit.

9750

ActivateUnreachableProfile

If set to true, then the Imaging Toolkit removes and resends the uploaded profile.

false

NumConsecutiveRetryPorts

If SinglePort is set to false, then this key value is the number of times to attempt to resend data when the default port is busy.

10

SinglePort

If set to false, then each profile uses a different port.

If set to true, then all uploaded profiles use the port number specified in DefaultPort. Only one instance of the Imaging Toolkit runs in this specific port.

false

Cluster

To use the Imaging Toolkit in a cluster environment, set to true.

false

ClusterAddress

The IP address of the cluster.

No default value

ApplyDatabase

If you are using the Imaging Toolkit with a database, then set to true.

false

DataHost

The IP address or host name of the machine where the database is located.

localhost

DataPort

Use this key to change the port for the Firebird database service. This field is optional.

3050

DataSourcePath

The absolute path of the database location.

C:/Program Files/Lexmark/database/LITJar.FDB