我在使用 Brother DCP-7070DWR、Ubuntu 14.04 上的 xsane 或 simplescan 等 GUI 软件进行扫描时遇到问题
我的打印机通过 wifi 连接。我已成功安装 Brother 打印机和扫描仪驱动程序。打印工作正常。但我无法扫描 - xsane 告诉我“没有可用设备”(从 root 也一样)
扫描图像测试显示一切正常:
vito@vws:~$ scanimage -d test -T
scanimage: scanning image of size 157x196 pixels at 8 bits/pixel
scanimage: acquiring gray frame, 8 bits/sample
scanimage: reading one scanline, 157 bytes... PASS
scanimage: reading one byte... PASS
scanimage: stepped read, 2 bytes... PASS
scanimage: stepped read, 4 bytes... PASS
scanimage: stepped read, 8 bytes... PASS
scanimage: stepped read, 16 bytes... PASS
scanimage: stepped read, 32 bytes... PASS
scanimage: stepped read, 64 bytes... PASS
scanimage: stepped read, 128 bytes... PASS
scanimage: stepped read, 256 bytes... PASS
scanimage: stepped read, 255 bytes... PASS
scanimage: stepped read, 127 bytes... PASS
scanimage: stepped read, 63 bytes... PASS
scanimage: stepped read, 31 bytes... PASS
scanimage: stepped read, 15 bytes... PASS
scanimage: stepped read, 7 bytes... PASS
scanimage: stepped read, 3 bytes... PASS
这是我的电脑上安装的兄弟的驱动程序:
vito@vws:/opt/lampp/htdocs/qoot$ dpkg -l | grep -i brother
ii brgenml1cupswrapper 3.1.0-1 i386 Brother BrGenML1 CUPS wrapper driver
ii brgenml1lpr 3.1.0-1 i386 Brother BrGenML1 LPR driver
ii brscan-skey 0.2.4-1 i386 Brother Linux scanner S-KEY tool
ii brscan4 0.4.3-1 i386 Brother Scanner Driver
ii printer-driver-ptouch 1.3-8 i386 printer driver Brother P-touch label printers
但是 sane-find-scanner 实用程序向我展示了一些管道问题:
vito@vws:~$ 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.
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
但是,我运行了经过评估的 VueScan - 开箱即用,扫描效果非常好。请给我一些关于如何修复 xsane 工作的建议。
请注意,安装的 VueScan 扫描软件运行良好(扫描成功),因此似乎不是 IP 地址问题。但 xsane/simplescan 不起作用,这是一个问题(因为它是一款免费软件)
答案1
已解决。使用打印机/扫描仪上的菜单按钮获取扫描仪的 IP 地址,选择网络,然后选择 TCP / IP,再选择 IP 地址。对其进行 ping:
brsaneconfig4 -p 192.168.0.107
对我来说没有任何答案。所以我通过 brsaneconfig 设置我的扫描仪 IP:
brsaneconfig4 -a name=DCP-7070DW model=DCP7070DW ip=192.168.0.107
然后重启电脑并再次 ping。现在 ping 工作正常,xsane 成功检测到扫描仪。