diff --git a/translated/tech/20200711 scanimage- scan from the command line.md b/translated/tech/20200711 scanimage- scan from the command line.md index a0609306f3..0acd78274a 100644 --- a/translated/tech/20200711 scanimage- scan from the command line.md +++ b/translated/tech/20200711 scanimage- scan from the command line.md @@ -1,6 +1,6 @@ [#]: collector: (lujun9972) [#]: translator: (geekpi) -[#]: reviewer: ( ) +[#]: reviewer: (wxy) [#]: publisher: ( ) [#]: url: ( ) [#]: subject: (scanimage: scan from the command line!) @@ -10,15 +10,17 @@ scanimage:从命令行扫描! ====== +![](https://img.linux.net.cn/data/attachment/album/202012/05/105822m30t6x66hz3hx6x3.jpg) + 这又是一篇关于我很喜欢的一个命令行工具的文章。 昨晚,出于官僚原因,我需要扫描一些文档。我以前从来没有在 Linux 上使用过扫描仪,我担心会花上好几个小时才弄明白。我从使用 `gscan2pdf` 开始,但在用户界面上遇到了麻烦。我想同时扫描两面(我知道我们的扫描仪支持),但无法使它工作。 ### 遇到 scanimage! -`scanimage` 是一个命令行工具,在 `sane-utils` Debian 软件包中。我想所有的 Linux 扫描工具都使用 `sane` (”scanner access now easy“) 库,所以我猜测它和其他扫描软件有类似的能力。在这里,我不需要 OCR,所以我们不打算谈论 OCR。 +`scanimage` 是一个命令行工具,在 `sane-utils` Debian 软件包中。我想所有的 Linux 扫描工具都使用 `sane` (“scanner access now easy”) 库,所以我猜测它和其他扫描软件有类似的能力。在这里,我不需要 OCR,所以我不打算谈论 OCR。 -### 用 `scanimage -L` 得到你的扫描仪的名字 +### 用 scanimage -L 得到你的扫描仪的名字 `scanimage -L` 列出了你所有的扫描设备。 @@ -26,7 +28,7 @@ scanimage:从命令行扫描! 插上后,它马上就能工作了。显然我们的扫描仪叫 `fujitsu:ScanSnap S1500:2314`。万岁! -### 用 `--help` 列出你的扫描仪选项 +### 用 --help 列出你的扫描仪选项 显然每个扫描仪有不同的选项(有道理!),所以我运行这个命令来获取我的扫描仪的选项: @@ -60,6 +62,7 @@ convert *.png $CUR/$1 ### 这真是太简单了! 我一直以为在 Linux 上使用打印机/扫描仪是一个噩梦,我真的很惊讶 `scanimage` 可以工作。我可以直接运行我的脚本 `scan-single-sided receipts.pdf`,它将扫描文档并将其保存到 `receipts.pdf`! + -------------------------------------------------------------------------------- via: https://jvns.ca/blog/2020/07/11/scanimage--scan-from-the-command-line/ @@ -67,7 +70,7 @@ via: https://jvns.ca/blog/2020/07/11/scanimage--scan-from-the-command-line/ 作者:[Julia Evans][a] 选题:[lujun9972][b] 译者:[geekpi](https://github.com/geekpi) -校对:[校对者ID](https://github.com/校对者ID) +校对:[wxy](https://github.com/wxy) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出