Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Sunday, August 8, 2010 1:13:01 PM(UTC)

WayneW  
WayneW

Groups: Registered
Posts: 2


We've got an old version of the imaging livrary (v13) and it was fine to call L_TwainAcquireList to scan multiple page documents. But recently when tried with a Lexmark X500, it's returning 0.

Using the same machine (Lexmark X500), the single page scan with L_AutoTrimBitmap works fine and also the multiple scan works fine with the software from Lexmark X500.

Are there any limitations with this function L_TwainAcquireList? Are there any particular error with this error code 0 to track down?
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, August 9, 2010 6:13:02 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,028

Was thanked: 2 time(s) in 2 post(s)

The return value 0 means failure.

The first thing to check is Twain operation on these machines using a non-LEAD program. To do that, you will need to test the scanner with Twacker to make sure its driver is compatible with the TWAIN standard?

If you don't have Twacker, you can download it from the website of the Twain Working Group using this link:
http://www.twain.org/devfiles/twainkit.exe

 
#3 Posted : Tuesday, August 24, 2010 5:00:57 PM(UTC)

WayneW  
WayneW

Groups: Registered
Posts: 2


Thanks for the reply. We have tried the Twacker tool. It scans through but only displays 1 page. We put in 2 sheets but would only show 1 when scanned through.

Does this mean the scanner can only scan single page with TWAIN compatible standard? The bundled software with the scanner does scan multiple pages though.
 
#4 Posted : Wednesday, August 25, 2010 3:09:05 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,028

Was thanked: 2 time(s) in 2 post(s)

Before calling the L_TwainAcquireList function, try to set the transfer count to a value higher than 1 or to -1 (minus one) to indicate all pages.
To do that, you can use the L_TwainSetMaxXferCount function.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.082 seconds.