also sprach Jeffrey Ratcliffe <[EMAIL PROTECTED]> [2007.07.18.1344 +0200]:
> It occurs to me that here, you should be specifying that you only want 1 
> scan:
>
> scanimage 
> --device-name='net:sane:hpaio:/net/HP_LaserJet_3052?ip=192.168.14.31'
> --mode='Grayscale' --contrast='50' -x 210 -y 297 -l 0
> --compression='JPEG' --resolution='200' -t 0 --source=Auto --batch
> --batch-scan=no --batch-count=1

I want to scan *all* pages. If the ADF is not in use, that's the
same as 1. I don't see why I should have to specify this explicitly.

> Assuming this works, perhaps I should add a check to gscan2pdf that
> forces number of pages to scan to be 1 if batch-scan=no.

If I scan with batch-scan=no and all batch-count=all, then it works
but simply takes ages processing page two before closing the
dialog.

Can't gscan2pdf determine whether ADF is in use, and if not set
batch-scan=off and batch-count=1?

>> Anyway, despite the error, using batch-scan=no or not using
>> batch-scan does actually produce out1.pnm, which it should. I was
>> just put off by the error message.
>
> I'd rather not suppress the error message, because the same message
> can be produced by a real problem.

gscan2pdf does not produce an error message; only scanimage does.

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to