Driver Options

Driver Options

General

Some features of the driver can be controlled by setting driver options. Each option is represented by a single bit, thus several options can be combined using binary OR operator. Options should be set with the help of function SetDriverOptions or SetDriverLong (keys 0 and 1).

If you set or clear an option make sure to call GetDriverLong (keys 0 and 1) to get current options, then use binary operations to set or clear appropriate bit.

 

Please note to set the Options before the call of startCapture !

Valid option values

Value

Named constant

Description

Value

Named constant

Description

0x00000001

DRIVER_OPTION1_FAST_SEARCH_PROLIFIC_ON_OPEN

Obsolete. Search for configured device on all USB prolific adapters on startCapture and checkConnectedPad functions.

0x00000002

DRIVER_OPTION1_DONT_CHECK_PAD_ON_STARTCAPTURE

Don't check if a pad is connected to the configured port and don't search for the pad on another ports at the beginning of startCapture. Without this check startCapture is executed a bit faster.

0x00000004

DRIVER_OPTION1_DISABLE_PADID_MESSAGEBOX

Disables notification message box after retrieving pad id with the help of 5-sec. pad button press.

0x00000008

DRIVER_OPTION1_DISABLE_LCD_PEN_DRAWING

Disables drawing of lines on LCD while user moves the pen over the sensor.

0x00000010

DRIVER_OPTION1_TRANSPARENT_DRAW_MODE

Truns transparent drawing of bitmaps on

0x00000020

DRIVER_OPTION1_BLIND_SEARCH_IN_CHECKPAD

Don't show device search dialog in checkConnectedPad

0x00000040

DRIVER_OPTION1_FRAME_FILTER_OFF

Truns frame filter off

0x00000080

DRIVER_OPTION1_ENABLE_EMULATION

Enables emulation of naturaSign V3 for older devices

0x00000100

DRIVER_OPTION1_DISABLE_PREVIEW

Disables automated computation of signature preview image

0x00000200

DRIVER_OPTION1_WAIT_FINAL_IMAGE

ReadHighResBitmap waits until final image is received completely

0x00000880

DRIVER_OPTION1_DIGITAL_SIGNATURE_EMULATION_FOR_NEW_DEVICE

Enables emulation for all StepOver Devices, this disables the Hash-Confirm Dialog on the Devices after signing.

0x00001000

DRIVER_OPTION1_DISABLE_CP_BACKGROUND_IMAGE

Don't download background image, don't do alpha-blending for ColourPad.

0x00008000

DRIVER_OPTION1_STRETCH_SIGNATURE

Stretch signature to fill whole signature image, keeping dimensions of the image intact. Either stretch or crop may be activated at a time. If both options are set, stretch has higher priority.

0x00010000

DRIVER_OPTION1_CROP_SIGNATURE

Crop white borders around signature, making signature image smaller. Either stretch or crop may be activated at a time. If both options are set, stretch has higher priority.

0x00020000

DRIVER_OPTION1_USE_SOI_HEADER_ORIENTATION_FLAG

use a new SOI header which respects the pad orientation (Potrait or landscape)