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

Reply To: Transition from state 5 to 6

Forums › TWAIN Classic › Transition from state 5 to 6 › Reply To: Transition from state 5 to 6

July 16, 2007 at 7:01 am #23903
TheCrow99
Participant
  • Topics - 6
  • Replies - 54
  • Total Posts - 60

you are right. in the end the user will push the big red scan button either on the scanner or in a UI, because if everything works well my little program should be implemented in another program which also has a userinterface. So there I will need this messageloop anyway.

Over the weekend I organized a second scanner a CANON PIXMA and to my great relief my program works without any problems there, no matter if I just use TWAIN or if I adress the scanner via WIA.
I guess the way my program works now is not the best way but for the moment it is enough to explore more of the different TWAIN features. I think this whole XFERREADY thing will solve itself later when I add my big red scan button 😉

in terms of settings my idea was that there is a file which contains information about resolution, bitdepth, file type, file name,…. and when the program is started it reads all the settings from there and sets it. the settings I don’t set are left to default. I know this doesn’t sound very user friendly but my task is that there is one scanner which is used by loads of people and the little they can set themselves the little they can do wrong and the faster they can scan.

thank your for the warning about not documented settings. the idea of setting everything once with a device UI sounds good to me. I will keep this in mind for later, because for now it is enough if I have a rough solution and hopefully the fine tuning is done by people who know more about programming than I do.

and of course another question: do you know any command which gives me what type of container a capability-item is stored in:
if I get the settings for xresolution for example the container type can either be TWON_RANGE or TWON_ENUMERATION and I would like to know in advance which one it is.

p.s. I thought it is better if I go on posting my questions here so that people who have the same questions can read the answers and don’t have to ask you again and you have to write everything over and over again. hope thats ok with you.

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