Scanners: Difference between revisions

imported>Jiltq
m syntax + wording + parity with manual
imported>Skylark
m Copyedit (no changes in content) + remove duplication of Apple list
Line 25: Line 25:
</syntaxhighlight>
</syntaxhighlight>


If you can only see scanners when running as root, try adding the user to the <tt>scanner</tt> or <tt>lp</tt> either using the configuration given above, or using the following code (beware, don't forget to logout/login after running this command):
If you can only see scanners when running as root, try adding the user to the <tt>scanner</tt> or <tt>lp</tt> groups, either using the method given above, or as follows (beware, don't forget to logout/login after running this command):
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
$ sudo usermod -a -G scanner,lp username
$ sudo usermod -a -G scanner,lp username
Line 31: Line 31:


==Supported backends==
==Supported backends==
See the [http://www.sane-project.org/sane-supported-devices.html Supported Devices] page to see if your scanner is supported. Some backends are proprietary and are not installed by default; see below. You may also be interested by "driverless" scanning (see below) if your scanner support the Apple AirScan and/or the Microsoft WSD, Apple maintains a list of compatible devices [https://support.apple.com/en-us/HT201311 here].
See the [http://www.sane-project.org/sane-supported-devices.html Supported Devices] page to check if your scanner is supported. Some backends are proprietary and are not installed by default; see below. You may also be interested in "driverless" scanning (see below) if your scanner supports Apple AirScan and/or Microsoft WSD.


===Driverless Apple AirScan and Microsoft WSD===
===Driverless Apple AirScan and Microsoft WSD===


A large number of printers now support "driverless" scanning. As explained [https://github.com/alexpevzner/sane-airscan on the sane-airscan backend project]:
A large number of printers now support "driverless" scanning. As explained [https://github.com/alexpevzner/sane-airscan at the sane-airscan backend project]:


<blockquote>
<blockquote>
Line 41: Line 41:


* Apple AirScan or AirPrint scanning (official protocol name is eSCL)
* Apple AirScan or AirPrint scanning (official protocol name is eSCL)
* Microsoft WSD, or WS-Scan (term WSD means "Web Services for Devices)
* Microsoft WSD, or WS-Scan (Web Services for Devices)


This backend implements both protocols, choosing automatically between them. It was successfully tested with many devices from '''Brother, Canon, Dell, Kyocera, Lexmark, Epson, HP, Panasonic, Ricoh, Samsung and Xerox''' both in WSD and eSCL modes.
This backend implements both protocols, choosing automatically between them. It was successfully tested with many devices from Brother, Canon, Dell, Kyocera, Lexmark, Epson, HP, Panasonic, Ricoh, Samsung and Xerox, both in WSD and eSCL modes.


For eSCL devices, Apple maintains a [https://support.apple.com/en-us/HT201311 '''comprehensive list of compatible devices'''], but please note, this list contains not only scanners and MFP, but pure printers as well.
For eSCL devices, Apple maintains a [https://support.apple.com/en-us/HT201311 comprehensive list of compatible devices]. This list has scanners, multifunction devices and pure printers.
</blockquote>
</blockquote>


To enable Apple AirScan/Microsoft WSD "driverless" scanning: use the <tt>sane-airscan</tt> drivers:
To enable Apple AirScan/Microsoft WSD "driverless" scanning, use the <tt>sane-airscan</tt> drivers:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
Line 54: Line 54:
</syntaxhighlight>
</syntaxhighlight>


If the scanner is an USB scanner, also set the following option:
If the scanner is connected by USB, also set the following option:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
services.ipp-usb.enable=true;
services.ipp-usb.enable=true;