Re: Writing Fujitsu M3091 backend

From: mh (crapsite@gmx.net)
Date: Thu Mar 01 2001 - 13:06:25 PST

  • Next message: Oliver Rauch: "OT: Is "fileno()" conform to ANSI or POSIX?"

    Oliver Rauch, Don, 01 Mär 2001 :
    [...]
    > This is why the status code does exist. I think it does not make a
    > difference here if the scanner scans a new page, the backside of a page
    > or gets the image from memory. It is not a hack.
    >
    > > The graphical frontends normally inform the user, if a sane_read() returns
    > > SANE_STATUS_NO_DOCS.
    >
    > When XSane runs in ADF mode, it does print the error message "no docs"
    > when the first sane_start returns with SANE_STATUS_NO_DOCS.
    > When there is at least one page scanned XSane does print a message
    > "# pages scanned".

    Okok, I'm almost convinced that this is the easiest solution for the moment.
    I'll add an appropriate option to my app.

    Thanks for your explanations

    bb
    Michael

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Thu Mar 01 2001 - 13:13:04 PST