saraff-9EB1047A4BEB4cef8506B29BA325BD5A / Saraff.Twain.NET

Saraff.Twain.NET is the skillful scanning component which allows you to control work of flatbed scanner, web and digital camera and any other TWAIN device from .NET environment. You can use this library in your programs written in any programming languages compatible with .NET technology.
GNU General Public License v3.0
102 stars 35 forks source link

How to open Duplex ? #31

Closed frknuzn closed 5 years ago

frknuzn commented 5 years ago

Hello, @saraff-9EB1047A4BEB4cef8506B29BA325BD5A We talked to you about this -> #25 I want to do duplex scan in addition. How can to do ?

saraff-9EB1047A4BEB4cef8506B29BA325BD5A commented 5 years ago

Hello, @frknuzn Set a DuplexEnabled to true.

frknuzn commented 5 years ago

I did " twain.Capabilities.DuplexEnabled.Set(true); " in TwainService.cs but i can't take duplex scan.

saraff-9EB1047A4BEB4cef8506B29BA325BD5A commented 5 years ago

Please, see pages 10-49 - 10-50 of TWAIN 2.4 Specification (CAP_DUPLEX and CAP_DUPLEXENABLED)

frknuzn commented 5 years ago

Hello @saraff-9EB1047A4BEB4cef8506B29BA325BD5A I solved the problem. I wrote twain.Capabilities.DuplexEnabled.Set(true); in TwainService.svc.cs before twain.Acquire();