dot/.config/scriptrc/snn.sh
2023-07-22 14:49:09 +02:00

8 lines
292 B
Bash

# scanning
function snn() {
local name="${1:-output}"
local format="${2:-png}"
local resolution="${3:-300}"
local fname=$name.$format
scanimage --format $format --progress --device "hpaio:/net/envy_6000_series?ip=192.168.0.45&queue=false" --output-file $fname --resolution $resolution
}