node-twain icon indicating copy to clipboard operation
node-twain copied to clipboard

Failed to get the data source info!

Open zldoc88 opened this issue 1 year ago • 2 comments

PS D:\twain-test> node test.js Load Library:TWAINDSM.dll Triplet:DG_CONTROL / DAT_PARENT / MSG_OPENDSM RC:TWRC_SUCCESS Triplet:DG_CONTROL / DAT_IDENTITY / MSG_GETFIRST RC:TWRC_ENDOFLIST TWRC_ENDOFLIST7 Triplet:DG_CONTROL / DAT_IDENTITY / MSG_GETDEFAULT RC:TWRC_FAILURE ---------- ERROR ----------- RC:TWRC_SUCCESS CC:TWCC_NODS Failed to get the data source info! Triplet:DG_CONTROL / DAT_IDENTITY / MSG_GETFIRST RC:TWRC_ENDOFLIST TWRC_ENDOFLIST7 sources ---> [] Triplet:DG_CONTROL / DAT_IDENTITY / MSG_GETDEFAULT RC:TWRC_FAILURE ---------- ERROR ----------- RC:TWRC_SUCCESS CC:TWCC_NODS Failed to get the data source info!

What does this error mean?

zldoc88 avatar Mar 15 '24 03:03 zldoc88

How to set the productName ,productFamily ,manufacturer? Can they be set to arbitrary values?

zldoc88 avatar Mar 15 '24 03:03 zldoc88

Hi Try compiling with 32bit. Your 64bit build still can't find devices using 32bit twain drivers... Also copy the 32bit version of Twaindsm.dll to the c:\windows\SysWOW64 folder.

kaanmehmetaksoy avatar Feb 03 '25 05:02 kaanmehmetaksoy