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

How can I get GUID of the scanner connected using Twain?

Forums › TWAIN Classic › How can I get GUID of the scanner connected using Twain?

  • This topic has 3 replies, 2 voices, and was last updated 6 years, 11 months ago by Sharad.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 24, 2014 at 3:11 am #22914 Reply
    Sharad
    Participant
    • Topics - 9
    • Replies - 3
    • Total Posts - 12

    Hi,

    Is there a way to get GUID of scanner using Twain?

    Best Regards,
    Sharad

    January 30, 2014 at 2:46 pm #26072 Reply
    MarkM
    Participant
    • Topics - 1
    • Replies - 135
    • Total Posts - 136

    It’s unclear what you mean by a GUID…

    TWAIN supports CAP_CUSTOMINTERFACEGUID, which is used to determine which custom TWAIN capabilities and operations are available. This is described in the TWAIN 2.3 Specification…

    February 7, 2014 at 6:15 am #26073 Reply
    Sharad
    Participant
    • Topics - 9
    • Replies - 3
    • Total Posts - 12

    Thanks for your reply Mark….
    I have a fujitsu scanner twain driver and thats works fine.
    Once I set the property of this scanner to work on specific
    session. It will get disappear from all the sessions including
    for which I have set the permission.
    Do you know what can be the reason behind that?

    You told I can get some information from registry..
    can you let me know which registry entry I should look in to?

    Thanks,
    Sharad

    February 7, 2014 at 8:18 am #26074 Reply
    Sharad
    Participant
    • Topics - 9
    • Replies - 3
    • Total Posts - 12

    Hi,
    I am using SetupDiSetDeviceProperty with DEVPKEY_Device_SessionId to set the Session ID of the device.
    Before setting the Property I enumerate the device available in the system and than apply the
    Session ID property.

    The same API is working fine with Xerox scanner Twain driver but problem is coming with Fujitsu Scanner Twain Driver.

    Can you suggest me how can I hide the twain device from a particular session?

    Best Regards,
    Sharad

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Reply #26072 in How can I get GUID of the scanner connected using Twain?
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

  • 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

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.