備忘錄_20160105(定位) 修改 回首頁

程式 2026-09-04 11:19:04 1788491944 100
樹莓派 raspberry pi 下指令掃描 scan

樹莓派 raspberry pi 下指令掃描 scan



raspberry pi 底下
列印系統用 CUPS 
掃描系統用 SANE

sudo apt install sane-utils

scanimage -L (查看有哪些裝置可用)

scanimage -d 'escl:https://192.168.1.68:443' --help (查看支援的指令有哪些)

scanimage -d 'epson2:net:192.168.1.55' --mode Color --resolution 300 --format=jpeg > test001.jpg
scanimage -d 'epson2:net:192.168.1.55' --mode Gray --resolution 300 --format=jpeg > test002.jpg

scanimage -d 'escl:https://192.168.1.68:443' --mode Color --resolution 300 --format=jpeg > test003.jpg
scanimage -d 'airscan:e3:EPSON WF-C579R Series' --mode Color --resolution 300 --format=jpeg > test004.jpg


pi@raspberrypi:~ $ scanimage -L
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN "
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Author" content="SEIKO EPSON">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="text/javascript">
var path = location.href;
var Ret;
Ret = path.indexOf("/PRESENTATION/ADVANCED/COMMON/TOP", 0);
if (-1 < Ret) {
} else {
Ret = path.indexOf("PRESENTATION",0);
if (-1 < Ret) {
document.write("<meta http-equiv = 'refresh' content='0; URL= ./ADVANCED/COMMON/TOP'>");
} else {
document.write("<meta http-equiv = 'refresh' content='0; URL= ./PRESENTATION/ADVANCED/COMMON/TOP'>");
}
}
</script>
</head>
<body><noscript>啓用瀏覽器的JavaScript設定。</noscript></body></HTML>
device `escl:http://192.168.1.55:443' is a Epson L565 Series platen,adf scanner
device `escl:https://192.168.1.68:443' is a Epson WF-C579R Series platen,adf scanner
device `epson2:net:192.168.1.55' is a Epson PID 08D3 flatbed scanner
device `airscan:e2:EPSON L565 Series' is a eSCL EPSON L565 Series ip=192.168.1.55
device `airscan:e3:EPSON WF-C579R Series' is a eSCL EPSON WF-C579R Series ip=192.168.1.68