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

twain scan front/back

Forums › TWAIN Classic › twain scan front/back

  • This topic has 3 replies, 3 voices, and was last updated 10 years, 11 months ago by MonkFox.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 13, 2009 at 3:28 pm #22523 Reply
    ator
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    Hello,
    i use the twain library to scan page from a hp scanjet7650 which does, through its own driver, front/back scan.

    So… there is a way to get front/back scan directly without do it manualy?
    Of course ADF.

    I hope i explained myself clearly and i’m sorry for my bad english 🙂

    Thx

    August 14, 2009 at 1:19 am #25003 Reply
    june5
    Participant
    • Topics - 0
    • Replies - 17
    • Total Posts - 17

    1. Check CAP_DUPLEX. If it is TWDX_1PASSDUPLEX or TWDX_2PASSDUPLEX, the scanner supports duplex scanning.
    2. Set CAP_DUPLEXENABLED to TRUE to enable duplex scanning.
    3. Start scanning.
    See TWAIN specification for details.

    August 14, 2009 at 6:33 am #25004 Reply
    ator
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    Thx a lot 🙂

    Ator

    February 9, 2010 at 2:27 pm #25005 Reply
    MonkFox
    Participant
    • Topics - 1
    • Replies - 4
    • Total Posts - 5

    when you say check the cap_duplex cap, this is the way I did it:

    rc = DSCap(twident,src,dg_control,dat_cap,msg_get,twcap.cap_duplex(1))

    if rc <> twrc.success then

    closeSRC()
    return

    end if

    so if that returns success then it supports the duplex (1passduplex) right?
    Then set the CAP_ENABLEDUPLEX -> 1

    Thanks,

    Justin

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: twain scan front/back
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

  • Girls of Desire: All babes in one place, crazy, art
  • 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.
  • 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.