Canon Pixma G3501 at *Ubuntu 18.04 LTS: help needed to get the scanner running.

Bas G. Roufs BasRoufs at gmail.com
Sun Sep 13 13:56:59 UTC 2020


Hello Brian,

Before carrying out the tests you suggest in your latest mail, I first 
explain what I have done in the mean time.

I did install the exactly right print and scan drivers from Canon.....

https://ijstartcanon.net/canon-pixma-g3501-drivers-download/

I did so more or less along the lines of this tutorial....

https://tutorialforlinux.com/2019/04/08/how-to-install-canon-g3500-g3501-driver-on-ubuntu-18-04-bionic-lts/2/

Now, let's carry out a few tests.....

bas at Viaconsensus-iter:~$ avahi-browse -rt _ipp._tcp
+ wlp3s0 IPv6 Canon G3000 series @ Viaconsensus-iter Internet 
Printer     local
+ wlp3s0 IPv6 Canon-Pixma-G3501 @ Viaconsensus-iter Internet Printer     
local
+ wlp3s0 IPv4 Canon G3000 series @ Viaconsensus-iter Internet 
Printer     local
+ wlp3s0 IPv4 Canon-Pixma-G3501 @ Viaconsensus-iter Internet Printer     
local
+ enp0s25 IPv6 Canon G3000 series @ Viaconsensus-iter Internet 
Printer     local
+ enp0s25 IPv6 Canon-Pixma-G3501 @ Viaconsensus-iter Internet 
Printer     local
+ enp0s25 IPv4 Canon G3000 series @ Viaconsensus-iter Internet 
Printer     local
+ enp0s25 IPv4 Canon-Pixma-G3501 @ Viaconsensus-iter Internet 
Printer     local
+     lo IPv4 Canon-Pixma-G3501 @ Viaconsensus-iter Internet Printer     
local
+     lo IPv4 Canon G3000 series @ Viaconsensus-iter Internet 
Printer     local
= enp0s25 IPv6 Canon-Pixma-G3501 @ Viaconsensus-iter Internet 
Printer     local
    hostname = [Viaconsensus-iter.local]
    address = [fe80::e18b:b96:9dbd:245a]
    port = [631]
    txt = ["printer-type=0x80100E" "printer-state=3" "Color=T" "TLS=1.2" 
"UUID=16a602fa-c058-3c36-7127-e5b685100966" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(g3000)" "priority=0" 
"adminurl=https://Viaconsensus-iter.local.:631/printers/Canon-Pixma-G3501" 
"ty=Canon G3000 series Ver.5.30" "rp=printers/Canon-Pixma-G3501" 
"qtotal=1" "txtvers=1"]
= enp0s25 IPv6 Canon G3000 series @ Viaconsensus-iter Internet 
Printer     local
    hostname = [Viaconsensus-iter.local]
    address = [fe80::e18b:b96:9dbd:245a]
    port = [631]
    txt = ["printer-type=0x80100E" "printer-state=3" "Color=T" "TLS=1.2" 
"UUID=9ea47200-f524-354a-4942-bc42a621cca2" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(g3000)" "priority=0" "note=Thuis" 
"adminurl=https://Viaconsensus-iter.local.:631/printers/Canon_G3000_series" 
"ty=Canon G3000 series Ver.5.30" "rp=printers/Canon_G3000_series" 
"qtotal=1" "txtvers=1"]
= wlp3s0 IPv4 Canon-Pixma-G3501 @ Viaconsensus-iter Internet Printer     
local
    hostname = [Viaconsensus-iter.local]
    address = [192.168.2.13]
    port = [631]
    txt = ["printer-type=0x80100E" "printer-state=3" "Color=T" "TLS=1.2" 
"UUID=16a602fa-c058-3c36-7127-e5b685100966" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(g3000)" "priority=0" 
"adminurl=https://Viaconsensus-iter.local.:631/printers/Canon-Pixma-G3501" 
"ty=Canon G3000 series Ver.5.30" "rp=printers/Canon-Pixma-G3501" 
"qtotal=1" "txtvers=1"]
= wlp3s0 IPv4 Canon G3000 series @ Viaconsensus-iter Internet 
Printer     local
    hostname = [Viaconsensus-iter.local]
    address = [192.168.2.13]
    port = [631]
    txt = ["printer-type=0x80100E" "printer-state=3" "Color=T" "TLS=1.2" 
"UUID=9ea47200-f524-354a-4942-bc42a621cca2" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(g3000)" "priority=0" "note=Thuis" 
"adminurl=https://Viaconsensus-iter.local.:631/printers/Canon_G3000_series" 
"ty=Canon G3000 series Ver.5.30" "rp=printers/Canon_G3000_series" 
"qtotal=1" "txtvers=1"]
= enp0s25 IPv4 Canon-Pixma-G3501 @ Viaconsensus-iter Internet 
Printer     local
    hostname = [Viaconsensus-iter.local]
    address = [192.168.2.3]
    port = [631]
    txt = ["printer-type=0x80100E" "printer-state=3" "Color=T" "TLS=1.2" 
"UUID=16a602fa-c058-3c36-7127-e5b685100966" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(g3000)" "priority=0" 
"adminurl=https://Viaconsensus-iter.local.:631/printers/Canon-Pixma-G3501" 
"ty=Canon G3000 series Ver.5.30" "rp=printers/Canon-Pixma-G3501" 
"qtotal=1" "txtvers=1"]
= enp0s25 IPv4 Canon G3000 series @ Viaconsensus-iter Internet 
Printer     local
    hostname = [Viaconsensus-iter.local]
    address = [192.168.2.3]
    port = [631]
    txt = ["printer-type=0x80100E" "printer-state=3" "Color=T" "TLS=1.2" 
"UUID=9ea47200-f524-354a-4942-bc42a621cca2" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(g3000)" "priority=0" "note=Thuis" 
"adminurl=https://Viaconsensus-iter.local.:631/printers/Canon_G3000_series" 
"ty=Canon G3000 series Ver.5.30" "rp=printers/Canon_G3000_series" 
"qtotal=1" "txtvers=1"]
=     lo IPv4 Canon G3000 series @ Viaconsensus-iter Internet 
Printer     local
    hostname = [localhost]
    address = [127.0.0.1]
    port = [631]
    txt = ["printer-type=0x80100E" "printer-state=3" "Color=T" "TLS=1.2" 
"UUID=9ea47200-f524-354a-4942-bc42a621cca2" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(g3000)" "priority=0" "note=Thuis" 
"adminurl=https://Viaconsensus-iter.local.:631/printers/Canon_G3000_series" 
"ty=Canon G3000 series Ver.5.30" "rp=printers/Canon_G3000_series" 
"qtotal=1" "txtvers=1"]
=     lo IPv4 Canon-Pixma-G3501 @ Viaconsensus-iter Internet Printer     
local
    hostname = [localhost]
    address = [127.0.0.1]
    port = [631]
    txt = ["printer-type=0x80100E" "printer-state=3" "Color=T" "TLS=1.2" 
"UUID=16a602fa-c058-3c36-7127-e5b685100966" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(g3000)" "priority=0" 
"adminurl=https://Viaconsensus-iter.local.:631/printers/Canon-Pixma-G3501" 
"ty=Canon G3000 series Ver.5.30" "rp=printers/Canon-Pixma-G3501" 
"qtotal=1" "txtvers=1"]
= wlp3s0 IPv6 Canon-Pixma-G3501 @ Viaconsensus-iter Internet Printer     
local
    hostname = [Viaconsensus-iter.local]
    address = [fe80::22dc:a659:1c00:454f]
    port = [631]
    txt = ["printer-type=0x80100E" "printer-state=3" "Color=T" "TLS=1.2" 
"UUID=16a602fa-c058-3c36-7127-e5b685100966" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(g3000)" "priority=0" 
"adminurl=https://Viaconsensus-iter.local.:631/printers/Canon-Pixma-G3501" 
"ty=Canon G3000 series Ver.5.30" "rp=printers/Canon-Pixma-G3501" 
"qtotal=1" "txtvers=1"]
= wlp3s0 IPv6 Canon G3000 series @ Viaconsensus-iter Internet 
Printer     local
    hostname = [Viaconsensus-iter.local]
    address = [fe80::22dc:a659:1c00:454f]
    port = [631]
    txt = ["printer-type=0x80100E" "printer-state=3" "Color=T" "TLS=1.2" 
"UUID=9ea47200-f524-354a-4942-bc42a621cca2" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(g3000)" "priority=0" "note=Thuis" 
"adminurl=https://Viaconsensus-iter.local.:631/printers/Canon_G3000_series" 
"ty=Canon G3000 series Ver.5.30" "rp=printers/Canon_G3000_series" 
"qtotal=1" "txtvers=1"]
bas at Viaconsensus-iter:~$

This looks OK, apparently.

Also the result of a CUPS print test looks perfectly OK - it came out 
quite quickly - wirelessly.


Now, I carry on with the scan test:

bas at Viaconsensus-iter:~$ avahi-browse -rt _uscan._tcp
bas at Viaconsensus-iter:~$

Still no result, though I DID install also the scan software directly 
from Canon.

Now, another test. I try to scan something. I launch XSane from 
terminal. The program starts and the device is being discovered 
instantly. I hit at the scan button. Then, I hear the device reacting - 
so the wireless connection is there, cause I did not connect it via the 
USB cable. Also during the installation process, I have indicated that I 
want to use a wireless connection. However, still no result. I get again 
this graphical error report:

"(....)

Error during read. Error during device I/O.

(...)"

The terminal delivers the following report:

"(...)

bas at Viaconsensus-iter:~$ xsane

(xsane:3963): Gtk-WARNING **: 15:28:47.891: Unable to locate theme 
engine in module_path: "adwaita",

(xsane:3963): Gtk-WARNING **: 15:28:47.897: Unable to locate theme 
engine in module_path: "adwaita",
[bjnp] bjnp_recv_header: ERROR - could not read response header (select 
timed out after 1000 ms)!
[bjnp] bjnp_recv_header: ERROR - could not read response header (select 
timed out after 1000 ms)!
[bjnp] bjnp_recv_header: ERROR - could not read response header (select 
timed out after 1000 ms)!
[bjnp] sanei_bjnp_write_bulk: ERROR - Could not read response to command!
[bjnp] bjnp_recv_header: ERROR - could not read response header (select 
timed out after 1000 ms)!
[bjnp] sanei_bjnp_write_bulk: ERROR - Could not read response to command!

(...)"

Skanlite delivers a similar non-result :-).

OK, now I carry on with the tests in your latest message.

On 13-09-2020 14:46, Brian wrote:
> On Sun 13 Sep 2020 at 12:01:49 +0200, Bas G. Roufs wrote:
>
>> OK, I have disconnected the USB cable at both sides. Interesting. I get
>> exactly the same result:
>>
>> bas at Viaconsensus-iter:~$ scanimage -L
>> device `pixma:G3000_192.168.2.12' is a CANON Canon PIXMA G4000 Series
>> multi-function peripheral
>> bas at Viaconsensus-iter:~$
> Lets continue checking that the 3501 is reachable.
>
> What do you get with 'ping -c 3 192.168.2.12'?

bas at Viaconsensus-iter:~$ ping -c 3 192.168.2.12
PING 192.168.2.12 (192.168.2.12) 56(84) bytes of data.
64 bytes from 192.168.2.12: icmp_seq=1 ttl=64 time=18.8 ms
64 bytes from 192.168.2.12: icmp_seq=2 ttl=64 time=7.57 ms
64 bytes from 192.168.2.12: icmp_seq=3 ttl=64 time=11.8 ms

--- 192.168.2.12 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 7.577/12.734/18.808/4.630 ms
bas at Viaconsensus-iter:~$

> Can you access the 3501's
> web interface with http://192.168.2.12 in the address bar of a browser?

Yes, I can - see attachment with a small version of the page I see 
there. It's a page dedicated to the "Printer status" of my device. It 
tells also that the printer is "in operation". Additionally, there are 
instructions about the ink tank, etc.

>
>>> Also provide the outputs from
>>>
>>>     avahi-browse -rt _ipp._tcp
>> The result I get from that command looks good:
>>
>> bas at Viaconsensus-iter:~$ avahi-browse -rt _ipp._tcp
>> + wlp3s0 IPv6 Canon G3000 series @ Viaconsensus-iter Internet Printer
>> local
>> + wlp3s0 IPv4 Canon G3000 series @ Viaconsensus-iter Internet Printer
>> local
>> + enp0s25 IPv6 Canon G3000 series @ Viaconsensus-iter Internet Printer
>> local
>> + enp0s25 IPv4 Canon G3000 series @ Viaconsensus-iter Internet Printer
>> local
>> +     lo IPv4 Canon G3000 series @ Viaconsensus-iter Internet Printer
>> local
>> = enp0s25 IPv6 Canon G3000 series @ Viaconsensus-iter Internet Printer
>> local
> Thanks for the data. It's ok, but it does not show any Bonjour broadcasts
> from the 3501. Puzzling!
>
> You have wireless (wlp3s0) and ethernet (enp0s2) interfaces available on
> the computer and can access your network with both of them.
>
>> bas at Viaconsensus-iter:~$ avahi-browse -rt _uscan._tcp
>> bas at Viaconsensus-iter:~$
>>
>> In other words - the command avahi-browse -rt _uscan._tcp does not deliver
>> any result.
> That's ok. The data is from the computer. Computers do not supply a uscan
> service.

Good to know this.

>
>> The above test is another indication that the wireless connection apparently
>> functions. However .... do I need to install some extra piece of software -
>> from Canon or our own repos or elsewhere? Or is there anything else I need
>> to do?
> Let's see what we get from what I have asked for. I do have some
> alternative software in mind, Bas.


Good. Tonight, after 22.30 time in NL/ 21.30 time in Britain, I will 
check your suggestions till that moment and get back to you. Friends are 
waiting for me now.

Thanks again for your help!

Yours.

Bas.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: printer in operation - 100 x ....png
Type: image/png
Size: 18265 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20200913/98539a1e/attachment.png>


More information about the ubuntu-users mailing list