Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Problems with ADF programming TWAIN

Options
  • 30-09-2003 11:57am
    #1
    Registered Users Posts: 32,417 ✭✭✭✭


    Background....

    If you have an ADF you can:
    * Scan from "flatbed", i.e. ADF is "disabled"
    * Scan all the pages on ADF (The default if ADF enabled)
    * Scan a fixed number of pages (i.e. one at a time is good)


    I had this working on a very wide variety of scanners over a year, first on NT4.0 and some while on XP professional.

    I want to take one page at a time from the ADF. It used to work!

    Suddenly I can only scan all the pages or the flatbed.

    * tried various scanners
    * replaced all TWAIN and TWUNK files in Windows and Windows\System32
    * Deleted TWAIN DS folders and device registry entries and reinstalled.


    On a newer version of Epson Twain 5 (1260, 1640, 1200 etc) I now get a NEW message if I use the Epson Twain UI (GUI).

    It warns me the scanner is set to scan all the pages.


    Examining the innards of Twain:
    * Cap_XFerCount is -1 for scan all pages. 1 = scan one page from ADF. If you set this property to 1 and read it back it is still -1

    Why?

    I have set it in C++ using Twain Working Group sample application (Twacker). Same problem

    I have set it in VB6 using iTwain OCX from ImagineIT. Same results.

    Also tried Fujitsu ScanPartner 620 scanner.


    Using SCSI.

    Same on AVA2904 on new DELL Workstation and on my Inspiron 8200 with APA1460 PCMCIA SCSI.


    Both PCs are "uptodate" with dreaded MS Patches using Widows Update for XP.

    512M RAM

    Is this something evil MS has done in a patch to XP?

    Original SW written a year ago and all the apps in Windows have this behaviour (PSP7 etc).


    Any Ideas?


Advertisement