Re: [sane-devel] Pixma: ADF paper empty patch for Canon Pixma MX???

2014-05-18 Thread Rolf Bensch
Hi Matthias,


Am 17.05.2014 18:56, schrieb Matthias Peter Walther:
 Hallo Rolf,

 I'm sorry, I couldn't reply earlier. I had some issues with my pc, hdd
 crash.

 I pulled the patch from the git and I can't get higher resolutions than
 75 anymore while using the ADF. It resets the resolution back to 75 all
 the time.

 But the out-of-paper issues works great and the scaner recovers
 perfectly from the error state now.

OK

 Could you look into that resolution issue please?

 ===
 $ scanimage --resolution 300 --batch=test%02db.pnm --source Automatic
 Document Feeder

You need to reorder the options of scanimage.

'scanimage --help' tells me:
Usage: scanimage [OPTION]...
[...]
--source Flatbed|Transparency Unit [Flatbed]
Selects the scan source (such as a document-feeder). Set source
before
mode and resolution. Resets mode and resolution to auto values.
[...]

My scanner has a transparent unit and no document feeder, but the
handling is the same.

 [...]


$ scanimage --source Automatic Document Feeder --resolution 300
--batch=test%02db.pnm
should work.

Cheers,
Rolf


-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] scanimage / tesseract interoperability

2014-05-18 Thread Olaf Meeuwissen
Jeff Breidenbach writes:

 When I run scanimage on a Fujitsu S1500, the program is a little
 unhappy even after normal operation, note the return code.  This
 is not great for pipelines. Should I attempt a fix? This is version
 1.0.23-3ubuntu3 on the latest Ubuntu release. Sorry, I haven't yet
 figured out how to configure a vanilla build of SANE from git to
 talk to hardware.

 $ scanimage --batch
 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
 scanimage: sane_start: Document feeder out of documents
 $ echo $?
 7

That's SANE_STATUS_NO_DOCS which is to be expected for --batch scans.
I'd say scanimage should return EXIT_SUCCESS for --batch scans if and
only if it has successfully acquired at least one image.  That is,
starting a --batch scan without any originals in the feeder should still
return SANE_STATUS_NO_DOCS.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962   Help support software freedom
 http://www.fsf.org/jf?referrer=1962

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org