Twain error

J

JohnSouth104

Hi
I've a Delphi 6 application that controls a Fujitsu fi-4120C scanner
and saves images on disk. We've replaced the scanner with a Canon
DR-3080CII and the application doesn't work.
I get an error "DSM Error at MSG_SET/DAT_CAPABILITY: Operation worked."

Any idea where I should start looking for a solution?

Cheers

JohnSouth
Pangbourne UK
 
K

Ken Weitzel

Hi
I've a Delphi 6 application that controls a Fujitsu fi-4120C scanner
and saves images on disk. We've replaced the scanner with a Canon
DR-3080CII and the application doesn't work.
I get an error "DSM Error at MSG_SET/DAT_CAPABILITY: Operation worked."

Any idea where I should start looking for a solution?

Cheers

Hi...

Maybe a bit :)

Your app is "telling" the twain driver something which it doesn't
understand :)

Try rem'ing out lines in the app; run it until it doesn't crash (at
which time it may not work, either, but it's a start)

Or run it within the delphi environment with break on all errors
enabled. Delphi will stop and highllght the bad line for you.

Make sure that just in time is running, get a dump at the error.

Good luck and take care.

Ken
 
A

Andy Spragg

Hi
I've a Delphi 6 application that controls a Fujitsu fi-4120C scanner
and saves images on disk. We've replaced the scanner with a Canon
DR-3080CII and the application doesn't work.
I get an error "DSM Error at MSG_SET/DAT_CAPABILITY: Operation worked."

Any idea where I should start looking for a solution?

Did you write the application, or buy it?
Are you PC or Mac?

DSM = Data Source Manager i.e. twain_32.dll. It mediates between
applications and TWAIN data sources. It's distributed with whichever
OS you are using. On the face of it, the problem is internal to the
DSM, and that makes it the TWAIN Working Group's business. Go to
www.twain.org and subscribe to the TWAIN discussion forum. In reality,
they're probably going to say you need to find out what the
application (or Canon data source) did so seriously wrong as to cause
their DSM to fall over ...
 
A

Andy Spragg

Hi John,,

I replied to your post a few days ago, I hope you saw it because I
never did (yet). Anyway, I'm posting again because I took the liberty
of referring your question on to someone infinitely more qualified
than me to advise, a guy named Spike McLarty of a company called
Dosadi, and this is what he had to say.

Andy
-------------------------
My bet is that this isn't really an error in the DSM, just a sloppy
error message from the application (or whatever EZTwain-like library
the app is using.)  Especially since the triplet is a capability-set
- not one of the triplets that is actually processed by the DSM, like
MSG_OPENDS.
 
There is a weird possible situation in TWAIN, where the triplet
returns TWRC_FAILURE, and then when you ask for the specific
condition code it returns TWCC_SUCCESS!  My code in that
situation would display a confusing error box, not so different from
"DSM Error at MSG_SET/DAT_CAPABILITY: Operation worked."
 
I'm always interested in Canons and Fujitsus - I think your questions
were the right ones to start with.
-------------------------
Hi
I've a Delphi 6 application that controls a Fujitsu fi-4120C scanner
and saves images on disk. We've replaced the scanner with a Canon
DR-3080CII and the application doesn't work.
I get an error "DSM Error at MSG_SET/DAT_CAPABILITY: Operation worked."

Any idea where I should start looking for a solution?

Did you write the application, or buy it?
Are you PC or Mac?

DSM = Data Source Manager i.e. twain_32.dll. It mediates between
applications and TWAIN data sources. It's distributed with whichever
OS you are using. On the face of it, the problem is internal to the
DSM, and that makes it the TWAIN Working Group's business. Go to
www.twain.org and subscribe to the TWAIN discussion forum. In reality,
they're probably going to say you need to find out what the
application (or Canon data source) did so seriously wrong as to cause
their DSM to fall over ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top