TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Urgent!!!! need clarifications regarding TWAIN

Forums › TWAIN Classic › Urgent!!!! need clarifications regarding TWAIN

  • This topic has 11 replies, 3 voices, and was last updated 13 years, 5 months ago by navdeeprana.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • August 23, 2007 at 5:45 am #22200 Reply
    navdeeprana
    Participant
    • Topics - 1
    • Replies - 5
    • Total Posts - 6

    Hi to all the Twain techies….I am workign on a health care web site which uses asp.net and c-sharp technology. I have to provide the capability of interfacing medical devices like ecg, ct-scan etc that are twain complaint into our application.
    So my first query is : Twain standard can be integrated using c-sharp??(which i am sure but still i need to know)
    Secondly I am a novice to Twain standard……so where should i start from, if i wana accomplish the the interfacing of twain complaint devices into my application. Lookign forward form some positive response asap
    cheerss…..sssssssssss
    nav

    August 23, 2007 at 7:19 am #24060 Reply
    TheCrow99
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    I can’t think of any reason why a twain app shouldn’t work with C#, but I haven’t tried it (I am only using C)
    Do you want to write everything yourself only using the twain_32.dll and twain.h or do you want to use any predevined functions from some opensource code?
    If you want to do everything yourself I guess you should start reading the twain specification from twain.org. I think it is a very good explanation of all the different twain-functions.

    August 23, 2007 at 9:13 am #24061 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    c# (.net languages etc) are not a problem. and like thecrow99 said, read thru the spec and ask questions here if you have questions. If you have questions about twain from .net I should be able to help with the interop and whatnot if you need it.

    .

    August 23, 2007 at 9:49 am #24062 Reply
    navdeeprana
    Participant
    • Topics - 1
    • Replies - 5
    • Total Posts - 6

    Thnx gabe, thecrow…….as i metioned i am a novice w.r.t twain standard………i have just been assigned the requirement of integrating twain complaint device into my web application……….for instance i have a ct-scaneer…..the manufacturer provides us with an installation cd…….but instead i want my application to communicate directly with the ct-scanner(which is twain complaint) .
    So to achieve this kind of interfacing ,using c-sharp, between my application and twain complaint device…..how should i start ?? As i am already refering to the Twain specification…….is dat all I need or i would require anything else apart from this twain specification??
    thnx in advance.
    nav

    August 23, 2007 at 10:22 am #24063 Reply
    TheCrow99
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    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 😉

    August 23, 2007 at 11:16 am #24064 Reply
    navdeeprana
    Participant
    • Topics - 1
    • Replies - 5
    • Total Posts - 6

    hi thecrow………i already have downloaded and installed twack. But haven’t used it yet . …U said by using it i would come to know wat capabilities my device support ……..what dat means can u plz elaborate a bit on that…i mean, is not that all twain devices have standard features?? Since as per me the capabilities that will be supported for any device will be selecting a source and then acquiring image from it..??

    August 23, 2007 at 11:45 am #24065 Reply
    TheCrow99
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    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 Scanner

    then 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.

    August 23, 2007 at 12:00 pm #24066 Reply
    navdeeprana
    Participant
    • Topics - 1
    • Replies - 5
    • Total Posts - 6

    thanks alot thecrow for ur help……….n plz keep checking back on this thread….since i will be needing help of all u techies alot
    cheerrrrrsss…..ssss
    nav

    August 23, 2007 at 12:20 pm #24067 Reply
    TheCrow99
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    no problem just ask if you have any questions

    August 24, 2007 at 6:11 am #24068 Reply
    navdeeprana
    Participant
    • Topics - 1
    • Replies - 5
    • Total Posts - 6

    i the crow.i dont know wich version of twain to go for ..i mean i shoudl go for twain 1.9 (since specification is available for 1.9 or below , i guess)…..but twain 2.0 is also released…i i think its sepcification is not avaialbe am i right?? so tht means i shoudl go for 1.9??
    thnx in advance

    August 24, 2007 at 7:09 am #24069 Reply
    TheCrow99
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    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.

    August 24, 2007 at 8:48 am #24070 Reply
    navdeeprana
    Participant
    • Topics - 1
    • Replies - 5
    • Total Posts - 6

    oops…….i just saw…a single doc of it……it was not specification…….my mistake i guess……nwz thnx for clarifying that 2.0 hasn’t been released

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Urgent!!!! need clarifications regarding TWAIN
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • To get the list of scanners from javascript client side (browser)
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.