ubuntun安装扫描仪
·
步骤1:首先 安装vim
sudo apt install vim
步骤2:Linux下一般使用sane做为扫描仪后端,安装如下:
sudo apt-get install sane sane-utils xsane
步骤3:搜索扫描仪
wangchao@wangchao-X3-Plus:~$ sudo sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x17ef [Lenovo], product=0x5625 [M7216NWA]) at libusb:001:004
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
步骤4:让我们第一步来检查在我们的Ubuntu客户端主机上是否存在一台可用的扫描仪。没有先前的安装,你将会看到信息提示"没有识别到扫描仪." $ scanimage -L
wangchao@wangchao-X3-Plus:~$ scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
步骤5:现在我们需要启用saned进程,用来预装Ubuntu桌面。要启用它,我们需要编辑/etc/default/saned文件,并设置RUN变量为yes:
wangchao@wangchao-X3-Plus:~$ sudo vim /etc/default/saned
wangchao@wangchao-X3-Plus:~$ sudo cat /etc/default/saned
# Defaults for the saned initscript, from sane-utils
# To enable under systemd please read README.Debian
# Set to yes to start saned under SysV
RUN=yes
# Set to the user saned should run as
RUN_AS_USER=saned
步骤6:让我们编辑/etc/sane.d/net.conf文件,并在扫描仪安装后添加服务器IP地址:

步骤7:重启saned进程:
$ sudo service saned restart
步骤8:现在让我们来看看扫描仪是否可用: 
现在我们可以打开"Simple Scan"(或者其它扫描工具)并开始扫描文件。我们可以旋转,修剪,和保存生成的图片:
更多推荐


所有评论(0)