- Topics - 9
- Replies - 583
- Total Posts - 592
for things like this i usually go look at someone else’s code. the toolkit is a good place to start, but dosadi’s cTwain is better in my opinion but maybe that’s just that I find their code easier to read. There was at one point a pretty sample on neatcpp.com in a zip named NCTwainClient but last time I checked their site was gone.
Off the top of my head it sounds like you’re doing what you should but I’d have to go look at my code to be sure of it or pull out a sample. If Dosadi’s ctwain sample doesn’t show you the way to sent it post back and I’ll dig out some code.
On the side – if you’re going to be using Kodak scanners (or Hp’s commercial drivers or a hadful of others that support what I’m going to mention) I would skip the whole setting caps one-by-one approach and switch to a profile based approach using EnableDsUiOnly and CustomDsData. I mention it in every thrid or forth post so you should be able to peice together what I’m talking about if it is interesting to you.