Error Code
|
Definition
|
Value
|
|
|
|
DTWAIN_ERR_MEM
|
Insufficient memory for image file
|
-2001
|
DTWAIN_ERR_FILEOPEN
|
Could not open image file
|
-2002
|
DTWAIN_ERR_FILEWRITE
|
Could not write image file
|
-2004
|
DTWAIN_ERR_BADPARAM
|
Bad parameter sent to image file functions
|
-2005
|
DTWAIN_ERR_INVALIDBMP
|
Invalid bitmap
|
-2006
|
DTWAIN_ERR_INVALIDJPG
|
Invalid JPEG file
|
-2009
|
DTWAIN_ERR_DC
|
Invalid device context
|
-2010
|
DTWAIN_ERR_DIB
|
Invalid DIB (Device Independent Bitmap)
|
-2011
|
DTWAIN_ERR_INVALIDPNG
|
Invalid PNG file
|
-2015
|
DTWAIN_ERR_PNGCREATE
|
Could not create PNG file
|
-2016
|
DTWAIN_ERR_INVALIDTIFF
|
Invalid TIFF file
|
-2020
|
DTWAIN_ERR_NOTIFFLZW
|
LZW compression not supported
|
-2021
|
DTWAIN_ERR_INVALIDPCX
|
Invalid PCX file
|
-2022
|
DTWAIN_ERR_CREATEBMP
|
Could not create BMP file
|
-2023
|
DTWAIN_ERR_GETDIB
|
Could not retrieve DIB
|
-2025
|
DTWAIN_ERR_INVALIDWMF
|
Invalid Windows Meta file
|
-2027
|
DTWAIN_ERR_DEPTHMISMATCH
|
Invalid bit depth
|
-2028
|
DTWAIN_ERR_BITBLT
|
BilBlt failure
|
-2029
|
DTWAIN_ERR_BUFTOOSMALL
|
Image buffer too small
|
-2030
|
DTWAIN_ERR_TOOMANYCOLORS
|
Image contains too many colors
|
-2031
|
DTWAIN_ERR_INVALIDTGA
|
Invalid TGA file
|
-2032
|
DTWAIN_ERR_CREATEDIB
|
DIB could not be created
|
-2035
|
DTWAIN_ERR_NOLZW
|
No LZW compression
|
-2036
|
DTWAIN_ERR_SETWINMETAFILEBITS
|
Error in setting meta file bits
|
-2041
|
DTWAIN_ERR_GETWINMETAFILEBITS
|
Error in getting meta file bits
|
-2042
|
DTWAIN_ERR_INVALIDPSD
|
Invalid PSD file
|
-2046
|
DTWAIN_ERR_PSDNOTSUPPORTED
|
PSD file not supported
|
-2047
|
DTWAIN_ERR_NOTIFFTAG
|
Invalid TIFF tag
|
-2054
|
DTWAIN_ERR_TIFFDLL16NOTFOUND
|
TIFLIB16.DLL could not be found
|
-2059
|
DTWAIN_ERR_PNGDLL16NOTFOUND
|
PNGLIB16.DLL could not be found
|
-2060
|
DTWAIN_ERR_JPEGDLL16NOTFOUND
|
JPGLIB16.DLL could not be found
|
-2061
|
DTWAIN_ERR_BADBITSPERPIXEL
|
Invalid bits-per-pixel
|
-2062
|
DTWAIN_ERR_TIFFDLL32INVALIDVER
|
DTWIMG32.DLL invalid
|
-2063
|
DTWAIN_ERR_PDFDLL32NOTFOUND
|
DTWPDF32.DLL not found
|
-2064
|
DTWAIN_ERR_PDFDLL32INVALIDVER
|
DTWPDF32.DLL invalid
|
-2065
|
DTWAIN_ERR_JPEGDLL32NOTFOUND
|
DTWIMG32.DLL not found
|
-2066
|
DTWAIN_ERR_JPEGDLL32INVALIDVER
|
DTWIMG32.DLL invalid
|
-2067
|
DTWAIN_ERR_PNGDLL32NOTFOUND
|
DTWIMG32.DLL not found
|
-2068
|
DTWAIN_ERR_PNGDLL32INVALIDVER
|
DTWIMG32.DLL invalid
|
-2069
|
DTWAIN_ERR_J2KDLL32NOTFOUND
|
DTWIMG32.DLL not found
|
-2070
|
DTWAIN_ERR_J2KDLL32INVALIDVER
|
DTWIMG32.DLL invalid
|
-2071
|
DTWAIN_ERR_MANDUPLEX_UNAVAILABLE
|
Manual Duplex mode is unavailable
|
-2072
|
DTWAIN_ERR_TIMEOUT
|
Timeout reached when attempting to communicate with TWAIN
|
-2073
|
DTWAIN_ERR_INVALIDICONFORMAT
|
Invalid format specified for ICON files
|
-2074
|
DTWAIN_ERR_TWAIN32DSMNOTFOUND
|
TWAIN_32.DLL was not found, could not be opened, or is corrupted.
|
-2075
|
DTWAIN_ERR_TWAINOPENSOURCEDSMNOTFOUND
|
TWAINDSM.DLL was not found, could not be opened, or is corrupted.
|
-2076
|
DTWAIN_ERR_TS_NOFILENAME
|
No file name specified when calling DTWAIN_TwainSave
|
-2081
|
DTWAIN_ERR_TS_NOTWAINSYS
|
TWAIN not installed when calling DTWAIN_TwainSave
|
-2082
|
DTWAIN_ERR_TS_DEVICEFAILURE
|
TWAIN device failure when calling DTWAIN_TwainSave
|
-2083
|
DTWAIN_ERR_TS_FILESAVEERROR
|
Error saving file name when DTWAIN_TwainSave is used
|
-2084
|
DTWAIN_ERR_TS_COMMANDILLEGAL
|
Illegal command string used for DTWAIN_TwainSave
|
-2085
|
DTWAIN_ERR_TS_CANCELLED
|
User cancelled TWAIN acquisition (DTWAIN_TwainSave)
|
-2086
|
DTWAIN_ERR_TS_ACQUISITIONERROR
|
Acquisition error when using DTWAIN_TwainSave
|
-2087
|
DTWAIN_ERR_TS_INVALIDCOLORSPACE
|
Unsupported color space when using DTWAIN_TwainSave
|
-2088
|
DTWAIN_ERR_TS_PDFNOTSUPPORTED
|
PDF file acquisition not supported for DTWAIN_TwainSave
|
-2089
|
DTWAIN_ERR_TS_NOTAVAILABLE
|
DTWTS.DLL not found. Required for DTWAIN_TwainSave
|
-2090
|
DTWAIN_ERR_OCR_INVALIDPAGENUM
|
Invalid image page number specified.
|
-2100
|
DTWAIN_ERR_OCR_INVALIDENGINE
|
Invalid OCR engine specified
|
-2101
|
DTWAIN_ERR_OCR_NOTACTIVE
|
OCR Engine not active
|
-2102
|
DTWAIN_ERR_OCR_INVALIDFILETYPE
|
Invalid image file type specified when using OCR
|
-2103
|
DTWAIN_ERR_OCR_INVALIDPIXELTYPE
|
Invalid pixel type specified when using OCR
|
-2104
|
DTWAIN_ERR_OCR_INVALIDBITDEPTH
|
Invalid bit depth specified when using OCR
|
-2105
|
DTWAIN_ERR_OCR_RECOGNITIONERROR
|
OCR engine image recognition failed
|
-2106
|
|
|
|