Understanding the properties file for setting defaults

The LexmarkImagingToolkit.properties file stores the configuration settings for Imaging Toolkit. This file must be located in the Conf subdirectory where mfpsb.dll is stored. If Imaging Toolkit cannot find the LexmarkImagingToolkit.properties file, then it automatically uses the default settings. Application properties are set using the following keys:

Note: Key values are case-sensitive.

Key

Default value

Description

BRIGHTNESS1 or darkness2

4

The default setting used for scan jobs when MFPSB_SetScanSetting() is not called for BRIGHTNESS.

Adjust the darkness on the scanned image by specifying BRIGHTNESS+1.

COMPRESSION

JPEG

The default setting used for scan jobs when MFPSB_SetScanSetting() is not called for COMPRESSION.

CONTRAST

MIXED

The default setting used for scan jobs when MFPSB_SetScanSetting() is not called for CONTRAST.

DEPTH1 or imageComposition2

8

The default setting used for scan jobs when MFPSB_SetScanSetting() is not called for DEPTH.

DUPLEX1 or scanDuplex2

SINGLE

The default setting used for scan jobs when MFPSB_SetScanSetting() is not called for DUPLEX.

JOBBUILD

FALSE

The default setting used for scan jobs when MFPSB_SetScanSetting() is not called for JOBBUILD.

LINEARXFER

FALSE

The default setting used for scan jobs when MFPSB_SetScanSetting() is not called for LINEARXFER.

ORIENTATION

PORTRAIT

The default setting used for scan jobs when MFPSB_SetScanSetting() is not called for ORIENTATION.

RESOLUTION

150

The default setting used for scan jobs when MFPSB_SetScanSetting() is not called for RESOLUTION.

SCANPREVIEW

FALSE

The default setting used for scan jobs when MFPSB_SetScanSetting() is not called for SCANPREVIEW.

SHORTCUT1 or shortcutId2

0

The default setting used when a shortcut is not specified.

SIZE1 or mediaSize2

LETTER

The default setting used for scan jobs when MFPSB_SetScanSetting() is not called for SIZE.

TYPE1 or fileFormat2

JPEG

The default setting used for scan jobs when MFPSB_SetScanSetting() is not called for TYPE.


Registry setting

Default value

Description

DefaultPort

9750

The default port used to communicate to a printer.

FirstAvailableShortcut

TRUE

If this setting is set to TRUE, then Imaging Toolkit creates a profile with the next available shortcut on the printer.

MaxShortcut

16535

An integer representing the largest number assigned as a profile shortcut.

MinShortcut

1

An integer representing the smallest number assigned as a profile shortcut.

NumConsecutiveRetryPorts

10

If SinglePort is set to FALSE, then this setting is the number of attempts to resend data when the default port is busy.

SinglePort

FALSE

If this setting is set to TRUE, then all uploaded scan profiles use the port number specified in DefaultPort.

If this setting is set to FALSE, then each profile uses a different port.