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

A nodejs Client SDK for nodejs of TWAIN. Developers can control a Scanner which implements TWAIN protocol.

Results 12 node-twain issues
Sort by recently updated
recently updated
newest added

因为目前开发环境是Mac,没法装vs,基本编译了几次都是报错。但是在win上面完成了安装,就是能否在win环境下随便创建个文件夹执行npm install node-twain,安装完成后在node_modules里面找到相应的node文件,然后拷贝到项目中使用,项目本身不添加这个依赖。如果可以的话 具体应该拷贝哪些文件,如何引用。

![image](https://github.com/Luomusha/node-twain/assets/93062479/cad05067-66f1-485f-a0be-6c4572dfb5d8)

我本地还有sqlite和serialport两个库,都可以正常安装编译 node环境:18.19.0 32和64都尝试过 报错信息: if not defined npm_config_node_gyp (node "C:\Users\MrChildren\AppData\Roaming\nvm\v18.19.0\node_ │ gyp info it worked if it ends with ok │ gyp info using [email protected] │ gyp info using [email protected]...

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...

Since I can get the image from both sides, it usually only lets me have one side of the image, but I don't know how to tell it to output...

```bash npm install node-twain npm ERR! code 1 npm ERR! path /Users/username/Documents/projects/node-scanner/node_modules/node-twain npm ERR! command failed npm ERR! command sh -c -- node-gyp rebuild npm ERR! CXX(target) Release/obj.target/twain/src/main.o npm ERR!...

bug