Home › Forums › TWAIN Classic › Brother MFC-8840D WIA pulls all pages & transf. o. lst.
- This topic has 4 replies, 3 voices, and was last updated 18 years, 6 months ago by spike.
- AuthorPosts
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 0ICAP_COMPRESSION:
GET………….uint16 ENUM{ TWCP_NONE } Current: TWCP_NONE, Default:
TWCP_NONE
GETCURRENT……uint16 TWCP_NONE
GETDEFAULT……uint16 TWCP_NONE
SET………….TWCP_NONE okICAP_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 okICAP_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 okICAP_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 okCAP_FEEDERENABLED:
GET………….bool FALSE
GETCURRENT……bool FALSE
GETDEFAULT……bool FALSE
SET(TRUE)…….ok
SET(FALSE)……okCAP_FEEDERLOADED:
GET………….bool TRUE
GETCURRENT……bool TRUE
GETDEFAULT……bool TRUECAP_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……dittoCAP_AUTOFEED:
GET………….bool FALSE
GETCURRENT……bool FALSE
GETDEFAULT……bool FALSE
SET(TRUE)…….ok
SET(FALSE)……okCAP_INDICATORS:
GET………….bool TRUE
GETCURRENT……bool TRUE
GETDEFAULT……bool TRUE
SET(FALSE)……ok
SET(TRUE)…….okCAP_UICONTROLLABLE:
GET………….bool TRUE
GETCURRENT……bool TRUE
GETDEFAULT……bool TRUECAP_DEVICEONLINE:
GET………….bool TRUE
GETCURRENT……bool TRUE
GETDEFAULT……bool TRUECAP_ENABLEDSUIONLY:
GET………….bool FALSE
GETCURRENT……bool FALSE
GETDEFAULT……bool FALSEICAP_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 okICAP_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 okICAP_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 okICAP_PHYSICALWIDTH:
GET………….fix32 8.5
GETCURRENT……fix32 8.5
GETDEFAULT……fix32 8.5ICAP_PHYSICALHEIGHT:
GET………….fix32 11.692993
GETCURRENT……fix32 11.692993
GETDEFAULT……fix32 11.692993ICAP_XNATIVERESOLUTION:
GET………….fix32 600
GETCURRENT……fix32 600
GETDEFAULT……fix32 600ICAP_YNATIVERESOLUTION:
GET………….fix32 2400
GETCURRENT……fix32 2400
GETDEFAULT……fix32 2400ICAP_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 okICAP_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 okICAP_BITORDER:
GET………….uint16 ENUM{ TWBO_MSBFIRST } Current: TWBO_MSBFIRST,
Default: TWBO_MSBFIRST
GETCURRENT……uint16 TWBO_MSBFIRST
GETDEFAULT……uint16 TWBO_MSBFIRST
SET………….TWBO_MSBFIRST okICAP_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 okICAP_PLANARCHUNKY:
GET………….uint16 TWPC_CHUNKY
GETCURRENT……uint16 TWPC_CHUNKY
GETDEFAULT……uint16 TWPC_CHUNKY
SET………….TWPC_CHUNKY okICAP_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 okICAP_XSCALING:
GET………….fix32 From 1 To 1 Step 1, Current: 1, Default: 1
GETCURRENT……fix32 1
GETDEFAULT……fix32 1
SET………….1 okICAP_YSCALING:
GET………….fix32 From 1 To 1 Step 1, Current: 1, Default: 1
GETCURRENT……fix32 1
GETDEFAULT……fix32 1
SET………….1 okICAP_BITDEPTH:
GET…………*uint16 ENUM{ 1, 8, 24 } Current: 24, Default: 24
GETCURRENT……uint16 24
GETDEFAULT……uint16 24Section 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
@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 …
@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 …
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
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.
- AuthorPosts