ubuntun安装扫描仪

这篇博客详细介绍了在Ubuntu系统中配置扫描仪的步骤,包括安装vim、sane和sane-utils,使用sane-find-scanner检测扫描仪,编辑/saned配置文件启用服务,更新net.conf文件,以及重启saned服务。最终通过SimpleScan等工具验证扫描仪的可用性。
摘要由CSDN通过智能技术生成

步骤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
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值