Home › Forums › TWAIN Classic › Transition from state 5 to 6 › Reply To: Transition from state 5 to 6
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.