IT/Software/Applications/Scanning

From msgwiki
Jump to navigation Jump to search

sane

This is the machine behind scanning on ubuntu.

Install the ppa

sudo add-apt-repository ppa:sane-project/sane-git

If you have the old one you need to

sudo ppa-purge ppa:rolfbensch/sane-git

Then update and upgrade.

Scanner not found or "device busy" error

This can be because someone else has the scanner locked since they are using it

It can be because the usb info is not properly in the sane.d config files.

For example you can run.

sudo sane-find-scanner

Then look at the info for the scanner. It needs to appear in a config file.

For us we needed to add the MG3600 like this in /etc/sane.d/canon_dr.conf

# MG3600 series

usb 0x04a9 0x178a

gscan2pdf

Brilliant program
gscan2pdf

NAPS2

This is a great cross platform and free application.

Does a fantastic job straightening scans that are skewed a bit due to the doc feeder.

Scanning over the network

This can be very tricky.

At the bottom of the /etc/sane.d/saned.conf you need to add:

192.168.2.0/24 (change base on your network but the last 0/24 is same)

Somewhere in December 2020 this broke.

On the machine serving the printers you need to purge ippusbxd

Now we need to install the debs for airscan and ipp-usb

here

In the file /etc/sane.d/net.conf you need to add hosts to attach to

newi3

192.168.2.100

And change the timeout to about 20 seconds.

connect_timeout = 20

If your scanner is behind a firewall you may need to open the sane port.

sudo ufw allow 6566

As you see the host can be a LAN IP or hostname if in /etc/hosts


Reboot.