⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 printing-intro-spooler.html

📁 FreeBSD操作系统的详细使用手册
💻 HTML
字号:
<!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>Introduction</title><meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /><link rel="HOME" title="FreeBSD Handbook" href="index.html" /><link rel="UP" title="Printing" href="printing.html" /><link rel="PREVIOUS" title="Printing" href="printing.html" /><link rel="NEXT" title="Basic Setup" href="printing-intro-setup.html" /><link rel="STYLESHEET" type="text/css" href="docbook.css" /></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 Handbook</th></tr><tr><td width="10%" align="left" valign="bottom"><a href="printing.html"accesskey="P">Prev</a></td><td width="80%" align="center" valign="bottom">Chapter 9 Printing</td><td width="10%" align="right" valign="bottom"><a href="printing-intro-setup.html"accesskey="N">Next</a></td></tr></table><hr align="LEFT" width="100%" /></div><div class="SECT1"><h1 class="SECT1"><a id="PRINTING-INTRO-SPOOLER" name="PRINTING-INTRO-SPOOLER">9.2Introduction</a></h1><p>In order to use printers with FreeBSD, you will need to set them up to work with theBerkeley line printer spooling system, also known as the <b class="APPLICATION">LPD</b>spooling system. It is the standard printer control system in FreeBSD. This chapterintroduces the <b class="APPLICATION">LPD</b> spooling system, often simply called <bclass="APPLICATION">LPD</b>, and will guide you through its configuration.</p><p>If you are already familiar with <b class="APPLICATION">LPD</b> or another printerspooling system, you may wish to skip to section <ahref="printing-intro-setup.html">Setting up the spooling system</a>.</p><p><b class="APPLICATION">LPD</b> controls everything about a host's printers. It isresponsible for a number of things:</p><ul><li><p>It controls access to attached printers and printers attached to other hosts on thenetwork.</p></li><li><p>It enables users to submit files to be printed; these submissions are known as <spanclass="emphasis"><i class="EMPHASIS">jobs</i></span>.</p></li><li><p>It prevents multiple users from accessing a printer at the same time by maintaining a<span class="emphasis"><i class="EMPHASIS">queue</i></span> for each printer.</p></li><li><p>It can print <span class="emphasis"><i class="EMPHASIS">header pages</i></span> (alsoknown as <span class="emphasis"><i class="EMPHASIS">banner</i></span> or <spanclass="emphasis"><i class="EMPHASIS">burst</i></span> pages) so users can easily findjobs they have printed in a stack of printouts.</p></li><li><p>It takes care of communications parameters for printers connected on serial ports.</p></li><li><p>It can send jobs over the network to a <b class="APPLICATION">LPD</b> spooler onanother host.</p></li><li><p>It can run special filters to format jobs to be printed for various printer languagesor printer capabilities.</p></li><li><p>It can account for printer usage.</p></li></ul><p>Through a configuration file (<tt class="FILENAME">/etc/printcap</tt>), and byproviding the special filter programs, you can enable the <b class="APPLICATION">LPD</b>system to do all or some subset of the above for a great variety of printer hardware.</p><div class="SECT2"><h2 class="SECT2"><a id="PRINTING-INTRO-WHY" name="PRINTING-INTRO-WHY">9.2.1 Why YouShould Use the Spooler</a></h2><p>If you are the sole user of your system, you may be wondering why you should botherwith the spooler when you do not need access control, header pages, or printeraccounting. While it is possible to enable direct access to a printer, you should use thespooler anyway since:</p><ul><li><p><b class="APPLICATION">LPD</b> prints jobs in the background; you do not have to waitfor data to be copied to the printer.</p></li><li><p><b class="APPLICATION">LPD</b> can conveniently run a job to be printed throughfilters to add date/time headers or convert a special file format (such as a <bclass="APPLICATION">TeX</b> DVI file) into a format the printer will understand. You willnot have to do these steps manually.</p></li><li><p>Many free and commercial programs that provide a print feature usually expect to talkto the spooler on your system. By setting up the spooling system, you will more easilysupport other software you may later add or already have.</p></li></ul></div></div><div class="NAVFOOTER"><hr align="LEFT" width="100%" /><table summary="Footer navigation table" width="100%" border="0" cellpadding="0"cellspacing="0"><tr><td width="33%" align="left" valign="top"><a href="printing.html"accesskey="P">Prev</a></td><td width="34%" align="center" valign="top"><a href="index.html"accesskey="H">Home</a></td><td width="33%" align="right" valign="top"><a href="printing-intro-setup.html"accesskey="N">Next</a></td></tr><tr><td width="33%" align="left" valign="top">Printing</td><td width="34%" align="center" valign="top"><a href="printing.html"accesskey="U">Up</a></td><td width="33%" align="right" valign="top">Basic Setup</td></tr></table></div><p align="center"><small>This, and other documents, can be downloaded from <ahref="ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/">ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/</a>.</small></p><p align="center"><small>For questions about FreeBSD, read the <ahref="http://www.FreeBSD.org/docs.html">documentation</a> before contacting &#60;<ahref="mailto:questions@FreeBSD.org">questions@FreeBSD.org</a>&#62;.<br />For questions about this documentation, e-mail &#60;<ahref="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>&#62;.</small></p></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -