亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? printing-intro-setup.html

?? FreeBSD操作系統的詳細使用手冊
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta name="generator" content="HTML Tidy, see www.w3.org" /><title>Basic Setup</title><meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /><link rel="HOME" title="FreeBSD 使用手冊" href="index.html" /><link rel="UP" title="打印" href="printing.html" /><link rel="PREVIOUS" title="介紹" href="printing-intro-spooler.html" /><link rel="NEXT" title="Advanced Printer Setup" href="printing-advanced.html" /><link rel="STYLESHEET" type="text/css" href="docbook.css" /><meta http-equiv="Content-Type" content="text/html; charset=GB2312" /></head><body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084"alink="#0000FF"><div class="NAVHEADER"><table summary="Header navigation table" width="100%" border="0" cellpadding="0"cellspacing="0"><tr><th colspan="3" align="center">FreeBSD 使用手冊</th></tr><tr><td width="10%" align="left" valign="bottom"><a href="printing-intro-spooler.html"accesskey="P">后退</a></td><td width="80%" align="center" valign="bottom">章 9. 打印</td><td width="10%" align="right" valign="bottom"><a href="printing-advanced.html"accesskey="N">前進</a></td></tr></table><hr align="LEFT" width="100%" /></div><div class="SECT1"><h1 class="SECT1"><a id="PRINTING-INTRO-SETUP" name="PRINTING-INTRO-SETUP">9.3. BasicSetup</a></h1><p>To use printers with the <b class="APPLICATION">LPD</b> spooling system, you will needto set up both your printer hardware and the <b class="APPLICATION">LPD</b> software.This document describes two levels of setup:</p><ul><li><p>See section <a href="printing-intro-setup.html#PRINTING-SIMPLE">Simple PrinterSetup</a> to learn how to connect a printer, tell <b class="APPLICATION">LPD</b> how tocommunicate with it, and print plain text files to the printer.</p></li><li><p>See section <a href="printing-advanced.html">Advanced Printer Setup</a> to find outhow to print a variety of special file formats, to print header pages, to print across anetwork, to control access to printers, and to do printer accounting.</p></li></ul><div class="SECT2"><h2 class="SECT2"><a id="PRINTING-SIMPLE" name="PRINTING-SIMPLE">9.3.1. Simple PrinterSetup</a></h2><p>This section tells how to configure printer hardware and the <bclass="APPLICATION">LPD</b> software to use the printer. It teaches the basics:</p><ul><li><p>Section <a href="printing-intro-setup.html#PRINTING-HARDWARE">Hardware Setup</a> givessome hints on connecting the printer to a port on your computer.</p></li><li><p>Section <a href="printing-intro-setup.html#PRINTING-SOFTWARE">Software Setup</a> showshow to set up the <b class="APPLICATION">LPD</b> spooler configuration file (<ttclass="FILENAME">/etc/printcap</tt>).</p></li></ul><p>If you are setting up a printer that uses a network protocol to accept data to printinstead of a serial or parallel interface, see <ahref="printing-advanced.html#PRINTING-ADVANCED-NETWORK-NET-IF">Printers With NetworkedData Stream Interfaces</a>.</p><p>Although this section is called ``Simple Printer Setup'', it is actually fairlycomplex. Getting the printer to work with your computer and the <bclass="APPLICATION">LPD</b> spooler is the hardest part. The advanced options like headerpages and accounting are fairly easy once you get the printer working.</p><div class="SECT3"><h3 class="SECT3"><a id="PRINTING-HARDWARE" name="PRINTING-HARDWARE">9.3.1.1. HardwareSetup</a></h3><p>This section tells about the various ways you can connect a printer to your PC. Ittalks about the kinds of ports and cables, and also the kernel configuration you may needto enable FreeBSD to speak to the printer.</p><p>If you have already connected your printer and have successfully printed with it underanother operating system, you can probably skip to section <ahref="printing-intro-setup.html#PRINTING-SOFTWARE">Software Setup</a>.</p><div class="SECT4"><h4 class="SECT4"><a id="PRINTING-PORTS" name="PRINTING-PORTS">9.3.1.1.1. Ports andCables</a></h4><p>Printers sold for use on PC's today generally come with one or more of the followingthree interfaces:</p><ul><li><p><span class="emphasis"><i class="EMPHASIS">Serial</i></span> interfaces, also known asRS232C or RS232D, or COM ports, use a serial port on your computer to send data to theprinter. Serial interfaces are common in the computer industry and cables are readilyavailable and also easy to construct. Serial interfaces sometimes need special cables andmight require you to configure somewhat complex communications options. Most PC serialports have a maximum transmission rate of 115200&nbsp;bps, which makes printing largegraphic print jobs with them impractical.</p></li><li><p><span class="emphasis"><i class="EMPHASIS">Parallel</i></span> interfaces use aparallel port on your computer to send data to the printer. Parallel interfaces arecommon in the PC market and are faster than RS232 serial. Cables are readily availablebut more difficult to construct by hand. There are usually no communications options withparallel interfaces, making their configuration exceedingly simple.</p><p>Parallel interfaces are sometimes known as ``Centronics'' interfaces, named after theconnector type on the printer.</p></li><li><p>USB interfaces, named for the Universal Serial Bus, can run at even faster speeds thanparallel or RS232 serial interfaces. Cables are simple and cheap. USB is superior toRS232 Serial and to Parallel for printing, but it is not as well supported under <spanclass="TRADEMARK">UNIX</span>&reg; systems. A way to avoid this problem is to purchase aprinter that has both a USB interface and a Parallel interface, as many printers do.</p></li></ul><p>In general, Parallel interfaces usually offer just one-way communication (computer toprinter) while serial and USB gives you two-way. Newer parallel ports (EPP and ECP) andprinters can communicate in both directions under FreeBSD when a IEEE1284 compliant cableis used.</p><p>Two-way communication to the printer over a parallel port is generally done in one oftwo ways. The first method uses a custom built printer driver for FreeBSD that speaks theproprietary language used by the printer. This is common with inkjet printers and can beused for reporting ink levels and other status information. The second method is usedwhen the printer supports <span class="TRADEMARK">PostScript</span>&reg;.</p><p><span class="TRADEMARK">PostScript</span> jobs are actually programs sent to theprinter; they need not produce paper at all and may return results directly to thecomputer. <span class="TRADEMARK">PostScript</span> also uses two-way communication totell the computer about problems, such as errors in the <spanclass="TRADEMARK">PostScript</span> program or paper jams. Your users may be appreciativeof such information. Furthermore, the best way to do effective accounting with a <spanclass="TRADEMARK">PostScript</span> printer requires two-way communication: you ask theprinter for its page count (how many pages it has printed in its lifetime), then send theuser's job, then ask again for its page count. Subtract the two values and you know howmuch paper to charge the user.</p></div><div class="SECT4"><h4 class="SECT4"><a id="PRINTING-PARALLEL" name="PRINTING-PARALLEL">9.3.1.1.2. ParallelPorts</a></h4><p>To hook up a printer using a parallel interface, connect the Centronics cable betweenthe printer and the computer. The instructions that came with the printer, the computer,or both should give you complete guidance.</p><p>Remember which parallel port you used on the computer. The first parallel port is <ttclass="FILENAME">/dev/ppc0</tt> to FreeBSD; the second is <ttclass="FILENAME">/dev/ppc1</tt>, and so on. The printer device name uses the same scheme:<tt class="FILENAME">/dev/lpt0</tt> for the printer on the first parallel ports etc.</p></div><div class="SECT4"><h4 class="SECT4"><a id="PRINTING-SERIAL" name="PRINTING-SERIAL">9.3.1.1.3. SerialPorts</a></h4><p>To hook up a printer using a serial interface, connect the proper serial cable betweenthe printer and the computer. The instructions that came with the printer, the computer,or both should give you complete guidance.</p><p>If you are unsure what the ``proper serial cable'' is, you may wish to try one of thefollowing alternatives:</p><ul><li><p>A <span class="emphasis"><i class="EMPHASIS">modem</i></span> cable connects each pinof the connector on one end of the cable straight through to its corresponding pin of theconnector on the other end. This type of cable is also known as a ``DTE-to-DCE''cable.</p></li><li><p>A <span class="emphasis"><i class="EMPHASIS">null-modem</i></span> cable connects somepins straight through, swaps others (send data to receive data, for example), and shortssome internally in each connector hood. This type of cable is also known as a``DTE-to-DTE'' cable.</p></li><li><p>A <span class="emphasis"><i class="EMPHASIS">serial printer</i></span> cable, requiredfor some unusual printers, is like the null-modem cable, but sends some signals to theircounterparts instead of being internally shorted.</p></li></ul><p>You should also set up the communications parameters for the printer, usually throughfront-panel controls or DIP switches on the printer. Choose the highest <varclass="LITERAL">bps</var> (bits per second, sometimes <span class="emphasis"><iclass="EMPHASIS">baud rate</i></span>) rate that both your computer and the printer cansupport. Choose 7 or 8 data bits; none, even, or odd parity; and 1 or 2 stop bits. Alsochoose a flow control protocol: either none, or XON/XOFF (also known as ``in-band'' or``software'') flow control. Remember these settings for the software configuration thatfollows.</p></div></div><div class="SECT3"><h3 class="SECT3"><a id="PRINTING-SOFTWARE" name="PRINTING-SOFTWARE">9.3.1.2. SoftwareSetup</a></h3><p>This section describes the software setup necessary to print with the <bclass="APPLICATION">LPD</b> spooling system in FreeBSD.</p><p>Here is an outline of the steps involved:</p><div class="PROCEDURE"><ol type="1"><li><p>Configure your kernel, if necessary, for the port you are using for the printer;section <a href="printing-intro-setup.html#PRINTING-KERNEL">Kernel Configuration</a>tells you what you need to do.</p></li><li><p>Set the communications mode for the parallel port, if you are using a parallel port;section <a href="printing-intro-setup.html#PRINTING-PARALLEL-PORT-MODE">Setting theCommunication Mode for the Parallel Port</a> gives details.</p></li><li><p>Test if the operating system can send data to the printer. Section <ahref="printing-intro-setup.html#PRINTING-TESTING">Checking Printer Communications</a>gives some suggestions on how to do this.</p></li><li><p>Set up <b class="APPLICATION">LPD</b> for the printer by modifying the file <ttclass="FILENAME">/etc/printcap</tt>. You will find out how to do this later in thischapter.</p></li></ol></div><div class="SECT4"><h4 class="SECT4"><a id="PRINTING-KERNEL" name="PRINTING-KERNEL">9.3.1.2.1. KernelConfiguration</a></h4><p>The operating system kernel is compiled to work with a specific set of devices. Theserial or parallel interface for your printer is a part of that set. Therefore, it mightbe necessary to add support for an additional serial or parallel port if your kernel isnot already configured for one.</p><p>To find out if the kernel you are currently using supports a serial interface,type:</p><pre class="SCREEN"><samp class="PROMPT">#</samp> <kbd class="USERINPUT">grep sio<varclass="REPLACEABLE">N</var> /var/run/dmesg.boot</kbd></pre><p>Where <var class="REPLACEABLE">N</var> is the number of the serial port, starting fromzero. If you see output similar to the following:</p><pre class="SCREEN">sio2 at port 0x3e8-0x3ef irq 5 on isasio2: type 16550A</pre><p>then the kernel supports the port.</p><p>To find out if the kernel supports a parallel interface, type:</p><pre class="SCREEN"><samp class="PROMPT">#</samp> <kbd class="USERINPUT">grep ppc<varclass="REPLACEABLE">N</var> /var/run/dmesg.boot</kbd></pre><p>Where <var class="REPLACEABLE">N</var> is the number of the parallel port, startingfrom zero. If you see output similar to the following:</p><pre class="SCREEN">ppc0: &lt;Parallel port&gt; at port 0x378-0x37f irq 7 on isa0ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE modeppc0: FIFO with 16/16/8 bytes threshold</pre><p>then the kernel supports the port.</p><p>You might have to reconfigure your kernel in order for the operating system torecognize and use the parallel or serial port you are using for the printer.</p><p>To add support for a serial port, see the section on kernel configuration. To addsupport for a parallel port, see that section <span class="emphasis"><iclass="EMPHASIS">and</i></span> the section that follows.</p></div></div><div class="SECT3"><h3 class="SECT3"><a id="PRINTING-DEV-PORTS" name="PRINTING-DEV-PORTS">9.3.1.3. Adding<tt class="FILENAME">/dev</tt> Entries for the Ports</a></h3><div class="NOTE"><blockquote class="NOTE">

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产剧情一区在线| 欧美韩日一区二区三区四区| 欧美一级午夜免费电影| 国产精品第四页| 偷拍自拍另类欧美| 99热这里都是精品| 日韩欧美综合在线| 亚洲成av人片观看| 91麻豆.com| 欧美激情在线看| 久久99日本精品| 欧美日韩aaa| 亚洲欧美日韩成人高清在线一区| 国内久久精品视频| 337p亚洲精品色噜噜| 一区二区高清在线| 99国产精品久久久| 国产精品麻豆欧美日韩ww| 国内精品视频一区二区三区八戒| 亚洲一区免费观看| 久久精品99久久久| 欧美美女视频在线观看| 亚洲精品老司机| 99热精品一区二区| 国产精品久久久久桃色tv| 国产成人夜色高潮福利影视| 欧美成人激情免费网| 日韩av一级片| 日韩无一区二区| 秋霞av亚洲一区二区三| 欧美一区二区三区的| 日韩极品在线观看| 制服视频三区第一页精品| 亚洲18色成人| 欧美一区二区精品在线| 蜜桃视频一区二区| 日韩午夜精品视频| 激情文学综合插| 久久久亚洲高清| 成人免费视频视频在线观看免费| 国产午夜亚洲精品不卡| 国产成人免费视频一区| 欧美极品aⅴ影院| 99国产精品一区| 亚洲成人激情社区| 日韩一级完整毛片| 国产高清亚洲一区| 国产精品家庭影院| 色就色 综合激情| 午夜精品福利一区二区蜜股av| 69成人精品免费视频| 极品销魂美女一区二区三区| 久久精品视频一区二区| 99久久精品国产网站| 国产一区二区成人久久免费影院| 久久色视频免费观看| 成人黄色a**站在线观看| 一区二区欧美在线观看| 日韩视频在线一区二区| 国产在线精品国自产拍免费| 国产精品久久久久婷婷| 欧美日韩国产一区二区三区地区| 麻豆久久久久久久| 亚洲欧洲成人自拍| 欧美蜜桃一区二区三区| 国产成人免费视频网站| 亚洲一二三四久久| 精品国产一区二区在线观看| 99精品视频在线观看免费| 亚洲成人av中文| 国产日韩欧美精品综合| 欧美在线视频你懂得| 国产在线精品视频| 亚洲福利视频导航| 国产精品国产三级国产aⅴ入口 | 亚洲国产欧美在线| 精品少妇一区二区三区在线播放 | aaa亚洲精品| 日本不卡的三区四区五区| 亚洲国产成人在线| 日韩一级片网站| 欧洲精品一区二区| 国产成人综合在线观看| 天堂久久一区二区三区| 国产精品久久久久久久久免费樱桃 | 日韩一区二区在线观看| 99视频超级精品| 国产麻豆精品视频| 日韩影视精彩在线| 亚洲综合999| 国产精品不卡一区二区三区| 日韩免费视频一区| 91麻豆精品国产自产在线 | 久久99精品国产麻豆婷婷洗澡| 中文字幕精品在线不卡| 欧美成人r级一区二区三区| 欧美亚洲尤物久久| 色综合视频在线观看| 成人精品小蝌蚪| 国产精品18久久久久久vr| 青青草97国产精品免费观看| 亚洲一区二区在线免费观看视频 | 欧美一卡二卡在线| 欧美性大战久久久久久久蜜臀| 波多野结衣视频一区| 国产一区亚洲一区| 国产一区在线精品| 国产一区二区在线视频| 久久疯狂做爰流白浆xx| 日韩成人午夜精品| 免费久久精品视频| 毛片一区二区三区| 久久超碰97中文字幕| 麻豆精品一二三| 久久国产麻豆精品| 国产一区激情在线| 成人一道本在线| 91在线国产观看| 欧美亚洲国产bt| 欧美猛男超大videosgay| 在线播放亚洲一区| 欧美一卡二卡在线观看| 久久香蕉国产线看观看99| 久久这里都是精品| 国产欧美综合在线观看第十页 | 日韩欧美高清dvd碟片| 日韩精品在线一区二区| 精品蜜桃在线看| 久久综合九色欧美综合狠狠| 国产午夜精品一区二区三区四区| 久久精品一二三| 欧美国产精品久久| 亚洲精品亚洲人成人网在线播放| 亚洲图片你懂的| 亚洲国产va精品久久久不卡综合| 亚洲国产日日夜夜| 久久99精品国产.久久久久久| 国产一区二区女| 一本色道久久综合亚洲aⅴ蜜桃| 91福利精品视频| 日韩一区二区免费在线观看| 精品久久久久久无| 亚洲欧洲日产国码二区| 亚洲一区二区在线播放相泽| 婷婷丁香久久五月婷婷| 国产一区二区三区黄视频 | 亚洲激情自拍偷拍| 亚洲成人激情综合网| 经典三级视频一区| 91啪亚洲精品| 日韩一区二区三区视频在线观看| 久久精品欧美一区二区三区不卡| 亚洲欧美一区二区不卡| 男男gaygay亚洲| 97精品超碰一区二区三区| 欧美剧情片在线观看| 国产欧美精品一区| 午夜精品影院在线观看| 国产精品1区2区3区| 欧美日韩一区二区不卡| 久久久激情视频| 香蕉加勒比综合久久| 成人激情校园春色| 日韩一区二区三区视频| 亚洲免费av高清| 久久99国产精品久久99| 欧美日韩久久久一区| 国产精品久久久久aaaa樱花| 另类小说图片综合网| 色天天综合色天天久久| 国产女主播视频一区二区| 婷婷成人激情在线网| 91麻豆自制传媒国产之光| 26uuu亚洲| 奇米精品一区二区三区四区 | 日韩一区二区三区视频| 一区二区三区在线免费| 风间由美性色一区二区三区| 欧美xxxx老人做受| 日韩电影在线免费| 在线精品亚洲一区二区不卡| 中文一区在线播放| 欧美天天综合网| 国产日韩欧美一区二区三区综合| 美女一区二区三区| 欧美日韩中文另类| 亚洲最大成人综合| 不卡区在线中文字幕| 国产欧美在线观看一区| 韩国三级电影一区二区| 日韩欧美在线影院| 日韩在线卡一卡二| 欧美一区二区三区男人的天堂| 亚洲第一综合色| 欧美视频一区二区三区| 亚洲国产人成综合网站| 欧美亚洲自拍偷拍| 亚洲国产美女搞黄色| 欧美日韩综合不卡| 天天色综合天天|