Comment 6 for bug 340099

Revision history for this message
Jeffrey Ratcliffe (jeffreyratcliffe) wrote : Re: [Bug 340099] Re: Scan all pages option doesn't stop when all pages are done

On Mar 10, 2009 11:33pm, Jack Senechal <email address hidden> wrote:
> 1) Implement some logic like this, since it's implied you want to use the
> ADF if you're scanning more than one page at a time:
> if (pages == 'all' || pages > 1) {
> if (batch-scan-option-present) {
> enable batch-scan
> }
> }

Or if you specify the ADF directly:

if (batch-scan-option-present) {
if ($source == 'ADF' or ($source == 'auto' and ((pages == 'all' || pages >
1)) {
enable batch-scan
}
}

> 2) Detect when the ADF is out of paper and stop scanning then. The

The detection is only passed onto SANE when the batch-scan option is
enabled.

I'll look at implementing option 1.