dot/.config/scriptrc/snn.sh

9 lines
292 B
Bash
Raw Normal View History

2023-07-22 14:46:26 +02:00
# 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
}