I'm trying to set up a test scan application to test the API features of the ActiveX control. When duplex is off, the application correctly scans the document. However, when I turn duplex scanning on, it only scans the back of the image. It does not correctly place two pages in the buffer. Here's the JavaScript code I'm using to scan the image:

The odd thing is that when the TWAIN Driver (32) control pops up, it already has ADF (Duplex) set in the scan type dropdown.

The default settings are decided by the driver of your scanner. You can set the value of IfShowUI to false to disable the user interface of the source, so you can control Duplex by the checkbox as you designed.

That worked great, thanks! I'm guessing the MaxImagesInBuffer property is used to control the memory usage on the client...

One question though - what if you don't know the number of pages that a user is going to scan? Is there a way to dynamically set that property, or do you just have to set it to a sufficiently large number to try to accommodate the majority of documents?

Who is online

Users browsing this forum: No registered users and 0 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum