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

Delphi Twain Implementation

Forums › TWAIN Classic › Delphi Twain Implementation

  • This topic has 3 replies, 2 voices, and was last updated 13 years, 6 months ago by Benedictum.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 25, 2007 at 5:43 pm #22222 Reply
    Benedictum
    Participant
    • Topics - 3
    • Replies - 11
    • Total Posts - 14

    I have been toying with Gustavo’s DelphiTwain component and the sample program. Unfamiliar with the inrtricacies of the component I got stuck in the way to assign parameters to the scanner. I know I can do it via the GUI that comes up during the image acquisition. I want to be able to assign the parameters (via INI files or registry) to the scanner without calling the GUI. How is this done?

    I have read the documentation but I need more samples code snippets or direction.

    September 26, 2007 at 1:13 am #24147 Reply
    Benedictum
    Participant
    • Topics - 3
    • Replies - 11
    • Total Posts - 14

    Here is the follow up – I did manage to stop the UI from showing up. I need to set the pixels, the color (I want to make the image grayscale) and the size of the image. How to do this is still beyond me. Until such time when I can have a meaningful response to this thread I will content myself experimenting around. Who knows, some knowledgeable person out there can help me 🙄

    September 26, 2007 at 10:34 am #24148 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    how good are you at reading c++ or vb.net code (and converting it to your language of choice)?
    I don’t have any experience with that library or with Delphi, but I should be able to help somewhat if your questions are just about how you get and set capability values.

    also, add setting the units to you list of things you want (need?) to set – setting size of the image (either in terms of resolution or area) is somewhat dependant on the units in use by the device.

    .

    September 26, 2007 at 8:11 pm #24149 Reply
    Benedictum
    Participant
    • Topics - 3
    • Replies - 11
    • Total Posts - 14

    Thanks Gabe. Slowly but surely I am loearning the intricacies of the TWAIN specs. I could actually call the UI programmatically and adjust the settings, which is then kept somewhere (I am not sure where – in the equipment cache perhaps?).

    I am using a card reader (scanshell 800NR). The company has their own SDK but they charge 😥 for the license.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Delphi Twain Implementation
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

  • Sports betting Bonus Code
  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • 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.