我想扫描页面扫描图像和我的 Brother ADS-1700W 扫描仪。我想出的命令如下所示:
scanimage -d "brother5:bus3;dev2" --mode "Black & White" --resolution 300 --AutoDescew=yes --format tiff >out.tiff
这会产生以下错误:
unrecognized option '--AutoDescew'
我的扫描仪似乎支持 AutoDescew 选项。我通过执行检查了这一点
scanimage -h
这给了我以下输出:
Options specific to device `brother5:bus3;dev2': :
--mode 24bit Color[Fast]|Black & White|True Gray|Gray[Error Diffusion] [24bit Color[Fast]]
Select the scan mode
--resolution 100|150|200|300|400|600|1200dpi [100]
Sets the resolution of the scanned image.
--source Automatic Document Feeder(left aligned)|Automatic Document Feeder(center aligned)|Automatic Document Feeder(left
aligned,Duplex)|Automatic Document Feeder(center aligned,Duplex)|Card
Slot|Card Slot(Duplex) [Automatic Document Feeder(left aligned)]
Selects the scan source (such as a document-feeder).
--brightness -50..50% (in steps of 1) [inactive]
Controls the brightness of the acquired image.
--contrast -50..50% (in steps of 1) [inactive]
Controls the contrast of the acquired image.
--MultifeedDetection[=(yes|no)] [inactive]
--AutoDocumentSize[=(yes|no)] [no] [advanced]
--AutoDeskew[=(yes|no)] [no] [advanced]
--SkipBlankPage[=(yes|no)] [inactive]
--SkipBlankPageSensitivity 0..100% (in steps of 1) [inactive]
为什么该选项“无法识别”?这与标记为“高级”的选项有关吗?
额外问题:如何启用“非活动”选项?例如SkipBlankPage
?我知道我的扫描仪支持此功能,但我不知道如何启用它......
答案1
选项是--AutoDeskew
,您正在尝试--AutoDescew
(“c”而不是“k”)。