IT/Software/Applications/Scanning: Difference between revisions

From msgwiki
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
Line 53: Line 53:
In the file /etc/sane.d/net.conf you need to add hosts to attach to
In the file /etc/sane.d/net.conf you need to add hosts to attach to


newi3
<code>newi3</code>


192.168.2.100
<code>192.168.2.100</code>


And change the timeout to about 20 seconds.
And change the timeout to about 20 seconds.
Line 63: Line 63:
If your scanner is behind a firewall you may need to open the sane port.
If your scanner is behind a firewall you may need to open the sane port.


sudo ufw allow 6566
<code>sudo ufw allow 6566</code>


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

Revision as of 12:21, 26 January 2021

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

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.