Scanners: Difference between revisions

imported>Ngkz
m GIMP 2.10 different plug-in path
imported>Artturin
No edit summary
Line 36: Line 36:


==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 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].


===Driverless Apple AirScan and Microsoft WSD===
===Driverless Apple AirScan and Microsoft WSD===
Line 79: Line 79:
<syntaxhighlight lang="nix">{
<syntaxhighlight lang="nix">{
   hardware.sane.enable = true;
   hardware.sane.enable = true;
  hardware.sane.drivers.scanSnap.enable = true;
  # the below may be necessary
   nixpkgs.config.sane.snapscanFirmware = pkgs.fetchurl {
   nixpkgs.config.sane.snapscanFirmware = pkgs.fetchurl {
     # https://wiki.ubuntuusers.de/Scanner/Epson_Perfection/#Unterstuetzte-Geraete
     # https://wiki.ubuntuusers.de/Scanner/Epson_Perfection/#Unterstuetzte-Geraete
Line 91: Line 93:
<syntaxhighlight lang="nix">{
<syntaxhighlight lang="nix">{
   ...
   ...
   imports = [  
   imports = [
     <nixpkgs/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix>
     <nixpkgs/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix>
     ./hardware-configuration.nix
     ./hardware-configuration.nix
   ];
   ];
   ...  
   ...
}</syntaxhighlight>
}</syntaxhighlight>


Line 127: Line 129:
   ...
   ...
   nixpkgs.config.packageOverrides = pkgs: {
   nixpkgs.config.packageOverrides = pkgs: {
     xsaneGimp = pkgs.xsane.override { gimpSupport = true; };  
     xsaneGimp = pkgs.xsane.override { gimpSupport = true; };
   };
   };
   ...
   ...