Scanner Not detected by Simple Scan

I have Canon Pixma G3012 All-in-One Wireless Ink Tank Colour Printer

I am trying to scan a document from my Linux Ubuntu 18 installed PC using simple scan software.

Connected the device into PC over USB and powered on. Opened simple scan software and tried to scan the document. But got the message as "no scanner available please connect a scanner"

Already installed the driver package named scangearmp2-3.30-1-deb.tar.gz.

Used command sane-find-scanner and got below result

found USB scanner (vendor=0x04a9 [Canon], product=0x183b [G3010 series]) at libusb:001:004
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

Issued command scanimage -L and got below results.

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

Referred below two links.

http://www.sane-project.org/sane-mfgs.html#Z-CANON
https://help.ubuntu.com/community/SANE%20-%20Installing%20a%20scanner%20that%20isn%27t%20auto-detected

After that manually added below line in file named /etc/sane.d/genesys.conf

# Canon PIXMA G3012
usb 0x04a9 0x183b

Run the command scanimage -L again but still got scanner not detected message.

Any help is much appreciated.

Adding to this Printing function is working fine for this device. Tested and verified but difficulty in scanning.

Okay. There is an improvement.

I have installed the scangearmp2-3.60-1-deb.tar.gz package by removing scangearmp2-3.30-1-deb.tar.gz. After that scanning is working by initiating the command "scangearmp2". But still simple-scan doesn't detect scanner.

Found below comment from link

Canon MB2320: Scangear works, but simplescan and xsane don't find scanner

Canon does not develop SANE drivers for their scanners but they provide an own solution scangearmp for basic scan functions. This will of course not allow using SANE backends such as simplescan or xsane

For many PIXMA scanners there is a SANE implementation sane-pixma but I could not test if these work or can be made working with the Canon MAXIFY series.

http://manpages.ubuntu.com/manpages/cosmic/en/man5/sane-pixma.5.html

Any idea how the sane-pixma can be installed in ubuntu18.04?


Solution 1:

I had a similar issue:

I have an HP All-in-One printer which includes also scanner.

The printer worked OK, but the scanners didn't. The device was pinged properly (also the HTTP interface worked OK).

So I followed the instructions in this URL: https://help.ubuntu.com/community/ScanningHowTo#LAN-based_scanners (Under title "LAN based scanners")

After performing:

sudo hp-setup -i 1.2.3.4

(while 1.2.3.4 is the local IP address of the printer/HP-device.)

Then the scanner worked properly.

Solution 2:

Try this: Go to ScanGearmp2 and download or automatically install the file scangearmp2_3.50.6_amd64.deb

It works for me, Canon TS3151 printer and scanner on a clean install of Xubuntu 18.04

Solution 3:

scangear is a frontend to sane. Xsane and simple-scan are also frontends (not backends as erroneously said earlier).

scangearmp does not provide a backend for SANE to use. Xsane and simple-scan cannot connect to something that does not exist.

Solution 4:

I had the same problem. I was able to scan through scangearmp2 but was unhappy with the result and couldn't get it to work with Simple Scan. The solution posted here: https://ubuntuforums.org/showthread.php?t=2362915&p=13663260#post13663260 solved scanning problem with my Canon Pixma G3411.

I first added this PPA: sudo add-apt-repository ppa:rolfbensch/sane-git and sudo apt-get update

After that I had to install updates through Update Manager. And that's it. Now it works with Simple Scan too.