[sane-devel] sane_cancel()

m. allan noah kitno455 at gmail.com
Wed Jul 16 11:09:36 UTC 2008


On 7/16/08, Kåre Särs <kare.sars at kolumbus.fi> wrote:
> On Wednesdayen den 16 July 2008 09:28:49 Nicolas wrote:
>  > pixma backend can handle batch scan, I've tested it under both xsane and
>  > scanimage -b :
>  >
>  > $ scanimage -b
>  > Scanning -1 pages, incrementing by 1, numbering from 1
>  > Scanning page 1
>  > Scanned page 1. (scanner status = 5)
>  > Scanning page 2
>  > Scanned page 2. (scanner status = 5)
>  > Scanning page 3
>  > Scanned page 3. (scanner status = 5)
>  > Scanning page 4
>  > ...
>  >
>  > Is that correct ?
>  > AFAIK, there's no need to call sane_cancel () at the end of each page,
>  > when using the pixma backend.
>  >
>  > Kare, is there a way I can help with libksane and the pixma backend ?
>  > Could you describe exactly the test you're doing, and which fails ?
>  >
>  > Nicolas
>  >
>
> Thankyou, the problem was that the backend did not accept writes to any
>  parameters after a scan without a sane_cancel at the end. After a preview
>  scan (without the sane_cancel) it was not possible to make a selection.
>
>  So the problem was that libksane doses/did not follow the standard. I'll fix
>  libksane ASAP.

yes- perhaps the standard is not clear enough, but a preview would be
a different batch from the actual scans, so many backends will lock
you out of option changing if you dont call sane_cancel.
-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list