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: Command line twain

Forums › TWAIN Classic › Command line twain › Reply To: Command line twain

July 30, 2007 at 5:30 pm #23981
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

ah, I see. When you downloaded the opentwain library you were on the ‘releases’ tab just to the right there is a tab named ‘Discussions’ and I wrote a couple 3 things there – the problem you’ve come across is that the device you’re using doesn’t support a required capability – EnableDsUiOnly. What a drag. This means you are basically left with the tiresome task of setting eihher using the Ui everytime you scan or attempting to manage all of the capabilities of the scanner.

Is your project for pleasure or business? I ask becasue if this is to be used in production I would advide against using the device you’re trying to use unless you’re sure the device you have is the device the client is going to use and that they aren’t going to use pretty much anything but that one model or possibly devices from the same vendor. But if this is a smaller project and yoy’re just looking to control a device that you own you should be ok.

Back to the problem at hand. You won’t be able to take a profile based approach and you’ll have to manipulate each cap one by one. In the guiSample I manipulate a couple of caps with the openTwain lib that way – look in twain.vb near the top in the region named ‘ Capability Methods ‘ i get a couple of cap values and I set a couple of others. you should be able to follow that model to get or set most of the rest of them. If there are caps you can’t set using that model let me know. In the background, I have begun the tedious task of making each of the caps accessible as properties but it is tiresome work and it’s going to be done for maybe a couple a weeks .

g

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