The TWAIN Forum

www.twainforum.org
It is currently Fri May 24, 2013 6:52 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Mon Dec 05, 2011 2:20 pm 
Offline

Joined: Thu Nov 17, 2011 11:15 am
Posts: 3
I'm new to the Twain world and right now am using the Twain driver to attach to my scanner. I have a large groups of scan I need to do with sme pages with data on both sides but not all. I set the settings, save them, run the scan and it works, however, when I try to scan again, it says the settings have changed, but they haven't. What seems to be happening is that the only way I can get the scanner to recognize 2 sided documents with blank object recognition is to set the compression to Group 4. When I do this, as I mentioned, the scan is correct but the second time it has reverted to Internal Compression or None. I haven't changed anything, all other settings are kept except that one. Has anyone had this problem? or know a way around it. I have tried to contact Kodak twice but no one gets back to me. Any help is greatly apprecieated.

Thanks.


Top
 Profile  
 
PostPosted: Sat Dec 17, 2011 9:13 pm 
Offline

Joined: Sat Aug 28, 2010 6:09 pm
Posts: 6
Location: California
Hi PGlynn,

Let me try to help you out.
How are you scanning the sheets? Is it through a TWAIN application you wrote yourself or through a 3rd party program like IrfanView?
If it is through your own TWAIN application, are you setting the TWAIN settings while suppressing the user interface?


Top
 Profile  
 
PostPosted: Mon Dec 19, 2011 5:00 pm 
Offline

Joined: Thu Oct 21, 2010 11:36 am
Posts: 43
Hi PGlynn,

How do you set the compression? And do you 100% get the problem when scanning for the second time?

If you are working on your own application, you can use CAP_DUPLEX and CAP_DUPLEXENALBED to enable duplex scanning. If you want to filter out the blank page, you can try ICAP_AUTODISCARDBLANKPAGES.
http://twain.org/docs/TWAIN_2_1_Spec.pdf


Adam
Dynamsoft: TWAIN SDK | Version Control Software


Top
 Profile  
 
PostPosted: Tue Dec 20, 2011 9:09 am 
Offline

Joined: Thu Nov 17, 2011 11:15 am
Posts: 3
I was using Irfanview, because that was how I was used to doing it. I wrote a quicky program to invoke Irfanview and send the info I needed through the INI file. It was working great for everything but the 2 sided scans with blank page suppression. If you guys have abetter way and maybe an example, I'm really up for it. All the help I can get is greatly appreciated.

Thanks,

PGLYNN


Top
 Profile  
 
PostPosted: Wed Dec 21, 2011 12:21 pm 
Offline

Joined: Sat Aug 28, 2010 6:09 pm
Posts: 6
Location: California
So, if I understand correctly, you want to scan a bunch of sheets in duplex mode but want to automatically discard any blank sides of the sheets, right?
Currently you are somehow using IrfanView to do this, which works for the first sheet scanned, but fails for sheets afterward.


How about you invoke IrfanView once for every sheet in the scanner? Just tell the scanner to grab only one page. This way, you can keep your current set up and the compression won't revert back to internal/none.

If not, you could try:
1. Update your kodak driver
2. Update your TWAIN DSM (replace twain_32.dll with the new one: http://sourceforge.net/projects/twain-dsm/)


Top
 Profile  
 
PostPosted: Wed Dec 21, 2011 1:38 pm 
Offline

Joined: Thu Nov 17, 2011 11:15 am
Posts: 3
Thank you,

I'm going to try using the new Driver. I'll let you know how it works.

Thanks Again.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group