<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Timo,</p>
<p>First, we should enable your Ubuntu system to scan via flatbed,
adf simple and adf duplex. Sorry, I have no experiences scanning
adf pages from scanimage in batch mode. Therefore we should start
using gsan2pdf. <br>
</p>
<p>Maybe somebody on the list can provide running scanimage batch
mode calls for pixma scanners using adf simple and adf duplex.</p>
<p>To make sure using the most recent version you should install
SANE from my ppa:
<a class="moz-txt-link-freetext" href="https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git">https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git</a> . OK,
you can stay using your self compiled version on Ubuntu, if you
followed the installation instructions from INSTALL.linux. <br>
</p>
<p>The ppa should also provide the recent SANE version for your rasp
pi (armhf or arm64; the packet manager should select the correct
version).<br>
</p>
<p>OK, after installing (and removing a cruddy self compiled
version: $ sudo make uninstall) the most recent version of SANE,
you can create a logfile on a console with, e.g.:</p>
<p>$ SANE_DEBUG_PIXMA=11 gscan2pdf &> pixma.log</p>
<p>On your raspberry pi (and Ubuntu) you can use this corresponding
command for scanimage:</p>
<p>$ SANE_DEBUG_PIXMA=11 scanimage [options] &> pixma.log</p>
<p>Maybe we need to debug and fix some issues on your Ubuntu machine
first.<br>
</p>
<p>Second, if all scan types are running with gscan2pdf we can find
a working scanimage command which then can be simply adapted into
your raspberry pi.<br>
</p>
<p>Please provide the logfile of a failed scan in an archive, e.g.
tar.gz, zip or 7z.</p>
<p>Hope this helps.</p>
<p>Cheers,<br>
Rolf<br>
</p>
<br>
<br>
<br>
<div class="moz-cite-prefix">Am 01.08.2017 um 22:07 schrieb Timo
Ziegler:<br>
</div>
<blockquote type="cite"
cite="mid:34889f07-ba1f-c771-f06c-21cc6ceccc32@alexandrez.de">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Hi Rolf,<br>
<br>
thanks for your answer.<br>
<br>
I am using scanimage on my raspberry pi without any GUI.<br>
Now I tried scanning via my ubuntu desktop system, but the
document is just stopping in the ADF and the MX725 wants that I
press OK to get the document back. I already tried to reinstall
sane and the pixma backend (sane via apt-get remove and the pixma
backend by checking out via git and compiling again). Same result.<br>
<br>
Is there maybe a way to debug my problem via console on the
raspberry pi, since the scanning there is working, just no ADF
Duplex and batch without providing the number of pages?<br>
<br>
Best regards<br>
Timo<br>
<br>
<div id="smartTemplate4-quoteHeader">-------- Original-Nachricht
--------<br>
<b>Betreff:</b> Re: [sane-devel] Canon PIXMA MX725: ADF scan
duplex and automatic recognition of number of pages<br>
<b>Datum:</b> Tue, 1 Aug 2017 20:47:11 +0200<br>
<b>Von:</b> Rolf Bensch<br>
<b>An:</b> Timo Ziegler</div>
<blockquote type="cite"
cite="mid:ed182806-acc9-6c1b-af61-304801011545@bensch-online.de">
<pre wrap="">Hi Timo,
I prefer gscan2pdf for multi page adf scans.
Please report if your problem also occurs with gscan2pdf.
Many thanks for your help.
Cheers,
Rolf
Am 29.07.2017 um 12:49 schrieb Timo Ziegler:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I got my MX725 running with scanimage on sane-pixma backend.
My last problems are that I can't scan in duplex mode via ADF and that
a ADF batch scan tries to scan another page after all pages are gone
from the ADF and then just gets stuck (need to use Ctrl + C once or
twice).
To scan in duplex mode, I tried the following options:
--ScanMode=Duplex => unrecognized option "--ScanMode"
--source="ADFDUP"
--source="Automatic Document Feeder(left align,duplex)
--source="Automatic Document Feeder(left align,Duplex)
and maybe some variations more => setting of option --source failed
(Invalid argument)
To scan "infinity pages, incrementing by 1, numbering from 1", I just
used --batch and scanned.
It's successfully scanning all the pages + tried to scan a next one
after the ADF runs out of pages to scan.
// Scanning page 1
// Scanned page 1. (scanner status = 5)
// Scanning page 2
Then nothing happens anymore. When I press Ctrl + C, it tries to
// scanimage: received signal 2
// scanimage: trying to stop scanner
Nothing happens, so I press Ctrl + C again
// scanimage: received signal 2
// scanimage: aborting
Scanning via --batch --batch-number=2 works fine, but I want to use
scanbuttond later so I don't want to set the number of pages every time.
I tried using --adf-wait=3 but this option is not recognized. It's not
listed in scanimage -A, but I found it in the online pixma-backend
documentation.
I hope, somebody can give a hint.
Thanks in advance
Timo
</pre>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>