On Tue, Sep 28, 2010 at 4:58 AM, Nicolas Martin <span dir="ltr">&lt;<a href="mailto:nicolas0martin@gmail.com">nicolas0martin@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Could you describe a little bit more what was the issue with grayscale<br>
scan on MX310 ?<br></blockquote><div><br>&gt; BTW, B&amp;W is currently not supported on this model, some more details<br>
&gt; about how you were proceeding would be useful to step further.<br> <br></div><div><br>Hello Nicolas, Allan,<br><br>Thank you for stepping in.  I didn&#39;t want to bore the whole list with a blow-by-blow description at first, but you asked for it, so here goes.  :)<br>

<br>I was using gscan2pdf 0.9.29 to scan, under LinuxMint 8 (Helena).  This is built on Ubuntu.  gscan2pdf is the only Linux program I have found so far that comes anywhere close to the Windows PaperPort I was using before switching to Linux.  When attempting to scan, this program opens a dialog box and looks for all scanning devices.  It found the Cannon MX310, and presented options for scanning.  <br>

<br>At first, it presented both Colour and Greyscale options.  I am wanting to use the ASF to scan multiple documents into one PDF in B&amp;W (aiming for smaller file sizes for storage and emailing) so I would choose &quot;Greyscale&quot; (as B&amp;W was not an available option).  Then I would use the &quot;threshold&quot; tool to optimise the result and then save.  Although this would not give as small a file size as Paperport, at least it was acceptable.<br>

<br>After some months, when I opened the dialog to scan, the Greyscale option would not work properly.  When selecting it, some different options (brightness was one I can remember)  would become visible, and no matter what values I entered, there would be an error message to the effect that these options were not supported by the scanner.  So I had to scan in colour, but the result even after using the threshold tool to optimise was unacceptably large file sizes. A 20-page contract was about 10 MB instead of 0.5MB.  I resorted to waiting until I had a bunch of scanning to so, booting into Win Vista (yawn) and using PaperPort.  Not a good solution, particularly when there was urgent work to be scanned and emailed!<br>

<br>About that time LinuxMint (ver 9, Isadora) became available, so I upgraded, hoping to fix the problem and get back to work. There was no difference, Greyscale attempts still produced the erroneous options.<br><br>So I contacted the author of gscan2pdf, who was extremely helpful, and gave me many tests to perform.  The results showed that the problem was not with gscan2pdf, but with sane.  I am such a newbie I had not really twigged that the one program was accessing the other, but I am learning fast!  Finally, it was suggested that I join this list and put forward the problem, as the issue seemed to be with the way sane interacted with this particular scanner.  I joined.<br>

<br>But before actually asking the question I attempted one of the suggestions of the gscan2pdf author, which was to upgrade sane.  Via LinuxMint, the only way I have been installing and upgrading is via the Package Manager.  It seems often to be a few versions behind the latest stable release.  I understand the reasons for that, but I wanted to press on and get the cutting-edge (but stable) version anyway.  I downloaded this file <a href="https://alioth.debian.org/frs/download.php/3258/sane-backends-1.0.21.tar.gz">https://alioth.debian.org/frs/download.php/3258/sane-backends-1.0.21.tar.gz</a><br>

<br>Opening the instructions contained in that package, I found this: &quot;the shell commands `./configure; make; make install&#39; should configure, build, and install this package.&quot;<br><br>I also found this...<br>

<br><div style="margin-left: 40px;">The simplest way to compile this package is:<br><br>  1. `cd&#39; to the directory containing the package&#39;s source code and type<br>     `./configure&#39; to configure the package for your system.<br>

<br>     Running `configure&#39; might take a while.  While running, it prints<br>     some messages telling which features it is checking for.<br><br>  2. Type `make&#39; to compile the package.<br><br>  3. Optionally, type `make check&#39; to run any self-tests that come with<br>

     the package.<br><br>  4. Type `make install&#39; to install the programs and any data files and<br>     documentation.<br></div><br><br>So I opened Terminal and played around with those commands until it seemed to do something.  Took a long time and wrote a lot of (to me) arcane stuff to Terminal, but eventually it stopped and claimed to have done the job.<br>

<br>However, from that moment, the machine has refused to access this or any other scanner, claiming &#39;no device found&#39;.   (I have two other flatbed scanners, and I tried them, but no device found)<br><br>I have been watching and reading this list for a month or so, and decided the time had come to ask my question.  (Somehow I used the wrong email address, but thankfully the moderators allowed it through anyway)<br>

<br>BTW this is a dual-core Toshiba Satellite.  I have an Asus eeePC netbook also dual-booting LinuxMint, and I have been using that to scan in the meantime.  It&#39;s slower of course, but it works.<br><br>Re the B&amp;W issue:  I had sort of concluded that maybe the Cannon MX310 doesn&#39;t natively scan in B&amp;W, and that being able to select that with Win PaperPort was because the program was doing a background conversion.  The later gscan2pdf version has the ability to optimise to B&amp;W, but as I have had such &quot;thundering success&quot; (!) with installing programs in Linux I have not been able to install it. (Yet: but I hope John MacGill&#39;s link to <a href="https://help.ubuntu.com/community/CompileSaneFromSource" target="_blank">https://help.ubuntu.com/community/CompileSaneFromSource</a> will put me right there - thanks John!)<br>

<br>Also, while writing this email I accessed LinuxMint to make sure Isadora-9 was the latest, and I see the new built-on-Debian version has been released.  I have been waiting for this, because it&#39;s a bit of a pain reinstalling every 6 months to keep up with current releases (which is the way the built-on-Ubuntu versions had worked)<br>

<br>So in the next couple of weeks I will find the time to upgrade to this entirely new version, and no doubt that will fix the &quot;can&#39;t find any scanner&quot; issue.  A bit of a blunt force approach, but I intend to upgrade anyway.<br>

<br>However, if one of you knowledgable ones, having bored yourself all the way through to this point, still wants to assist, I would appreciate some insight on how to get sane working again so I can scan from the faster machine, and also increase my understanding of how these things work for future use.<br>

<br>Cheers at last!<br><br>Lance<br>(Mr Fair Go)<br></div><div><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
BTW, B&amp;W is currently not supported on this model, some more details<br>
about how you were proceeding would be useful to step further.<br>
<br>
Nicolas<br>
<br>
Le lundi 27 septembre 2010 à 14:36 -0400, m. allan noah a écrit :<br>
<div><div></div><div class="h5">&gt; I don&#39;t see any indication that grayscale or binary modes have been<br>
&gt; added to the MX310 (pixma) backend. It is possible that the backend<br>
&gt; only exposes the actual capabilites of the scanner.- hopefully one of<br>
&gt; the pixma authors can comment further.<br>
&gt;<br>
&gt; allan<br>
&gt;<br>
&gt; On Mon, Sep 27, 2010 at 1:07 AM, Mr Fair Go &lt;<a href="mailto:mrfairgo@mrfairgo.com">mrfairgo@mrfairgo.com</a>&gt; wrote:<br>
&gt; &gt;&gt;&gt; I compiled and installed the latest sane-backends-1.0.21 and tried to<br>
&gt; &gt;&gt;&gt; use it with a Canon DR-2010C scanner,<br>
&gt; &gt;<br>
&gt; &gt; G&#39;day!<br>
&gt; &gt;<br>
&gt; &gt; I have a Canon  MX310 which was scanning OK, but only in colour.  There was<br>
&gt; &gt; some sort of bug in Greyscale and B&amp;W.  I attempted to &quot;compile and install&quot;<br>
&gt; &gt; the newer sane backends also, but as a newbie I clearly did something wrong,<br>
&gt; &gt; because now none of my Linux scanning software will find the Canon or any<br>
&gt; &gt; other scanner (I have 3).  I even uninstalled and reinstalled SANE and<br>
&gt; &gt; gscan2pdf via the Package Manager, but still &quot;<br>
&gt; &gt;<br>
&gt; &gt; Can someone point me to a very basic Linux how-to that explains for a newbie<br>
&gt; &gt; exactly how to &quot;compile and install&quot; with Linux?  Everything I look at<br>
&gt; &gt; assumes I have more knowledge about &quot;compiling&quot; than I actually have.<br>
&gt; &gt;<br>
&gt; &gt; Running LinuxMint 9 (Isadora) which is built on Ubuntu, for nearly a year<br>
&gt; &gt; now.  Up to this point upgrading and installing packages via Package Manager<br>
&gt; &gt; has been adequate for my needs, but the newer version is not available this<br>
&gt; &gt; way, thus I attempted the more challenging route, but can not find<br>
&gt; &gt; &quot;instructions&quot; anywhere.<br>
&gt; &gt;<br>
&gt; &gt; Thanks<br>
&gt; &gt;<br>
&gt; &gt; Mr Fair Go<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; (They call me &quot;Mr Fair Go&quot;)<br>
&gt; &gt; <a href="http://mrfairgo.com" target="_blank">http://mrfairgo.com</a><br>
&gt; &gt; <a href="http://fairgohomes.com.au" target="_blank">fairgohomes.com.au</a> --&gt;a Fair Go for aspiring homeowners, sellers, investors,<br>
&gt; &gt; renovators.<br>
&gt; &gt; <a href="http://fairgocom.net.au" target="_blank">fairgocom.net.au</a> --&gt;a Fair Go for Getting Your Life &amp; Privacy Back!<br>
&gt; &gt; <a href="http://eservers.com.au" target="_blank">eservers.com.au</a> --&gt;Professional Internet Hosting<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Mon, Sep 27, 2010 at 1:12 PM, Ori Koren &lt;<a href="mailto:ori@paperact.com">ori@paperact.com</a>&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Sat, Sep 25, 2010 at 8:28 PM, Simon Matter &lt;<a href="mailto:simon.matter@invoca.ch">simon.matter@invoca.ch</a>&gt;<br>
&gt; &gt;&gt; wrote:<br>
&gt; &gt;&gt; &gt;&gt; Hi,<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; I compiled and installed the latest sane-backends-1.0.21 and tried to<br>
&gt; &gt;&gt; &gt;&gt; use it with a Canon DR-2010C scanner,<br>
&gt; &gt;&gt; &gt;&gt; but the scanner is not recognized (by scanadf -L, or scanimage -L).<br>
&gt; &gt;&gt; &gt;&gt; sane-find-scanner and lsusb can see the device.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &lt;snipped&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; Am I missing some option in one of the config files?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &lt;snipped&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; I am using an ubuntu 8.04.3. The libusb-0.1-4, libusb-dev versions are<br>
&gt; &gt;&gt; &gt;&gt; both 2:0.1.12-8<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; What about permissions? Did you try as root also? And is the backend in<br>
&gt; &gt;&gt; &gt; question enabled in your sane config?<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; OK, it&#39;s working now.<br>
&gt; &gt;&gt; The thing that was missing was to add &quot;canon_dr&quot; to /etc/sane.d/dll.conf<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; Simon<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Thanks,<br>
&gt; &gt;&gt; Ori<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt; sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
&gt; &gt;&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
&gt; &gt;&gt; Unsubscribe: Send mail with subject &quot;unsubscribe your_password&quot;<br>
&gt; &gt;&gt;             to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
&gt; &gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
&gt; &gt; Unsubscribe: Send mail with subject &quot;unsubscribe your_password&quot;<br>
&gt; &gt;             to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
</div></div></blockquote></div><br>