ma printer: add SXC-3205W network scanner
This commit is contained in:
parent
2b4d7d9512
commit
4b19401a82
@ -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
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user