Forum Replies Created
- AuthorPosts
Kodak i65 drivers (along with all the other not .net drivers) should still be available with simulation mode.
.
opentwain is a library sample with two demo apps, one is a console the other has a gui.
should have mentioned, it relies on the CustomerDsData triplet to produce consistent scans. – if you don’t support CustomerDsData it won’t be useful.if you need anything lemme know
.
September 4, 2012 at 9:05 pm in reply to: Problem DSMIdent displaying error and checking DEVICEONLINE #25485common problem. what to do with a messagebox from the driver… really kills the automation option for some solutions.
you’re not going to find a function from twain, you need a box eater.in my apps i fire off another thread and compare the windows present on the system before 3 or 4 of the problematic triplets, the thread watches for ‘known dialogs’ and sends them the ‘known response’. when the triplet completes i tell the thread to stop watching until the next triplet that i’m careful with comes along. determining which dialog to watch for is a pain, so is being as certain as you can be that you’re sending those dialog the correct message – isn’t the kind of thing you want to screw up.
it’s yucky.
.
September 3, 2012 at 7:19 pm in reply to: Problem with multilple twain session from same process #25670the list of problems you can run into is substantial
ha. subtle.
32-bit or 64-bit? If you’re looking for a 32 bit program opentwain is pretty inexpensive, it’s open source – http://opentwain.codeplex.com
And if you haven’t already tested your driver in with the sample app from twain you shoud – http://sourceforge.net/projects/twain-samples
Then of course run your driver with twister – http://www.eztwain.com/twister.htm
Far as I’m concerned if you get a clean report from twister you’re a god..
did you look at codeplex.com/opentwain?
there isn’t a call to get the current state, you need to track it.
check a known source, Canon don’t have a great reputation – run a Kodak driver (like an i30/i40) in simulation mode.
EDITED: there wasn’t one in the 1.9 spec
if this were my code, I would test the code with a different device, try the code with a Kodak i30 driver in simulation mode.
If the Kodak driver in simulation mode has the same error then your code is in error.
If the Kodak driver works then you have potentially found a problem the the HP driver’s twain implementation..
May 31, 2011 at 10:57 am in reply to: [CAPABILITES][ICAP_GAMMA] Set float value for ICAP_GAMMA #25448are you using NetMaster’s (codeproject) C# sample as the base for your code?
you are correct in the idea that the dialog displays locally installed drivers. but just because the driver is shown does not in any way mean that the device is available. also depending on where you twain_32.dll is located the .ds may or may not need to be in %windr%twain_32 – for example under terminal services you may have a driver installed under the user profile and then to ‘see’ the .ds you would need to have and load the twain_32.ll in the user’s profile
.
nope. not built into the twain spec. this and other messageboxes usually end with you building a box eater. I run a cbt hook on another thread just to monitor for window activations, it’s clunky but it works.
only a guess here but are you loading the correct twain dll? in ts or citrix you run the risk of loading the dll from the system dir when the drivers are are under the user profile or the reverse
.
have you looked at http://opentwain.codeplex.com ?
.
I use disk mode (all the apps I write use it). I picked File as it didn’t require the memory of native and was easier than buffered.
– 2 cents
.. could you be more specific about how that won’t work?
it seems to me that you either want to roll your own app or you want to use someone elses. if you’re looking for a simple way to ‘support twain’ (i don’t even know what that means anymore and i’m not poking fun at you as much as i’m poking fun at me) then getting an off the shelf solution is a decent way to go. really. i spent a good half year getting my hand rolled twain components to the point where it does what i want (and another year tuning it if i’m being honest here) , either it is worth you time to learn the spec and we’ll help you, or you want a quicker solution and we’ll help you.
pick one.
.
- AuthorPosts