<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi James,</p>
    <p>Many thanks for your report.</p>
    <p>Your scanner has already been listed as supported in the listing
      for the SANE Development (git) Version
      (<a class="moz-txt-link-freetext" href="http://www.sane-project.org/lists/sane-backends-cvs.html#S-PIXMA">http://www.sane-project.org/lists/sane-backends-cvs.html#S-PIXMA</a>).</p>
    <p>You can check if the backend (pixma) implementation supports
      button controlled scanning with your scanner:</p>
    <p>(1) Connect your scanner via USB, disconnect WiFi</p>
    <p>(2) Push any button, which should trigger a scan</p>
    <p>(3) Request the pushed button on a console with:<br>
      $ SANE_DEBUG_PIXMA=11 scanimage -A</p>
    <p>The response should contain data similar like this:</p>
    <p>  Buttons:<br>
          --button-update<br>
              Update button state<br>
      [pixma] INTR T=1.270 len=32<br>
      [pixma]  00000000:00 30 00 00 00 00 00 00  00 00 00 00 00 00 00 00
      <br>
      [pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
      <br>
      [pixma] <br>
          --button-1 <int> [1] [read-only]<br>
              Button 1<br>
          --button-2 <int> [0] [read-only]<br>
              Button 2<br>
          --original <int> [0] [read-only]<br>
              Type of original to scan<br>
          --target <int> [3] [read-only]<br>
              Target operation type<br>
          --scan-resolution <int> [0] [read-only]<br>
              Scan resolution<br>
    </p>
    <p>If the response doesn't contain lines starting with [pixma], your
      scanner doesn't support button controlled scanning.</p>
    <p>If you can see lines starting with [pixma], please report this
      data for all available buttons.</p>
    <p>Hope this helps.</p>
    <p>Cheers,<br>
      Rolf<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Am 30.03.2017 um 00:06 schrieb James
      Duvall:<br>
    </div>
    <blockquote
      cite="mid:%3C910689860.695477.1490825166034@mail.yahoo.com%3E"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande,
        sans-serif;font-size:16px">
        <div id="yui_3_16_0_1_1490678472650_19053">I have a Canon PIXMA
          MG5420 printer/scanner that seems to mostly work with
          sane-pixma backend.  Support for the MG5400 series is still
          listed as unconfirmed in the documentation.  I would be happy
          to test my device and report any results.</div>
        <div id="yui_3_16_0_1_1490678472650_19132"><br>
        </div>
        <div id="yui_3_16_0_1_1490678472650_19142">I am running Ubuntu
          16.10 (yakkety) amd64</div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_19133">In the
          Ubuntu package release (sane-utils
          1.0.25+git20150528-1ubuntu2), the systemd configuration for
          saned is broken, but it works fine with the updated build from
          ppa:rolfbensch/sane-git.  I am using the following:</div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_19209">sane
          1.0.14-11 amd64<br>
        </div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_19188">libsane
          1.0.26-git20160712</div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_19189">sane-utils
          1.0.26-git20160712</div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_19278"><br>
        </div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_19279">I primarily
          use the scanner over a wifi network, and most features seem to
          work</div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_21062">Here is
          what works:</div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_21063">scanning
          from Simple Scan 3.22.0.1<br>
        </div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_21083">scanning
          from XSane 0.999<br>
        </div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_22801">All
          resolutions (75, 150, 300, 600, 1200, 2400 dpi)<br>
        </div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_22889"><br>
        </div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_22952">Here is
          what doesn't work:<br>
        </div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_21084">button
          controlled scanning</div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_24654">initiating
          scanning from the scanner control panel</div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_22967"><br>
        </div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_22990">For the
          items that don't work, it is entirely possible that I just
          don't understand how to configure these features correctly. 
          With my win7 box with the proprietary Canon IJ network tool
          installed, I am able to select my computer as a destination
          for the scanned file, then initiate the scan by hitting either
          the "Start Color" or "Start B&W" buttons on the pixma
          front panel.  I am normally unable to see my Ubuntu box on
          this destination list.  However, if I enter</div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_23069">scanimage
          -d pixma:MG5400_192.168.0.3 --button-controlled=yes >
          tempimage</div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_24713">My Ubuntu
          box will temporarily appear in the destination list.  However,
          I am still unable to initiate the scan.</div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_24746"><br>
        </div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_24753">I don't
          know anything about the BJNP protocol except what I read in
          the sane-pixma documentation, but I am happy to learn and help
          you test.</div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_24761"><br>
        </div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_24763">Regards,<br>
        </div>
        <div dir="ltr" id="yui_3_16_0_1_1490678472650_24762">James<br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>