[sane-devel] I have achieved ADF duplex scan(m. allan noah)

m. allan noah kitno455 at gmail.com
Thu Jun 19 12:15:12 UTC 2008


On 6/18/08, eagleskycloud <eagleskycloud at gmail.com> wrote:
>
>
>
> >1. are you employed by microtek?
>
>     Yes,I am.
> >2. do you know if the 2020s also uses the same protocol?
>
>    I don't know the protocol that 2020s use. As far as I know, the 2020s is
> different from 4020s in  hardware. If you want to develop the driver of
> 2020s, you could contact with us.
>
> >3. are you planning to release the driver source for inclusion into SANE?
>
>   It is determined by our leader Whether we release the driver source for
> inclusion into SANE.

did you use any sanei functions (like sanei_usb) in the development of
the driver? if so, your code may be automatically covered by the GPL
if you ever release it. this is a current point of debate on the
mailing list.

allan

>
>
>
> >
> ---------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 18 Jun 2008 09:59:42 -0400
> > From: "m. allan noah" <kitno455 at gmail.com>
> > Subject: Re: [sane-devel] I have achieved ADF duplex scan
> > To: eagleskycloud <eagleskycloud at gmail.com>
> > Cc: sane-devel at lists.alioth.debian.org
> > Message-ID:
> >
> <97246d0e0806180659o10719028k72e04d5bc3cb9836 at mail.gmail.com>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > nice work- i have a few questions:
> >
> > 1. are you employed by microtek?
> > 2. do you know if the 2020s also uses the same protocol?
> > 3. are you planning to release the driver source for inclusion into SANE?
> >
> > allan
> >
> > 2008/6/17 eagleskycloud <eagleskycloud at gmail.com>:
> > >
> > > Hi ,
> > >
> > > With your help,I have achieved duplex ADF scan in our backend with
> > > sane-backends 1.0.19 and XSane 0.995. Xsane could get front image and
> back
> > > image of a paper at the same time while scanning with ADF.
> > >
> > >    I save back image in a buffer allocated by my backends  then Xsane
> read
> > > a back image  after XSane have get a whole front image.
> > >
> > >    Below suggestion is from m. allan noah:
> > >
> > > 1. from the frontend perspective, duplex is no different from simplex
> > > adf, there are just more images.
> > >
> > > 2. i have never gotten xsane's multi-page mode to work, i use
> > > 'scanimage -b' or 'scanadf' command line tools
> > >
> > > 3. there are several other backends which support duplex scans.
> > > fujitsu, avision, epjitsu come to mind. You could look at their code
> > > for suggestions, but then your code becomes a derivative work, and you
> > > must release it also under the GPL.
> > >
> > > 4. The way to write your code depends on the scanner. If the scanner
> > > has enough memory to buffer the back side data until after the
> > > front-side has been read, then you just read them sequentially. if the
> > > scanner sends back the data interlaced, then you must buffer the back
> > > side in memory until the front side has been sent to front-end, then
> > > read back side from buffer. the fujitsu backend demonstrates both of
> > > these.
> > >
> > > 5. be aware that a proper front-end in batch mode will call
> > > sane_start() at the beginning of each page, but only call sane_cancel
> > > after the last page returns SANE_STATUS_NO_DOCS.
> > > ...
> > >
> > > Thank you.
> > >
> > >
> > > --
> > > sane-devel mailing list:
> sane-devel at lists.alioth.debian.org
> > >
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > > Unsubscribe: Send mail with subject "unsubscribe your_password"
> > >             to
> sane-devel-request at lists.alioth.debian.org
> > >
> >
> >
> >
> > --
> > "The truth is an offense, but not a sin"
> >
>
>


-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list