Ubuntu – Scanner Not detected by Simple Scan

18.04canonpixmascannersimplescan

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?

Best Answer

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.