按照以下步骤这个问题,我已设法通过网络发现我的扫描仪,scanimage -L
但仍然收到错误scanimage -T
:
[sanei_debug] Setting debug level of pixma to 5.
[pixma] pixma is compiled with pthread support.
[pixma] pixma version 0.17.24
[pixma] Scanner model found: Name MX920(Canon PIXMA MX920 Series) matches MX920 series
[pixma] pixma_collect_devices() found Canon PIXMA MX920 Series at bjnp://10.0.0.5:8612
[pixma] pixma_find_scanners() found 1 devices
[pixma] Scanner model found: Name MX920(Canon PIXMA MX920 Series) matches MX920 series
[pixma] pixma_collect_devices() found Canon PIXMA MX920 Series at bjnp://10.0.0.5:8612
[pixma] pixma_open(): Canon PIXMA MX920 Series
[pixma] *mp150_open***** This is a generation 4 scanner. *****
[pixma] Reader task started
[pixma] Reader task id=139912999573248 (threaded)
scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 1914 bytes... [bjnp] bjnp_open_tcp: ERROR - Can not connect to scanner: Connection refused
[pixma] Reader task terminated: EINVAL
[pixma] read_image():reader task closed the pipe:0 bytes received, 1678578 bytes expected
FAIL Error: Invalid argument
[pixma] pixma_close(): Canon PIXMA MX920 Series
[bjnp] bjnp_open_tcp: ERROR - Can not connect to scanner: Connection refused
与防火墙停用或 sudo 相同
$ dpkg -l | grep sane
ii libsane:amd64 1.0.26~git20151121-1 amd64 API library for scanners
ii libsane-common 1.0.26~git20151121-1 all API library for scanners -- documentation and support files
ii libsane-hpaio 3.15.7-0ubuntu4 amd64 HP SANE backend for multi-function peripherals
ii sane 1.0.14-11 amd64 scanner graphical frontends
ii sane-utils 1.0.26~git20151121-1 amd64 API library for scanners -- utilities
rc xsane 0.998-6ubuntu1 amd64 featureful graphical frontend for SANE (Scanner Access Now Easy)
ii xsane-common 0.998-6ubuntu1 all featureful graphical frontend for SANE (Scanner Access Now Easy)
uname
给出:
Linux 4.2.0-27-generic x86_64 GNU/Linux
再说一句,我有另外两台笔记本电脑,分别运行 Kubuntu 14.04 32 位和 64 位。32 位可以运行,64 位不行。
更新 1:使用 git ppa 更新 libsane
ii libsane:amd64 1.0.26-git20160214-wily0 amd64 API library for scanners
ii libsane-common 1.0.26-git20160214-wily0 amd64 API library for scanners -- documentation and support files
ii libsane-hpaio 3.15.7-0ubuntu4 amd64 HP SANE backend for multi-function peripherals
ii sane 1.0.14-11 amd64 scanner graphical frontends
ii sane-utils 1.0.26-git20160214-wily0 amd64 API library for scanners -- utilities
rc xsane 0.998-6ubuntu1 amd64 featureful graphical frontend for SANE (Scanner Access Now Easy)
ii xsane-common 0.998-6ubuntu1 all featureful graphical frontend for SANE (Scanner Access Now Easy)
仍然是同样的错误。scangear 当然可以工作,因为它没有使用 libsane,但我想使用 Java 库 jfreesane。
更新 2:git ppa 的最后一个主要部分正在运行
系统的标准MAJ使得图书馆能够正常运行。
感谢您的帮助/时间
答案1
考虑安装每日 SANE ppa。这实现了佳能多功能设备的 90% 功能。唯一无法使用的功能是送纸器,它与佳能的基本设备配合使用scangearmp2
。您能为您的扫描仪找到后者的程序吗?