They are listed in the dependencies section. The required Accusoft dll file(s) are missing.Īccusoft dll files are required when saving JPEG, ePIC, or TIFF files. The ScannedImage.SaveFile method was invoked after the hDIB property was read. The ScannedImage.ToHdib property has already been read. No image is available for the requested operation or an unsupported DIB format was returned in response to a StartSession. For example, the SaveOptionsJpeg.Luminance property must be in the range 0-255. Many TwainPRO properties can only accept values in a specified range. An invalid value was set to a TwainPRO property. The SaveOptionsPic.Password property can accept a maximum length of 8 characters. The application identity properties can accept a maximum length of 32 characters. Supported file types are: BMP, JPEG, ePIC, and TIFF.Ī string with too many characters was set to a TwainPRO property. This can occur if the drive is a network drive.Ī file extension for specified for a file type not supported by TwainPRO. The drive or path became invalid during the write. No file extension or an invalid file extension was specified.Īn error occurred while TwainPRO was attempting to save a file to the path specified in the ScannedImage.SaveFile method. The file exists and is in use by another application. The drive or path specified doesn’t exist. TwainPRO was unable to create the file specified in the ScannedImage.SaveFile method. The user clicked the cancel button on the source selection dialog invoked by the TwainDevice.SelectSource method. The user cancelled the requested operation. The image being transferred is too large to fit in memory. TwainPRO was unable to allocate memory for the requested operation. The file is open in another control or application. TwainPRO can’t open an existing TIFF file to append pages. The file is in use by another application. The latest version can be found at Possible causes:
On native 64-bit Windows systems, the 32-bit version should be installed in the SYSWOW64 directory. The 32-bit version should be installed in the SYSTEM32 directory on native 32-bit Windows systems. Check the ConditionCode and ConditionDescription properties to see if the Data Source has returned an error code.Ĭan't find or load TWAIN DSM (TWAINDSM.dll, Version 2). TWAIN error, check ConditionCode & ConditionDescription properties. This section includes error codes and extended error codes.
Kofax VirtualReScan (VRS) works best with an ISIS driver and only supports some scanners with TWAIN drivers. Documentation for Kofax VRS can be found at.
If the capability is supported this code will be executed.ģ - I want to drive a scanner via the Kofax VRS TWAIN driver without using the Kofax TWAIN UI. If (twainDevice.IsCapabilitySupported(Capability.IcapPixelType) = true) Please make sure that you call OpenSession before setting the capabilities. There are a couple of reasons this issue may be occurring: Resolution 1:
If you still have a problem with a particular scanner, let us know, but remember, not all TWAIN capabilities are supported by all devices and there are TWAIN drivers out there that have bugs in them and are not fully TWAIN compliant.Ģ - It appears that setting a capability has no effect on the scanned image. Make sure you have the latest version of TwainPRO™. Also, make sure you don't have older versions of those DLLs or EXEs anywhere else in your path. Get the latest TWAIN Data Source Manager files from and put them in your windows directory (NOT the windows\system directory). Get the latest version of the scanner's drivers from the manufacturer's web site and re-install them. If you have a problem with a TWAIN device we recommend trying the following things: 1 - I am encountering a problem with a TWAIN Device.