[sane-devel] Fujitsu M3093GD

Andi McLean andi_mclean@ntlworld.com
07 Nov 2003 19:28:19 +0000


Thank you so much, that worked.

scanimage wouldn't save the 2nd image but it wasn't giving an error when
setting the window.

I used 
scanadf -dfujitsu:/dev/sg2 --duplex both  --mode=lineart 
and it just worked. 


Thanks for you time and effort

Andi

On Fri, 2003-11-07 at 17:31, m. allan noah wrote:
> On 7 Nov 2003, Andi McLean wrote:
> 
> > On Thu, 2003-11-06 at 08:57, Oliver Schirrmeister wrote:
> > > Am Mit, 2003-11-05 um 21.40 schrieb m. allan noah:
> > > > On 5 Nov 2003, Andi McLean wrote:
> > > > 
> > > > > Hi,
> > > > > 
> > > > > I'm using 
> > > > > red-hat 8.0 
> > > > > sane-backends 1.0.12
> > > > > scanimage 1.0.12
> > > > > and a M3093GD
> > > > > 
> > > > > Scanning the front of the document works perfectly but if I try to scan
> > > > > the back page I get about 38 rows of blank image. If I try full duplex I
> > > > > only get the front side. Does any one have any ideas of what causes this
> > > > > or how to fix it?
> > > > 
> > > > try using scanadf instead of scanimage, and see what that does for the 
> > > > duplex=both situation. for the duplex=back, i am not sure why the image is 
> > > > truncated. try turning on some debug:
> > > 
> > > I'm not shure if the scanner supports back side only. As far as I remember
> > > the fujitsu windows twain-driver doesn't offer this feature.
> > > Duplex scan works with that scanner at least with sane-backends 1.08 
> > > I havn't tried newer versions.
> > You're right about not being able to scan just the back page. 
> > I've turned on debug as suggested and there seems to be a problem when
> > setting up the window.
> > 
> > Selected output follows :-
> > .... truncated
> > [fujitsu] wait_scanner
> > [fujitsu] test_unit_ready
> > [fujitsu] 000: 00 00 00 00 00 00
> > [fujitsu] <cmd<
> > [fujitsu] 000: 00 00 00 00 00 00
> > [fujitsu] sanei_scsi_cmd: returning 0 bytes:
> > [fujitsu] wait_scanner: ok
> > [fujitsu] set_window_param
> > [fujitsu] Window set - front
> > [fujitsu] 000: 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00 00 00
> > [fujitsu] 016: 27 d7 00 00 36 cf 00 00 00 02 08 00 00 00 00 00
> > [fujitsu] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0
> > [fujitsu] 048: 20 00 00 00 00 84 00 00 00 00 00 00 00 00 00 00
> > [fujitsu] Window set - back
> > [fujitsu] 000: 80 00 01 2c 01 2c 00 00 00 00 00 00 00 00 00 00
> > [fujitsu] 016: 27 d7 00 00 36 cf 00 00 00 02 08 00 00 00 00 00
> > [fujitsu] 032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0
> > [fujitsu] 048: 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > [fujitsu] <cmd<
> > [fujitsu] 000: 24 00 00 00 00 00 00 00 88 00 00 00 00 00 00 00
> > [fujitsu] 016: 00 40 00 00 01 2c 01 2c 00 00 00 00 00 00 00 00
> > [fujitsu] 032: 00 00 27 d7 00 00 36 cf 00 00 00 02 08 00 00 00
> > [fujitsu] 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > [fujitsu] 064: 00 a0 20 00 00 00 00 84 00 00 00 00 00 00 00 00
> > [fujitsu] 080: 00 00 80 00 01 2c 01 2c 00 00 00 00 00 00 00 00
> > [fujitsu] 096: 00 00 27 d7 00 00 36 cf 00 00 00 02 08 00 00 00
> > [fujitsu] 112: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > [fujitsu] 128: 00 a0 20 00 00 00 00 00 00 00 00 00 00 00 00 00
> > [fujitsu] 144: 00 00
> > [fujitsu]       5/38/0: Invalid field in parm list 
> > [fujitsu] sanei_scsi_cmd: returning 0x00000004
> > [fujitsu] sanei_scsi_cmd: returning 0 bytes:
> > [fujitsu] sane_start: ERROR: failed to set window
> > [fujitsu] freeScanner
> > [fujitsu] release_unit
> 
> you are trying to do an 8bit grayscale, duplex scan. i notice 1 thing now 
> in the manual for the M3093DG: 'duplex reading supports only 0x01' 
> (lineart)
> 
> try setting --mode=lineart and see if that works. if so, i will update the 
> backend to prevent you from trying :)
> 
> allan
> 
> 
> > 
> > .... truncated
> > > 
> > if you need any more of the debug info just ask.
> > 
> > Many thanks for your help 
> > 
> > Andi
> > 
> > 
> > 
> > _______________________________________________
> > sane-devel mailing list
> > sane-devel@lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> >