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

Brother MFC-8840D WIA pulls all pages & transf. o. lst.

Forums › TWAIN Classic › Brother MFC-8840D WIA pulls all pages & transf. o. lst.

  • This topic has 4 replies, 3 voices, and was last updated 15 years, 2 months ago by spike.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 1, 2005 at 4:55 pm #21807 Reply
    Kaij
    Participant
    • Topics - 9
    • Replies - 132
    • Total Posts - 141

    Hello,

    Here is my problem with a WIA TWAIN driver and my app.

    When a bunch of pages is inserted in the ADF of the Brother MFC-8840D and I initiate a scan it pulls all pages and returns just the bitmap of the last page in native mode. Also Memmode has the problem. It is a WIA driver. Seems that some applications have the problem as mine but some others can deal with it. Any clue?

    TWISTER Report attached

    Start of Twister TWAIN Analysis

    Analysis Started: 2005.10.30 at 20:11:47
    Twister Version: 1.05.002

    — TW_IDENTITY block —
    Product Name: WIA-Brother MFC-8840D USB
    Product Family: Twain Data Source On WIA
    Manufacturer: Brother
    Software Version: 1.0 (“26 June 2000”)
    TWAIN Protocol Version: 1.9

    — DataSource File Version Info —
    WIA-simulated DataSource, no .DS file present.

    Section 1. Capabilities

    If a capability does not appear in the following list, then the device
    reported it as unsupported in conformance with the TWAIN standard.

    CAP_XFERCOUNT:
    GET…………*int16 0
    GETCURRENT……int16 0
    GETDEFAULT……int16 0

    ICAP_COMPRESSION:
    GET………….uint16 ENUM{ TWCP_NONE } Current: TWCP_NONE, Default:
    TWCP_NONE
    GETCURRENT……uint16 TWCP_NONE
    GETDEFAULT……uint16 TWCP_NONE
    SET………….TWCP_NONE ok

    ICAP_PIXELTYPE:
    GET………….uint16 ENUM{ TWPT_BW, TWPT_GRAY, TWPT_RGB } Current:
    TWPT_RGB, Default: TWPT_RGB
    GETCURRENT……uint16 TWPT_RGB
    GETDEFAULT……uint16 TWPT_RGB
    SET………….TWPT_BW ok
    SET………….TWPT_GRAY ok
    SET………….TWPT_RGB ok

    ICAP_UNITS:
    GET………….uint16 ENUM{ TWUN_INCHES, TWUN_PIXELS } Current:
    TWUN_INCHES, Default: TWUN_INCHES
    GETCURRENT……uint16 TWUN_INCHES
    GETDEFAULT……uint16 TWUN_INCHES
    SET………….TWUN_INCHES ok
    SET………….TWUN_PIXELS ok

    ICAP_XFERMECH:
    GET………….uint16 ENUM{ TWSX_NATIVE, TWSX_FILE, TWSX_MEMORY }
    Current: TWSX_NATIVE, Default: TWSX_NATIVE
    GETCURRENT……uint16 TWSX_NATIVE
    GETDEFAULT……uint16 TWSX_NATIVE
    SET………….TWSX_NATIVE ok
    SET………….TWSX_FILE ok
    SET………….TWSX_MEMORY ok

    CAP_FEEDERENABLED:
    GET………….bool FALSE
    GETCURRENT……bool FALSE
    GETDEFAULT……bool FALSE
    SET(TRUE)…….ok
    SET(FALSE)……ok

    CAP_FEEDERLOADED:
    GET………….bool TRUE
    GETCURRENT……bool TRUE
    GETDEFAULT……bool TRUE

    CAP_SUPPORTEDCAPS:
    GET………….uint16 ARRAY[ CAP_XFERCOUNT, CAP_SUPPORTEDCAPS,
    CAP_UICONTROLLABLE, ICAP_COMPRESSION, ICAP_PLANARCHUNKY,
    ICAP_PHYSICALHEIGHT, ICAP_PHYSICALWIDTH,
    ICAP_PIXELFLAVOR,
    ICAP_BITDEPTH, ICAP_BITORDER, ICAP_PIXELTYPE,
    ICAP_UNITS,
    ICAP_XFERMECH, ICAP_XRESOLUTION, ICAP_YRESOLUTION,
    ICAP_IMAGEFILEFORMAT, CAP_INDICATORS,
    CAP_ENABLEDSUIONLY,
    CAP_DEVICEONLINE, ICAP_XNATIVERESOLUTION,
    ICAP_YNATIVERESOLUTION, ICAP_BRIGHTNESS, ICAP_CONTRAST,
    ICAP_XSCALING, ICAP_YSCALING, ICAP_THRESHOLD,
    CAP_FEEDERENABLED, CAP_FEEDERLOADED, CAP_AUTOFEED ]
    GETCURRENT……ditto
    GETDEFAULT……ditto

    CAP_AUTOFEED:
    GET………….bool FALSE
    GETCURRENT……bool FALSE
    GETDEFAULT……bool FALSE
    SET(TRUE)…….ok
    SET(FALSE)……ok

    CAP_INDICATORS:
    GET………….bool TRUE
    GETCURRENT……bool TRUE
    GETDEFAULT……bool TRUE
    SET(FALSE)……ok
    SET(TRUE)…….ok

    CAP_UICONTROLLABLE:
    GET………….bool TRUE
    GETCURRENT……bool TRUE
    GETDEFAULT……bool TRUE

    CAP_DEVICEONLINE:
    GET………….bool TRUE
    GETCURRENT……bool TRUE
    GETDEFAULT……bool TRUE

    CAP_ENABLEDSUIONLY:
    GET………….bool FALSE
    GETCURRENT……bool FALSE
    GETDEFAULT……bool FALSE

    ICAP_BRIGHTNESS:
    GET………….fix32 From -1000 To 1000 Step 1, Current: 0, Default: 0
    GETCURRENT……fix32 0
    GETDEFAULT……fix32 0
    SET………….0 close enough: 1.52588e-005
    SET………….-1000 ok
    SET………….-500 ok
    SET………….500 close enough: 500
    SET………….1000 ok

    ICAP_CONTRAST:
    GET………….fix32 From -1000 To 1000 Step 1, Current: 0, Default: 0
    GETCURRENT……fix32 0
    GETDEFAULT……fix32 0
    SET………….0 close enough: 1.52588e-005
    SET………….-1000 ok
    SET………….-500 ok
    SET………….500 close enough: 500
    SET………….1000 ok

    ICAP_IMAGEFILEFORMAT:
    GET………….uint16 ENUM{ TWFF_BMP, TWFF_TIFFMULTI } Current:
    TWFF_BMP,
    Default: TWFF_BMP
    GETCURRENT……uint16 TWFF_BMP
    GETDEFAULT……uint16 TWFF_BMP
    SET………….TWFF_BMP ok
    SET………….TWFF_TIFFMULTI ok

    ICAP_PHYSICALWIDTH:
    GET………….fix32 8.5
    GETCURRENT……fix32 8.5
    GETDEFAULT……fix32 8.5

    ICAP_PHYSICALHEIGHT:
    GET………….fix32 11.692993
    GETCURRENT……fix32 11.692993
    GETDEFAULT……fix32 11.692993

    ICAP_XNATIVERESOLUTION:
    GET………….fix32 600
    GETCURRENT……fix32 600
    GETDEFAULT……fix32 600

    ICAP_YNATIVERESOLUTION:
    GET………….fix32 2400
    GETCURRENT……fix32 2400
    GETDEFAULT……fix32 2400

    ICAP_XRESOLUTION:
    GET………….fix32 ENUM{ 100, 150, 200, 300, 400, 500, 600, 1200 }
    Current: 100, Default: 100
    GETCURRENT……fix32 100
    GETDEFAULT……fix32 100
    SET………….100 ok
    SET………….150 ok
    SET………….200 ok
    SET………….300 ok
    SET………….400 ok
    SET………….500 ok
    SET………….600 ok
    SET………….1200 ok

    ICAP_YRESOLUTION:
    GET………….fix32 ENUM{ 100, 150, 200, 300, 400, 500, 600, 1200 }
    Current: 100, Default: 100
    GETCURRENT……fix32 100
    GETDEFAULT……fix32 100
    SET………….100 ok
    SET………….150 ok
    SET………….200 ok
    SET………….300 ok
    SET………….400 ok
    SET………….500 ok
    SET………….600 ok
    SET………….1200 ok

    ICAP_BITORDER:
    GET………….uint16 ENUM{ TWBO_MSBFIRST } Current: TWBO_MSBFIRST,
    Default: TWBO_MSBFIRST
    GETCURRENT……uint16 TWBO_MSBFIRST
    GETDEFAULT……uint16 TWBO_MSBFIRST
    SET………….TWBO_MSBFIRST ok

    ICAP_PIXELFLAVOR:
    GET………….uint16 ENUM{ TWPF_CHOCOLATE, TWPF_VANILLA } Current:
    TWPF_CHOCOLATE, Default: TWPF_CHOCOLATE
    GETCURRENT……uint16 TWPF_CHOCOLATE
    GETDEFAULT……uint16 TWPF_CHOCOLATE
    SET………….TWPF_CHOCOLATE ok
    SET………….TWPF_VANILLA ok

    ICAP_PLANARCHUNKY:
    GET………….uint16 TWPC_CHUNKY
    GETCURRENT……uint16 TWPC_CHUNKY
    GETDEFAULT……uint16 TWPC_CHUNKY
    SET………….TWPC_CHUNKY ok

    ICAP_THRESHOLD:
    GET………….fix32 From 0 To 255 Step 1, Current: 128, Default: 128
    GETCURRENT……fix32 128
    GETDEFAULT……fix32 128
    SET………….0 ok
    SET………….128 ok
    SET………….63 ok
    SET………….127 ok
    SET………….191 ok
    SET………….255 ok

    ICAP_XSCALING:
    GET………….fix32 From 1 To 1 Step 1, Current: 1, Default: 1
    GETCURRENT……fix32 1
    GETDEFAULT……fix32 1
    SET………….1 ok

    ICAP_YSCALING:
    GET………….fix32 From 1 To 1 Step 1, Current: 1, Default: 1
    GETCURRENT……fix32 1
    GETDEFAULT……fix32 1
    SET………….1 ok

    ICAP_BITDEPTH:
    GET…………*uint16 ENUM{ 1, 8, 24 } Current: 24, Default: 24
    GETCURRENT……uint16 24
    GETDEFAULT……uint16 24

    Section 2. Image Layout

    DG_IMAGE, DAT_IMAGELAYOUT, MSG_RESET => OK.
    DG_IMAGE, DAT_IMAGELAYOUT, MSG_GETDEFAULT => ( 0, 0, 8.5, 11.69).
    DG_IMAGE, DAT_IMAGELAYOUT, MSG_GET => ( 0, 0, 8.5, 11.69).
    DG_IMAGE, DAT_IMAGELAYOUT, MSG_SET (1.06, 1.94, 2.12, 3.89) => Failed.


    Questions [? items]



    (0) ICAP_BITDEPTH: GET contains value 24. Technically non-compliant.


    Compliance Issues [* items]



    (0) CAP_XFERCOUNT: GET after open, current value is not -1.
    (1) CAP_DEVICEONLINE: RESET succeeded when it should fail.
    (2) CAP_FEEDERLOADED: RESET succeeded when it should fail.
    (3) CAP_UICONTROLLABLE: RESET succeeded when it should fail.
    (4) CAP_ENABLEDSUIONLY: RESET succeeded when it should fail.
    (5) ICAP_PHYSICALWIDTH: RESET succeeded when it should fail.
    (6) ICAP_PHYSICALHEIGHT: RESET succeeded when it should fail.
    (7) ICAP_XNATIVERESOLUTION: RESET succeeded when it should fail.
    (8) ICAP_YNATIVERESOLUTION: RESET succeeded when it should fail.
    (9) DG_IMAGE, DAT_IMAGELAYOUT, MSG_SET (1.06, 1.94, 2.12, 3.89) failed
    although it is mandatory.


    End Twister Analysis.

    Best regards,

    Kai

    November 3, 2005 at 6:07 pm #23143 Reply
    Thierry
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    @Kaij wrote:

    Hello,

    Here is my problem with a WIA TWAIN driver and my app.

    When a bunch of pages is inserted in the ADF of the Brother MFC-8840D and I initiate a scan it pulls all pages and returns just the bitmap of the last page in native mode. Also Memmode has the problem. It is a WIA driver. Seems that some applications have the problem as mine but some others can deal with it. Any clue?

    Kai

    Try a memory tranfer mode … especially if some others applications works well …

    November 3, 2005 at 8:47 pm #23144 Reply
    Thierry
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    @Kaij wrote:

    Hello,

    Here is my problem with a WIA TWAIN driver and my app.

    When a bunch of pages is inserted in the ADF of the Brother MFC-8840D and I initiate a scan it pulls all pages and returns just the bitmap of the last page in native mode. Also Memmode has the problem. It is a WIA driver. Seems that some applications have the problem as mine but some others can deal with it. Any clue?

    Kai

    Try a memory tranfer mode … especially if some others applications works well …

    November 5, 2005 at 5:59 pm #23145 Reply
    Kaij
    Participant
    • Topics - 9
    • Replies - 132
    • Total Posts - 141

    The problem is the same in memory transfer mode. It is the same with TWACKER and dozens of other applications. TWRC_XFERDONE is only recieved after the last page. All previous pages are lost.

    Scansoft PaperPort 8 which comes with the Brother receives all pages. So ther must be a way to get the WIA TWAIN driver working.

    Did anyone make the same expirience and found a solution?

    Best regards,

    Kai

    November 14, 2005 at 7:05 pm #23146 Reply
    spike
    Participant
    • Topics - 10
    • Replies - 139
    • Total Posts - 149

    We’ve seen this with several Brother MFDs, most recently the MFC-5840CN. I guess there is a chance it is a bug inside the Microsoft WIA-TWAIN bridge (which all of these seem to be using). Even Microsoft admits that WIA-TWAIN is bad news for multipage ADF scanning. It’s also possible it’s a bug in the Brother WIA driver. I don’t know what PaperPort is doing, but one possibility is that it talks directly to WIA and so does not go through TWAIN at all.

    Does anybody have a contact at Brother who could help? We (Dosadi) have had to recommend avoiding all Brother multifunction devices for automated TWAIN scanning.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Brother MFC-8840D WIA pulls all pages & transf. o. lst.
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.