TwainSelectFeeder <-> TwainSetAutoFeed

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
benjamin
Posts: 7
Joined: Wed Oct 27, 2010 12:02 pm

TwainSelectFeeder <-> TwainSetAutoFeed

Post by benjamin » Thu Oct 28, 2010 11:31 am

Hi,

What is the difference in the functions TwainSelectFeeder(true) and TwainSetAutoFeed(true)?
In your samples you always use the second one, does it have any advantages or are other properties configured automatically that I have to conigure manually if I use the first one?

Regards,
Benjamin

User avatar
Loïc
Site Admin
Posts: 5698
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: TwainSelectFeeder <-> TwainSetAutoFeed

Post by Loïc » Thu Oct 28, 2010 4:15 pm

Hi,

From the reference guide:
TwainSelectFeeder - Asks to the opened source to select or deselect the document feeder.

TwainSetAutoFeed - Try to enable or disable the Source’s automatic document feeding process. If you enable auto feed scanning, this function selects the feeder. So to start scanning pages from an ADF, just do: TwainSetAutoFeed(TRUE).

And from the TWAIN reference (TwainSetAutoFeed):
When set to TRUE, the behavior of the Source is to eject one page and feed the next page
after all frames on the first page are acquired. This automatic feeding process will
continue whenever there is image data ready for acquisition (and the Source is in an
enabled state)

In other words, the function TwainSelectFeeder sets the document feeder as source and the TwainSetAutoFeed sets the document feeder as source & enables the autofeed process decried above.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest