> Does it work if you set batch-scan=no and scan from the flatbed?

Yes, then it works, sort of:

piper:~> 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 >| /tmp/scan.pnm
Scanning -1 pages, incrementing by 1, numbering from 1
Scanning page 1
Scanned page 1. (scanner status = 5)
Scanning page 2
scanimage: sane_start: Error during device I/O

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

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.

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.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to