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

How get 2 side image?

Open ulises58 opened this issue 2 years ago • 2 comments

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 both. @Luomusha ?

ulises58 avatar Dec 29 '23 04:12 ulises58

According to the twain-specification, you need to set Capability : CAP_DUPLEX

This is how the method should be called

session.setCapability(CAP_DUPLEX,  TWDX_2PASSDUPLEX)

However, this method “setCapability” has not been implemented yet. I don't have a scanner now.

Luomusha avatar Jan 02 '24 08:01 Luomusha