<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Thank you for your help Thierry and Alexander and the others.  I am definitely getting a response from the scanner on my network.  Below are the steps that I took, following all your suggestions.  Airscan-discover and ahavi both find the printer.  I think we are close.   but scanimage -L still does not work though.  Below are my detailed steps.  The ahavi command lists alot of ports that are used and I have been only opening up a few, like 80 tcp, 443 tcp, and 8612 udp for sending/recieving,   Do I need to modify the firewall for all the ports that ahavi lists?.  This computer is a dual boot and although I am in ubuntu linux, the scanner recognizes the Windows computer with the same IP address (when it is on).  I thought I would mention that too.</div><div><br></div><div>Thank you again for all your suggestions,</div><div><br></div><div>Anton Khabbaz  <br></div><div><br></div><div>I tried your recommendations and here is what I did.</div><div>1. <br></div><div>I modified the output forwarding rules to allow traffic from and to my ubuntu computer (192.168.1.25)  to the Canon TS9120 printer (192.168.1.16) , port 80 tcp</div><div>The output of ufw status is listed (other rules and ports like udp 8612 are omitted for clarity)<br>To                         Action      From<br>--                         ------      ----<br>192.168.1.25               ALLOW       192.168.1.16 80/tcp       <br>192.168.1.25 80/tcp        ALLOW       192.168.1.16 80/tcp       <br>192.168.1.16 80/tcp        ALLOW OUT   192.168.1.25 80/tcp       `<br></div><div><br></div><div>2.  Installed GO and air-scan discover (just as easy as you said, Alexander).  ./airscan-discover finds the printer and it is eSCL, just as Thierry said.<br></div><div>[devices]<br>  "Canon TS9100 series" = <a href="http://192.168.1.16:80/eSCL" target="_blank">http://192.168.1.16:80/eSCL</a></div><div><br></div><div>For this reason I allowed access via tcp port 80 from host ubuntu to Canon printer and vice-versa.</div><div><br></div><div>3 changed config files</div><div>/etc/sane.d/pixma.conf</div><div>removed my additions; now has</div><div>only comments:</div><div># bjnp://<a href="http://printer-1.pheasant.org">printer-1.pheasant.org</a> // will use the 5000 ms timeout<br># bjnp://<a href="http://scanner.bad-network.org/timeout=1500">scanner.bad-network.org/timeout=1500</a> // timeout set to 1500 ms<br># bjnp-timeout=3000 // will be used for auto-detected scanners<br>#<br># Example using for a scanner using mfnp including the optional timeout:<br># mfnp://<a href="http://scanner.bad-network.org/timeout=1500">scanner.bad-network.org/timeout=1500</a></div><div>followed Thierry's instructions in /etc/sane.d/escl.conf.</div><div>Uncommented lines and filled in the printer address</div><div><br></div><div>#device <a href="http://123.456.789.10:8080">http://123.456.789.10:8080</a> OptionalModel1<br>#device <a href="https://123.456.789.10:443">https://123.456.789.10:443</a> "Optional Model 2"<br>#device unix:/run/proxy.sock:<a href="http://123.456.789.10:80">http://123.456.789.10:80</a><br><br>[device]<br><br>model Canon TS9120<br>type https<br>ip 192.168.1.16<br>port 80<br>#device <a href="http://192.168.1.16:80">http://192.168.1.16:80</a> "Canon TS9120"</div><div><br></div><div>renamed  /etc/sane.d/pixma.conf.dpkg_old to /etc/sane.d/pixma_old.config.dpkg_old <br></div><div>3.  Ran scanimage -L</div><div>Here is the output:</div><div><br></div><div>No scanners were identified. If you were expecting something different,<br>check that the scanner is plugged in, turned on and detected by the<br>sane-find-scanner tool (if appropriate). Please read the documentation<br>which came with this software (README, FAQ, manpages).<br></div><div><br></div><div>4.  Ahavi rt also found lots of ports and info about the scanner:</div><div>avahi-browse -rt -a<br>+   eno1 IPv6 Canon TS9100 series                           Internet Printer     local<br>+   eno1 IPv4 Canon TS9100 series                           Internet Printer     local<br>+   eno1 IPv6 Canon TS9100 series                           Secure Internet Printer local<br>+   eno1 IPv4 Canon TS9100 series                           Secure Internet Printer local<br>=   eno1 IPv6 Canon TS9100 series                           Internet Printer     local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [631]<br>   txt = ["mopria-certified=1.3" "print_wfds=T" "PaperMax=legal-A4" "kind=document,envelope,photo,disc,postcard" "Fax=F" "Scan=T" "Duplex=T" "Color=T" "UUID=00000000-0000-1000-8000-00182011024b" "URF=V1.4,CP1,PQ4-5,RS600,SRGB24,W8,OB9,OFU0,DM3,IS1-18" "usb_CMD=URF" "usb_MDL=TS9100 series" "usb_MFG=Canon" "adminurl=<a href="http://00000099933C.local./index.html?page=PAGE_AAP">http://00000099933C.local./index.html?page=PAGE_AAP</a>" "note=" "pdl=application/octet-stream,image/jpeg,image/urf,image/pwg-raster" "product=(Canon TS9100 series)" "ty=Canon TS9100 series" "priority=15" "qtotal=1" "rp=ipp/print" "txtvers=1"]<br>=   eno1 IPv4 Canon TS9100 series                           Internet Printer     local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [631]<br>   txt = ["mopria-certified=1.3" "print_wfds=T" "PaperMax=legal-A4" "kind=document,envelope,photo,disc,postcard" "Fax=F" "Scan=T" "Duplex=T" "Color=T" "UUID=00000000-0000-1000-8000-00182011024b" "URF=V1.4,CP1,PQ4-5,RS600,SRGB24,W8,OB9,OFU0,DM3,IS1-18" "usb_CMD=URF" "usb_MDL=TS9100 series" "usb_MFG=Canon" "adminurl=<a href="http://00000099933C.local./index.html?page=PAGE_AAP">http://00000099933C.local./index.html?page=PAGE_AAP</a>" "note=" "pdl=application/octet-stream,image/jpeg,image/urf,image/pwg-raster" "product=(Canon TS9100 series)" "ty=Canon TS9100 series" "priority=15" "qtotal=1" "rp=ipp/print" "txtvers=1"]<br>=   eno1 IPv6 Canon TS9100 series                           Secure Internet Printer local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [631]<br>   txt = ["TLS=1.2" "mopria-certified=1.3" "print_wfds=T" "PaperMax=legal-A4" "kind=document,envelope,photo,disc,postcard" "Fax=F" "Scan=T" "Duplex=T" "Color=T" "UUID=00000000-0000-1000-8000-00182011024b" "URF=V1.4,CP1,PQ4-5,RS600,SRGB24,W8,OB9,OFU0,DM3,IS1-18" "usb_CMD=URF" "usb_MDL=TS9100 series" "usb_MFG=Canon" "adminurl=<a href="http://00000099933C.local./index.html?page=PAGE_AAP">http://00000099933C.local./index.html?page=PAGE_AAP</a>" "note=" "pdl=application/octet-stream,image/jpeg,image/urf,image/pwg-raster" "product=(Canon TS9100 series)" "ty=Canon TS9100 series" "priority=15" "qtotal=1" "rp=ipp/print" "txtvers=1"]<br>=   eno1 IPv4 Canon TS9100 series                           Secure Internet Printer local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [631]<br>   txt = ["TLS=1.2" "mopria-certified=1.3" "print_wfds=T" "PaperMax=legal-A4" "kind=document,envelope,photo,disc,postcard" "Fax=F" "Scan=T" "Duplex=T" "Color=T" "UUID=00000000-0000-1000-8000-00182011024b" "URF=V1.4,CP1,PQ4-5,RS600,SRGB24,W8,OB9,OFU0,DM3,IS1-18" "usb_CMD=URF" "usb_MDL=TS9100 series" "usb_MFG=Canon" "adminurl=<a href="http://00000099933C.local./index.html?page=PAGE_AAP">http://00000099933C.local./index.html?page=PAGE_AAP</a>" "note=" "pdl=application/octet-stream,image/jpeg,image/urf,image/pwg-raster" "product=(Canon TS9100 series)" "ty=Canon TS9100 series" "priority=15" "qtotal=1" "rp=ipp/print" "txtvers=1"]<br>+   eno1 IPv6 DS1813                                        Web Site             local<br>+   eno1 IPv4 DS1813                                        Web Site             local<br>=   eno1 IPv6 DS1813                                        Web Site             local<br>   hostname = [DS1813.local]<br>   address = [fe80::211:32ff:fe1d:e2f3]<br>   port = [5000]<br>   txt = ["mac_address=00:11:32:1d:e2:f3|00:11:32:1d:e2:f4|00:11:32:1d:e2:f5|00:11:32:1d:e2:f6" "secure_admin_port=5001" "admin_port=5000" "version_build=24922" "version_minor=2" "version_major=6" "serial=13C0LON002158" "model=DS1813+" "vendor=Synology"]<br>=   eno1 IPv4 DS1813                                        Web Site             local<br>   hostname = [DS1813.local]<br>   address = [192.168.1.8]<br>   port = [5000]<br>   txt = ["mac_address=00:11:32:1d:e2:f3|00:11:32:1d:e2:f4|00:11:32:1d:e2:f5|00:11:32:1d:e2:f6" "secure_admin_port=5001" "admin_port=5000" "version_build=24922" "version_minor=2" "version_major=6" "serial=13C0LON002158" "model=DS1813+" "vendor=Synology"]<br>+   eno1 IPv4 Canon TS9100 series                           Web Site             local<br>+   eno1 IPv4 Canon TS9100 series                           _uscan._tcp          local<br>+   eno1 IPv4 Canon TS9100 series                           _uscans._tcp         local<br>+   eno1 IPv4 Canon TS9100 series                           _canon-chmp._tcp     local<br>+   eno1 IPv4 Canon TS9100 series                           UNIX Printer         local<br>+   eno1 IPv4 Canon TS9100 series                           PDL Printer          local<br>+   eno1 IPv4 Canon TS9100 series                           _privet._tcp         local<br>+   eno1 IPv6 Canon TS9100 series                           Web Site             local<br>+   eno1 IPv6 Canon TS9100 series                           _uscan._tcp          local<br>+   eno1 IPv6 Canon TS9100 series                           _uscans._tcp         local<br>+   eno1 IPv6 Canon TS9100 series                           _canon-chmp._tcp     local<br>+   eno1 IPv6 Canon TS9100 series                           UNIX Printer         local<br>+   eno1 IPv6 Canon TS9100 series                           PDL Printer          local<br>+   eno1 IPv6 Canon TS9100 series                           _privet._tcp         local<br>+   eno1 IPv4 7073435effee6a3f41ed38065ea9ae81              _cros_p2p._tcp       local<br>=   eno1 IPv4 7073435effee6a3f41ed38065ea9ae81              _cros_p2p._tcp       local<br>   hostname = [7073435effee6a3f41ed38065ea9ae81.local]<br>   address = [192.168.1.27]<br>   port = [16725]<br>   txt = ["id_cros_update_size_126964004_hash_ZDkxeXQ2RjhJT1NJYytyL0pFTkJVOUhya0pXQUZPclVpNEE2am5mVkNIZz0=.cros_au=126964004" "num_connections=0"]<br>+   eno1 IPv4 cceebffcab69823d88103da85ea9b84c              _cros_p2p._tcp       local<br>=   eno1 IPv4 cceebffcab69823d88103da85ea9b84c              _cros_p2p._tcp       local<br>   hostname = [cceebffcab69823d88103da85ea9b84c.local]<br>   address = [192.168.1.23]<br>   port = [16725]<br>   txt = ["num_connections=0"]<br>+   eno1 IPv6 DS1813                                        _device-info._tcp    local<br>+   eno1 IPv6 DS1813                                        Microsoft Windows Network local<br>+   eno1 IPv6 DS1813                                        Apple File Sharing   local<br>+   eno1 IPv4 DS1813                                        _device-info._tcp    local<br>+   eno1 IPv4 DS1813                                        Microsoft Windows Network local<br>+   eno1 IPv4 DS1813                                        Apple File Sharing   local<br>=   eno1 IPv6 DS1813                                        _device-info._tcp    local<br>   hostname = [DS1813.local]<br>   address = [fe80::211:32ff:fe1d:e2f3]<br>   port = [0]<br>   txt = ["model=Xserve"]<br>=   eno1 IPv6 DS1813                                        Microsoft Windows Network local<br>   hostname = [DS1813.local]<br>   address = [fe80::211:32ff:fe1d:e2f3]<br>   port = [445]<br>   txt = []<br>=   eno1 IPv6 DS1813                                        Apple File Sharing   local<br>   hostname = [DS1813.local]<br>   address = [fe80::211:32ff:fe1d:e2f3]<br>   port = [548]<br>   txt = []<br>=   eno1 IPv4 DS1813                                        _device-info._tcp    local<br>   hostname = [DS1813.local]<br>   address = [192.168.1.8]<br>   port = [0]<br>   txt = ["model=Xserve"]<br>=   eno1 IPv4 DS1813                                        Microsoft Windows Network local<br>   hostname = [DS1813.local]<br>   address = [192.168.1.8]<br>   port = [445]<br>   txt = []<br>=   eno1 IPv4 DS1813                                        Apple File Sharing   local<br>   hostname = [DS1813.local]<br>   address = [192.168.1.8]<br>   port = [548]<br>   txt = []<br>=   eno1 IPv4 Canon TS9100 series                           Web Site             local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [80]<br>   txt = ["txtvers=1"]<br>=   eno1 IPv4 Canon TS9100 series                           _uscan._tcp          local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [80]<br>   txt = ["duplex=F" "is=platen" "cs=grayscale,color" "rs=eSCL" "representation=<a href="http://00000099933C.local./icon/printer_icon.png">http://00000099933C.local./icon/printer_icon.png</a>" "vers=2.63" "UUID=00000000-0000-1000-8000-00182011024b" "adminurl=<a href="http://00000099933C.local./index.html?page=PAGE_AAP">http://00000099933C.local./index.html?page=PAGE_AAP</a>" "note=" "pdl=image/jpeg,application/pdf" "ty=Canon TS9100 series" "txtvers=1"]<br>=   eno1 IPv4 Canon TS9100 series                           _uscans._tcp         local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [443]<br>   txt = ["duplex=F" "is=platen" "cs=grayscale,color" "rs=eSCL" "representation=<a href="http://00000099933C.local./icon/printer_icon.png">http://00000099933C.local./icon/printer_icon.png</a>" "vers=2.63" "UUID=00000000-0000-1000-8000-00182011024b" "adminurl=<a href="http://00000099933C.local./index.html?page=PAGE_AAP">http://00000099933C.local./index.html?page=PAGE_AAP</a>" "note=" "pdl=image/jpeg,application/pdf" "ty=Canon TS9100 series" "txtvers=1"]<br>=   eno1 IPv4 Canon TS9100 series                           _canon-chmp._tcp     local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [80]<br>   txt = ["mpath=<a href="http://00000099933C.local./canon/ij/command1/port1">http://00000099933C.local./canon/ij/command1/port1</a>" "txtvers=1"]<br>=   eno1 IPv4 Canon TS9100 series                           UNIX Printer         local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [515]<br>   txt = ["Fax=F" "Scan=T" "Duplex=T" "Color=T" "UUID=00000000-0000-1000-8000-00182011024b" "usb_MDL=TS9100 series" "usb_MFG=Canon" "adminurl=<a href="http://00000099933C.local">http://00000099933C.local</a>." "note=" "pdl=application/octet-stream" "product=(Canon TS9100 series)" "ty=Canon TS9100 series" "priority=60" "qtotal=1" "rp=auto" "txtvers=1"]<br>=   eno1 IPv4 Canon TS9100 series                           PDL Printer          local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [9100]<br>   txt = ["Fax=F" "Scan=T" "Duplex=T" "Color=T" "UUID=00000000-0000-1000-8000-00182011024b" "usb_MDL=TS9100 series" "usb_MFG=Canon" "adminurl=<a href="http://00000099933C.local">http://00000099933C.local</a>." "note=" "pdl=application/octet-stream" "product=(Canon TS9100 series)" "ty=Canon TS9100 series" "priority=30" "qtotal=1" "rp=auto" "txtvers=1"]<br>=   eno1 IPv4 Canon TS9100 series                           _privet._tcp         local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [80]<br>   txt = ["cs=online" "id=" "type=printer" "url=<a href="https://www.google.com/cloudprint">https://www.google.com/cloudprint</a>" "note=" "ty=Canon TS9100 series" "txtvers=1"]<br>=   eno1 IPv6 Canon TS9100 series                           Web Site             local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [80]<br>   txt = ["txtvers=1"]<br>=   eno1 IPv6 Canon TS9100 series                           _uscan._tcp          local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [80]<br>   txt = ["duplex=F" "is=platen" "cs=grayscale,color" "rs=eSCL" "representation=<a href="http://00000099933C.local./icon/printer_icon.png">http://00000099933C.local./icon/printer_icon.png</a>" "vers=2.63" "UUID=00000000-0000-1000-8000-00182011024b" "adminurl=<a href="http://00000099933C.local./index.html?page=PAGE_AAP">http://00000099933C.local./index.html?page=PAGE_AAP</a>" "note=" "pdl=image/jpeg,application/pdf" "ty=Canon TS9100 series" "txtvers=1"]<br>=   eno1 IPv6 Canon TS9100 series                           _uscans._tcp         local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [443]<br>   txt = ["duplex=F" "is=platen" "cs=grayscale,color" "rs=eSCL" "representation=<a href="http://00000099933C.local./icon/printer_icon.png">http://00000099933C.local./icon/printer_icon.png</a>" "vers=2.63" "UUID=00000000-0000-1000-8000-00182011024b" "adminurl=<a href="http://00000099933C.local./index.html?page=PAGE_AAP">http://00000099933C.local./index.html?page=PAGE_AAP</a>" "note=" "pdl=image/jpeg,application/pdf" "ty=Canon TS9100 series" "txtvers=1"]<br>=   eno1 IPv6 Canon TS9100 series                           _canon-chmp._tcp     local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [80]<br>   txt = ["mpath=<a href="http://00000099933C.local./canon/ij/command1/port1">http://00000099933C.local./canon/ij/command1/port1</a>" "txtvers=1"]<br>=   eno1 IPv6 Canon TS9100 series                           UNIX Printer         local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [515]<br>   txt = ["Fax=F" "Scan=T" "Duplex=T" "Color=T" "UUID=00000000-0000-1000-8000-00182011024b" "usb_MDL=TS9100 series" "usb_MFG=Canon" "adminurl=<a href="http://00000099933C.local">http://00000099933C.local</a>." "note=" "pdl=application/octet-stream" "product=(Canon TS9100 series)" "ty=Canon TS9100 series" "priority=60" "qtotal=1" "rp=auto" "txtvers=1"]<br>=   eno1 IPv6 Canon TS9100 series                           PDL Printer          local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [9100]<br>   txt = ["Fax=F" "Scan=T" "Duplex=T" "Color=T" "UUID=00000000-0000-1000-8000-00182011024b" "usb_MDL=TS9100 series" "usb_MFG=Canon" "adminurl=<a href="http://00000099933C.local">http://00000099933C.local</a>." "note=" "pdl=application/octet-stream" "product=(Canon TS9100 series)" "ty=Canon TS9100 series" "priority=30" "qtotal=1" "rp=auto" "txtvers=1"]<br>=   eno1 IPv6 Canon TS9100 series                           _privet._tcp         local<br>   hostname = [00000099933C.local]<br>   address = [192.168.1.16]<br>   port = [80]<br>   txt = ["cs=online" "id=" "type=printer" "url=<a href="https://www.google.com/cloudprint">https://www.google.com/cloudprint</a>" "note=" "ty=Canon TS9100 series" "txtvers=1"]<br></div><div><br></div><div><br><br></div><div> <br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 28, 2020 at 4:23 PM Thierry HUCAHRD <<a href="mailto:thierry@ordissimo.com" target="_blank">thierry@ordissimo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 2020-04-28 21:36, Anton Khabbaz a écrit :<br>
> Thank you all for your helpful feedback. Still no luck but your<br>
> suggestions led me to try the following.<br>
> <br>
> 1  I installed ajour sane the commands that Theirry Hucahrd listed.<br>
> The update went through, but I see no new packages in my package<br>
> manager. (I assume this is like an upgrade to sane?)<br>
> <br>
> 2.  I installed airscan, following the airscan instructions for my<br>
> operating system:<br>
Hi,<br>
<br>
For your information, your device uses<br>
1. the PIXMA backend for USB<br>
2. the ESCL backend for the network<br>
<br>
add the line below in this file /etc/sane.d/escl.conf<br>
  device <a href="https://192.168.1.16:443" rel="noreferrer" target="_blank">https://192.168.1.16:443</a> "Canon TS9120"<br>
then run this command<br>
scanimage -L<br>
<br>
Thierry<br>
> <br>
> sudo sh -c "echo 'deb<br>
> <a href="http://download.opensuse.org/repositories/home:/pzz/xUbuntu_18.04/" rel="noreferrer" target="_blank">http://download.opensuse.org/repositories/home:/pzz/xUbuntu_18.04/</a> /'<br>
>> /etc/apt/sources.list.d/home:pzz.list"<br>
> wget -nv<br>
> <a href="https://download.opensuse.org/repositories/home:pzz/xUbuntu_18.04/Release.key" rel="noreferrer" target="_blank">https://download.opensuse.org/repositories/home:pzz/xUbuntu_18.04/Release.key</a><br>
> -O Release.key<br>
> sudo apt-key add - < Release.key<br>
> sudo apt-get update<br>
> sudo apt-get install sane-airscan<br>
> <br>
> In my synaptic package manager searching under sane I see these are<br>
> installed:<br>
> <br>
> sane-airscan 0.9.18+55.1<br>
> <br>
> xsane    0.999-5ubuntu2<br>
> <br>
> xsane-common<br>
> <br>
> sane  1.0.14-12 build 1<br>
> <br>
> sane-utils 1.0.29<br>
> <br>
> I didn't yet run the printer protocol detector, because I have yet to<br>
> install a GO compiler.<br>
> <br>
> Now when I run scanimage --list-devices  I get a pause.  That did not<br>
> happen before.  I think that is airscan. Then this error message:<br>
> <br>
> [15:33:32.923780] [bjnp] udp_command: ERROR - no data received<br>
> (timeout = 2000)<br>
> [15:33:32.923885] [bjnp] bjnp_init_device_structure: Cannot read mac<br>
> address, skipping this scanner<br>
> [15:33:32.927092] [bjnp] bjnp_allocate_device: ERROR - Cannot resolve<br>
> host: fe80 port 8612<br>
> <br>
> No scanners were identified. If you were expecting something<br>
> different,<br>
> check that the scanner is plugged in, turned on and detected by the<br>
> sane-find-scanner tool (if appropriate). Please read the documentation<br>
> which came with this software (README, FAQ, manpages).<br>
> <br>
> I should say the printer is an all in one and it is connected through<br>
> a wired Tcp-ip cable (through a switch)<br>
> <br>
> Thank you again for your help,<br>
> <br>
> Anton Khabbaz<br>
> <br>
> cc: printer is a Canon TS9120 all in one.<br>
> <br>
> On Fri, Apr 24, 2020 at 4:40 PM Anton Khabbaz<br>
> <<a href="mailto:anton.khabbaz@gmail.com" target="_blank">anton.khabbaz@gmail.com</a>> wrote:<br>
> <br>
>> Hello,<br>
>> <br>
>> I would like to use my Canon TS9120 scanner but I am not able to<br>
>> find it through Sane.  I believe I am doing all the right things.<br>
>> It is untested as a multifunction printer/scanner according to Sane<br>
>> backend documentation.  I am running Ubuntu  18.04<br>
>> <br>
>> Here are my steps that I have taken so far.<br>
>> <br>
>> 1) I changed the firewall using ufw to allow communication via udp<br>
>> 8612.  Following a faq at Canon:<br>
>> <a href="https://support.usa.canon.com/kb/index?page=content&id=ART109227" rel="noreferrer" target="_blank">https://support.usa.canon.com/kb/index?page=content&id=ART109227</a>.<br>
>> <br>
>> I added these rules:<br>
>> To                         Action      From<br>
>> --                         ------      ----<br>
>> 192.168.1.25               ALLOW       192.168.1.16 80/tcp<br>
>> 192.168.1.25               ALLOW       192.168.1.16 443/tcp<br>
>> 192.168.1.25               ALLOW       192.168.1.16<br>
>> 515,1900,5222,5357,8611,8612,9100/tcp<br>
>> 192.168.1.25               ALLOW       192.168.1.16<br>
>> 515,1900,5222,5357,8611,8612,9100/udp<br>
>> 192.168.1.25               ALLOW       192.168.1.16 137,138,139/udp<br>
>> 192.168.1.25               ALLOW       192.168.1.16 137,138,139/tcp<br>
>> 192.168.1.25               ALLOW       192.168.1.16 8610/udp<br>
>> Anywhere on eno1           ALLOW       192.168.1.16 8612/udp<br>
>> fe80::6767:4545:141b:9fc7  ALLOW       fe80::9e32:ceff:fe99:933c<br>
>> 80/tcp<br>
>> fe80::6767:4545:141b:9fc7  ALLOW       fe80::9e32:ceff:fe99:933c<br>
>> 443/tcp<br>
>> fe80::6767:4545:141b:9fc7  ALLOW       fe80::9e32:ceff:fe99:933c<br>
>> 137,138,139,515,1900,5222,5357,8611,8612,9100/tcp<br>
>> fe80::6767:4545:141b:9fc7  ALLOW       fe80::9e32:ceff:fe99:933c<br>
>> 137,138,139,515,1900,5222,5357,8611,8612,9100/udp<br>
>> fe80::6767:4545:141b:9fc7  ALLOW       fe80::9e32:ceff:fe99:933c<br>
>> 8610/udp<br>
>> Anywhere (v6) on eno1      ALLOW       fe80::9e32:ceff:fe99:933c<br>
>> 8612/udp<br>
>> <br>
>> 192.168.1.16 8612/udp      ALLOW OUT   Anywhere on eno1<br>
>> fe80::9e32:ceff:fe99:933c 8612/udp ALLOW OUT   Anywhere (v6) on eno1<br>
>> <br>
>> <br>
>> my interface on ubuntu is eno1<br>
>> <br>
>> 2.  I tried first Canon's linux driver. It installed and I ran<br>
>> <br>
>> sudo -i scangearmp2<br>
>> That took maybe 1 minute but never found the scanner.<br>
>> <br>
>> 3.  Turning to Sane documentation<br>
>> <a href="https://gitlab.com/sane-project/backends/-/raw/master/INSTALL.linux" rel="noreferrer" target="_blank">https://gitlab.com/sane-project/backends/-/raw/master/INSTALL.linux</a><br>
>> I followed the steps.  I got the backends from<br>
>> <a href="http://www.sane-project.org/snapshots/" rel="noreferrer" target="_blank">http://www.sane-project.org/snapshots/</a> and followed the readme.<br>
>> I think I ran ./configure BACKENDS="pixma".<br>
>> make<br>
>> make install.<br>
>> That seemed to build with no errors.<br>
>> <br>
>> 4.  I checked and the latest backend seems to be installed<br>
>> sudo ldconfig -v | grep libsane<br>
>> /sbin/ldconfig.real: Can't stat /usr/local/lib/i386-linux-gnu: No<br>
>> such file or directory<br>
>> /sbin/ldconfig.real: Can't stat /usr/local/lib/i686-linux-gnu: No<br>
>> such file or directory<br>
>> /sbin/ldconfig.real: Can't stat /lib/i686-linux-gnu: No such file or<br>
>> directory<br>
>> /sbin/ldconfig.real: Can't stat /usr/lib/i686-linux-gnu: No such<br>
>> file or directory<br>
>> /sbin/ldconfig.real: Can't stat /usr/local/lib/x86_64-linux-gnu: No<br>
>> such file or directory<br>
>> /sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than<br>
>> once<br>
>> /sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more<br>
>> than once<br>
>> /sbin/ldconfig.real: /lib/i386-linux-gnu/<a href="http://ld-2.27.so" rel="noreferrer" target="_blank">ld-2.27.so</a> [1] is the<br>
>> dynamic linker, ignoring<br>
>> <br>
>> libsane.so.1 -> libsane.so.1.0.29<br>
>> /sbin/ldconfig.real: /lib/x86_64-linux-gnu/<a href="http://ld-2.27.so" rel="noreferrer" target="_blank">ld-2.27.so</a> [1] is the<br>
>> dynamic linker, ignoring<br>
>> <br>
>> 5.  The udev rules step never worked:<br>
>> sudo cp tools/udev/libsane.rules /etc/udev/rules.d<br>
>> cp: cannot stat 'tools/udev/libsane.rules': No such file or<br>
>> directory<br>
>> <br>
>> 4.  Modified the conf file as documented here<br>
>> <br>
>> <a href="http://www.sane-project.org/man/sane-pixma.5.html" rel="noreferrer" target="_blank">http://www.sane-project.org/man/sane-pixma.5.html</a><br>
>> <br>
>> That file now has the address of the TS9120 printer<br>
>> <br>
>> bjnp://<a href="http://192.168.1.16:8612/timeout=2000" rel="noreferrer" target="_blank">192.168.1.16:8612/timeout=2000</a> [2] // uses the default 1000ms<br>
>> timeout<br>
>> bjnp://fe80:0000:0000:0000:9e32:ceff:fe99:933c:8612/timeout=2000 //<br>
>> uses the default 1000ms timeout<br>
>> <br>
>> 5.  The TS9120 works as  a printer and even responds to ping with<br>
>> its ip4 address.<br>
>> <br>
>> 6.  Tried scanimage -L.  No luck finding this.<br>
>> <br>
>> scanimage -L<br>
>> [16:39:10.000767] [bjnp] udp_command: ERROR - no data received<br>
>> (timeout = 2000)<br>
>> [16:39:10.000879] [bjnp] bjnp_init_device_structure: Cannot read mac<br>
>> address, skipping this scanner<br>
>> [16:39:10.003823] [bjnp] bjnp_allocate_device: ERROR - Cannot<br>
>> resolve host: fe80 port 8612<br>
>> <br>
>> No scanners were identified. If you were expecting something<br>
>> different,<br>
>> check that the scanner is plugged in, turned on and detected by the<br>
>> sane-find-scanner tool (if appropriate). Please read the<br>
>> documentation<br>
>> which came with this software (README, FAQ, manpages).<br>
>> <br>
>> If you have any suggestions, I would certainly appreciate it.<br>
>> <br>
>> Thank you<br>
> <br>
> <br>
> Links:<br>
> ------<br>
> [1] <a href="http://ld-2.27.so" rel="noreferrer" target="_blank">http://ld-2.27.so</a><br>
> [2] <a href="http://192.168.1.16:8612/timeout=2000" rel="noreferrer" target="_blank">http://192.168.1.16:8612/timeout=2000</a><br>
</blockquote></div>