个人工具
登录
查看“UbuntuHelp:ScanningHowTo”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:ScanningHowTo”的源代码
来自Ubuntu中文
←
UbuntuHelp:ScanningHowTo
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/ScanningHowTo}} {{Languages|UbuntuHelp:ScanningHowTo}} Scanning in Ubuntu is actually quite easy. This guide will walk you through how to use your scanner and what to do if Ubuntu cannot find your scanner. === Does my scanner work with Ubuntu? === There are three ways to see if you scanner works in Ubuntu: <ol><li>Simply plug it in and try it! If it is a newer USB scanner, it is likely that it will just work. </li><li>Check https://wiki.ubuntu.com/HardwareSupportComponentsScanners which is Ubuntu specific. </li><li>[http://www.sane-project.org/sane-backends.html SANE project listing of support scanners] - The SANE (Scanner Access Now Easy) project provides most of the backends to the scanning software on Ubuntu.</li></ol> === Using your scanner === Most of the time, Ubuntu will simply detect your scanner and you just be able to use it. To scan a document, you need to follow these steps: <ol><li>Place what you want to scan on the scanner </li><li>Go to Applications --> Graphics --> [[UbuntuHelp:XSane|XSane]] Image Scanner </li><li>Alternately, pressing the scan button on the scanner should also work</li></ol> === What if it says "No devices available"? === There are two reasons why you might get this message. <ol><li>Your scanner is not supported in Ubuntu. The most common type of scanner not supported is old parallel port or Lexmark All-in-One printer/scanner/faxes </li><li>The driver for your scanner is not being autoloaded </li><li>If your scanner is a Mustek 1200 UB Plus you will need this file [http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/sbfw.usb sbfw.usb] then rename it to "PS1fw.usb" then put the file in the directory "/usr/share/sane/gt68xx" (remember to give read permission to all users)</li></ol> ==== Manually installing a scanner ==== There are some scanners that have less than complete drivers from the SANE project. They can sometimes be used, but not all the features may work. These scanners are: * HP 4200 * HP 3300C * HP 4300C * Agfa Snapscan Touch * HP 4400C * HP 4470C <ol><li>Make sure the [[UbuntuHelp:AddingRepositoryHowto|Universe repository]] is enabled. The easiest way to do this is probably through [[UbuntuHelp:SynapticHowto|Synaptic]]. </li><li>Get the drivers by searching Synaptic for libsane-extras or at a terminal type:</li></ol> <pre><nowiki> sudo apt-get install libsane-extras </nowiki></pre> <ol><li>Edit the /etc/sane.d/dll.conf and enable the right driver for your scanner. Look for the lines that say:</li></ol> <pre><nowiki> # The following backends are not part of the SANE distribution # but are provided by the libsane-extras Debian package </nowiki></pre> Below it are several commented out lines. Uncomment (delete the #) the right one for your scanner, as follows: * HP 4200 - uncomment the <code><nowiki>hp4200</nowiki></code> line. * HP 3300C, HP 3400C, HP 4300C, Afga Snapscan Touch - uncomment the <code><nowiki>niash</nowiki></code> line. * HP 4400C, HP 4470C - uncomment the <code><nowiki>hp_rts88xx</nowiki></code> line. 4.) Fire up sane and scan away. '''Note:''' Because of the way Linux's hotplugging stuff works, you may need to plug in the scanner after the computer has booted. If you're having problems seeing the scanner, you might want to try this. ==== Manually Installing a Network Scanner ==== Ubuntu does not automatically detect a scanner that is shared by a remote computer so you need to set it up manually: ===== Server-side Setup ===== On the computer that is sharing the scanner you need to add the following line to /etc/inetd.conf <pre><nowiki> sane-port stream tcp nowait saned.saned /usr/sbin/saned saned </nowiki></pre> And restart inetd: <pre><nowiki> sudo /etc/init.d/inetd restart </nowiki></pre> Or, if you are using xinetd, create a file called /etc/xinetd.d/saned and enter the following in the file: <pre><nowiki> { socket_type = stream server = /usr/sbin/saned protocol = tcp user = saned group = saned wait = no disable = no } </nowiki></pre> And restart xinetd: <pre><nowiki> sudo /etc/init.d/xinetd restart </nowiki></pre> Now add the following line to /etc/sane.d/sand.conf to share the printer with all computers on your subnet: <pre><nowiki> 192.168.1.0/24 </nowiki></pre> ===== Client-side Setup ===== From the client, all you need to do is add server name or IP address of the scanner server to /etc/sane.d/net.conf: <pre><nowiki> 192.168.1.100 </nowiki></pre> Now run xsane and it should pick up the new network scanner. ===== Specific Models ===== Some specific models have been documented here: * [[UbuntuHelp:Lifetec9385Config|Lifetec9385Config]] * [[UbuntuHelp:ArtecEplus48uConf|ArtecEplus48uConf]] * [[UbuntuHelp:GeniusColorpageVivid4X|GeniusColorpageVivid4X]] === Helping Ubuntu support more scanners === There are a number of ways you can help Ubuntu support more scanners * Support the SANE (Scanner Access Now Easy) project, which provides most of the scanning backend information. [http://www.sane-project.org/contrib.html Contributing to SANE] * When purchasing a new scanner, always ask if it works in Linux * Contact the manufacturer about supporting your scanner under Linux. Make certain you tell them about the SANE project === External links === * [http://www.sane-project.org/ SANE project] (Scanner Access Now Easy) * [http://tldp.org/HOWTO/Scanner-HOWTO/index.html SANE's scanner howto] [[category:CategoryDocumentation]] [[category:CategoryNeedsExpansion]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:ScanningHowTo
。