ma printer: add SXC-3205W network scanner

This commit is contained in:
makefu 2017-09-11 23:02:58 +02:00
parent 2b4d7d9512
commit 4b19401a82
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -14,17 +14,20 @@ in {
# scanners are printers just in reverse anyway # scanners are printers just in reverse anyway
services.saned.enable = true; services.saned.enable = true;
users.users."${mainUser}".extraGroups = [ "scanner" ]; users.users."${mainUser}".extraGroups = [ "scanner" "lp" ];
hardware.sane = { hardware.sane = {
enable = true; enable = true;
extraBackends = [ pkgs.samsungUnifiedLinuxDriver ]; extraBackends = [ ];
# $ scanimage -p --format=jpg --mode=Gray --source="Automatic Document Feeder" -v --batch="lol%d.jpg" --resolution=150 # $ scanimage -p --format=jpg --mode=Gray --source="Automatic Document Feeder" -v --batch="lol%d.jpg" --resolution=150
# requires 'sane-extra', scan via: # requires 'sane-extra', scan via:
extraConfig."magicolor" = '' #extraConfig."magicolor" = ''
net 10.42.20.30 0x2098 # net 10.42.20.30 0x2098
''; # 10.42.20.30: uhrenkind.shack magicolor 1690mf #''; # 10.42.20.30: uhrenkind.shack magicolor 1690mf
extraConfig."xerox_mfp" = ''
tcp 192.168.1.5
''; #home printer SCX-3205W
}; };
} }