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

I’m perplexed by duplex

Forums › TWAIN Classic › I’m perplexed by duplex

  • This topic has 1 reply, 2 voices, and was last updated 14 years, 4 months ago by dpenney.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 9, 2006 at 9:47 am #21989 Reply
    turnerg
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    My application, which can handle duplex scanning via a Fujitsu fi4220c scanner, errors when I try duplex scanning on a Fujitsu fi5220c.

    My code checks CAP_DUPLEX (it is TWDX_1PASSDUPLEX for both) so I set DUPLEXENABLED = true and XFERCOUNT = 2 when I scan each sheet via the feeder.

    Having got the MSG_XFERREADY message I do the following:

    iRtn = DSM_Entry(m_tAppID,m_tSrcID,DG_IMAGE,DAT_IMAGENATIVEXFER,MSG_GET,lhDIB)
    If iRtn = TWRC_XFERDONE Then
    ' ... process dib handle ... and then check for pending xfers
    iRtn = DSM_Entry(m_tAppID,m_tSrcID,DG_CONTROL,DAT_PENDINGXFERS,MSG_GET,tPending)
    If tPending.Count <> 0 Then
    ' tPending.Count is '-1' - attempt to get second image
    iRtn = DSM_Entry(m_tAppID,m_tSrcID,DG_IMAGE,DAT_IMAGENATIVEXFER,MSG_GET,lhDIB)

    this causes the following error

    The calling procedure is invalid. (Internally)(Code: DS50002)

    Does anyone have any idea how I can get duplex scanning to work for the newer version scanner?

    Thanks

    August 30, 2006 at 6:05 pm #23475 Reply
    dpenney
    Participant
    • Topics - 3
    • Replies - 66
    • Total Posts - 69

    Can you do a duplex scan using the fi5220c DS in any program other than your own? If not, you probably found a bug in the DS. I would suggest trying to contact Fujitsu for a solution.

    If you can do a duplex scan in some other program it MAY indicate that your program will work if you switch to a memory or file transfer. Very few programs use native transfers so perhaps Fujitsu is not aware that their fi5220c DS has a bug when using native transfers for duplex scans.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: I’m perplexed by duplex
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.