Forum Replies Created
- AuthorPosts
what exactly do you mean with “disable all dialogs from twain”?
sorry have never had anything to do with eztw32, but you call and set cap_feederloaded the same way you set the resolution or bitdepth and so on.
yes with CAP_PAPERDETECTABLE you can check if your source is able to detect paper and with CAP_FEEDERLOADED you can check if there is any paper in your feeder
the version of the twain_32.dll should be ok, but get twain.h 1.9 from http://www.twain.org, that’s the latest version
what do you actually mean with “MY TWAIN”? if you mean the twain driver for your camera -> look at the website of the company that made your camera if you mean your twain.h file is too old-> check http://www.twain.org
u find it in TwainLib.cs around line 247
do you want to controll a scanner with this?couldn’t find any lines of code which would include settings for the source. I guess you would have to write it yourself with the class DScap. what do you want to use this sample twain app for?
sorry I made a mistake: it should be CAP_DEVICEEVENT with MSG_DEVICEEVENT! MSG_PROCESSEVENT has to be supported anyway
if your camera supports the cappability CAP_DEVICEEVENT -> DAT_EVENT MSG_PROCESSEVENT then you could use that otherwise I would have a look at GetSTILaunchInformation from Windows, but I am not sure if this works.[/list]
can’t you check the return and condition code in your app?
what return and condition code do you get when you try to delete a picture?
where did you find twain 2.0? as far as I know there is only a paper about what will be new once twain 2.0 is released but no spec or DLL for it, because they are still testing it.
no problem just ask if you have any questions
yes usually twain devices have standard features but there might be certain settings which don’t have to be included in the twain standard. for example file transfer is not included (file transfer means you transfer an image from the source to your app and it is automatically saved to your hard disk, there are other transfer modes which only send a buffer full of data to your app and you have to make sure it is saved yourself). this could be a problem if you want to get a dicom picture from your CT scanner and not just a bmp for example.
there might be certain settings for a CT scanner like view angle you might need which are not included in the twain standard.
so just start twack and go to File->Select Source->CT Scannerthen you do
Special->Load/Open SM
Special->Open Source
Special->Send….now you only have to change Capability to CAP_SUPPORTEDCAPS and Container to TWON_ARRAY and press send.
now you should have a list of all caps your device supports.
well I would have a look if there is some opensource code in C# which you might be able to use for your app.
I would also recommend you run something like dosadi twister first to check if your device supports ALL capabilities you need for your app. Would be quite annoying to write a programm and half way through realize that your device is not as twain compliant as you thought.
then there is the TWACK from twain.org which is a Twain Developers Kid and quite useful to get to know the different Capabilities and also useful to get an idea of how twain works.
everything else should be in the specification but usually posting your questions here can be useful too 😉- AuthorPosts