Changed some English, added a comma, fixed a title reference,

hyphenated RS232, and several other minor changes.

Approved by:    keramida
This commit is contained in:
Gary W. Swearingen 2005-09-14 00:59:05 +00:00
parent c7149747e8
commit 52dd0c38b9
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25638

View file

@ -31,9 +31,9 @@
<indexterm><primary>LPD spooling system</primary></indexterm> <indexterm><primary>LPD spooling system</primary></indexterm>
<indexterm><primary>printing</primary></indexterm> <indexterm><primary>printing</primary></indexterm>
<para>FreeBSD can be used to print to a wide variety of printers, from the <para>FreeBSD can be used to print with a wide variety of printers, from the
oldest impact printer to the latest laser printers, and everything in oldest impact printer to the latest laser printers, and everything in
between, allowing you to produce high quality printed output from the between, allowing you to produce high-quality printed output from the
applications you run.</para> applications you run.</para>
<para>FreeBSD can also be configured to act as a print server on a <para>FreeBSD can also be configured to act as a print server on a
@ -62,11 +62,11 @@
</listitem> </listitem>
<listitem> <listitem>
<para>How to print to printers connected to other computers.</para> <para>How to print with printers connected to other computers.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>How to print to printers connected directly to the <para>How to print with printers connected directly to the
network.</para> network.</para>
</listitem> </listitem>
@ -98,19 +98,18 @@
<sect1 id="printing-intro-spooler"> <sect1 id="printing-intro-spooler">
<title>Introduction</title> <title>Introduction</title>
<para>In order to use printers with FreeBSD, you will need to set <para>In order to use printers with FreeBSD, you may set
them up to work with the Berkeley line printer spooling system, them up to work with the Berkeley line printer spooling system,
also known as the <application>LPD</application> spooling system. also known as the <application>LPD</application> spooling system,
or just <application>LPD</application>.
It is the standard printer control system in FreeBSD. This It is the standard printer control system in FreeBSD. This
chapter introduces the <application>LPD</application> spooling chapter introduces <application>LPD</application> and
system, often simply called <application>LPD</application>, and
will guide you through its configuration.</para> will guide you through its configuration.</para>
<para>If you are already familiar with <para>If you are already familiar with
<application>LPD</application> or another printer spooling <application>LPD</application> or another printer spooling
system, you may wish to skip to section <link system, you may wish to skip to section <link
linkend="printing-intro-setup">Setting up the spooling linkend="printing-intro-setup">Basic Setup</link>.</para>
system</link>.</para>
<para><application>LPD</application> controls everything about a <para><application>LPD</application> controls everything about a
host's printers. It is responsible for a number of things:</para> host's printers. It is responsible for a number of things:</para>
@ -223,7 +222,7 @@
<listitem> <listitem>
<para>See section <link linkend="printing-advanced">Advanced <para>See section <link linkend="printing-advanced">Advanced
Printer Setup</link> to find out how to print a variety of Printer Setup</link> to learn how to print a variety of
special file formats, to print header pages, to print across a special file formats, to print header pages, to print across a
network, to control access to printers, and to do printer network, to control access to printers, and to do printer
accounting.</para> accounting.</para>
@ -253,7 +252,7 @@
</itemizedlist> </itemizedlist>
<para>If you are setting up a printer that uses a network protocol <para>If you are setting up a printer that uses a network protocol
to accept data to print instead of a serial or parallel interface, to accept data to print instead of a computer's local interfaces,
see <link linkend="printing-advanced-network-net-if">Printers With see <link linkend="printing-advanced-network-net-if">Printers With
Networked Data Stream Interfaces</link>.</para> Networked Data Stream Interfaces</link>.</para>
@ -290,7 +289,7 @@
</indexterm> </indexterm>
<listitem> <listitem>
<para><emphasis>Serial</emphasis> interfaces, also known <para><emphasis>Serial</emphasis> interfaces, also known
as RS232C or RS232D, or COM ports, use a serial port as RS-232 or COM ports, use a serial port
on your computer to send data to the printer. Serial on your computer to send data to the printer. Serial
interfaces are common in the computer industry and cables interfaces are common in the computer industry and cables
are readily available and also easy to construct. Serial are readily available and also easy to construct. Serial
@ -309,7 +308,7 @@
<para><emphasis>Parallel</emphasis> interfaces use a <para><emphasis>Parallel</emphasis> interfaces use a
parallel port on your computer to send data to the parallel port on your computer to send data to the
printer. Parallel interfaces are common in the PC market printer. Parallel interfaces are common in the PC market
and are faster than RS232 serial. and are faster than RS-232 serial.
Cables are readily available but more difficult to Cables are readily available but more difficult to
construct by hand. There are usually no communications construct by hand. There are usually no communications
options with parallel interfaces, making their options with parallel interfaces, making their
@ -331,8 +330,8 @@
<listitem> <listitem>
<para>USB interfaces, named for the Universal Serial <para>USB interfaces, named for the Universal Serial
Bus, can run at even faster speeds than parallel or Bus, can run at even faster speeds than parallel or
RS232 serial interfaces. Cables are simple and cheap. RS-232 serial interfaces. Cables are simple and cheap.
USB is superior to RS232 Serial and to Parallel for USB is superior to RS-232 Serial and to Parallel for
printing, but it is not as well supported under &unix; printing, but it is not as well supported under &unix;
systems. A way to avoid this problem is to purchase a systems. A way to avoid this problem is to purchase a
printer that has both a USB interface and a Parallel printer that has both a USB interface and a Parallel
@ -345,13 +344,13 @@
and USB gives you two-way. Newer parallel ports (EPP and and USB gives you two-way. Newer parallel ports (EPP and
ECP) and printers ECP) and printers
can communicate in both directions under FreeBSD when a can communicate in both directions under FreeBSD when a
IEEE1284 compliant cable is used.</para> IEEE-1284-compliant cable is used.</para>
<indexterm><primary>PostScript</primary></indexterm> <indexterm><primary>PostScript</primary></indexterm>
<para>Two-way communication to the printer over a parallel <para>Two-way communication to the printer over a parallel
port is generally done in one of two ways. The first method port is generally done in one of two ways. The first method
uses a custom built printer driver for FreeBSD that speaks uses a custom-built printer driver for FreeBSD that speaks
the proprietary language used by the printer. This is the proprietary language used by the printer. This is
common with inkjet printers and can be used for reporting common with inkjet printers and can be used for reporting
ink levels and other status information. The second ink levels and other status information. The second
@ -369,7 +368,7 @@
communication: you ask the printer for its page count (how communication: you ask the printer for its page count (how
many pages it has printed in its lifetime), then send the many pages it has printed in its lifetime), then send the
user's job, then ask again for its page count. Subtract the user's job, then ask again for its page count. Subtract the
two values and you know how much paper to charge the two values and you know how much paper to charge to the
user.</para> user.</para>
</sect4> </sect4>
@ -382,8 +381,8 @@
both should give you complete guidance.</para> both should give you complete guidance.</para>
<para>Remember which parallel port you used on the computer. <para>Remember which parallel port you used on the computer.
The first parallel port is <filename>/dev/ppc0</filename> to The first parallel port is <filename>ppc0</filename> to
FreeBSD; the second is <filename>/dev/ppc1</filename>, and so FreeBSD; the second is <filename>ppc1</filename>, and so
on. The printer device name uses the same scheme: on. The printer device name uses the same scheme:
<filename>/dev/lpt0</filename> for the printer on the first <filename>/dev/lpt0</filename> for the printer on the first
parallel ports etc.</para> parallel ports etc.</para>
@ -434,7 +433,7 @@
the printer, usually through front-panel controls or DIP the printer, usually through front-panel controls or DIP
switches on the printer. Choose the highest switches on the printer. Choose the highest
<literal>bps</literal> (bits per second, sometimes <literal>bps</literal> (bits per second, sometimes
<emphasis>baud rate</emphasis>) rate that both your computer <emphasis>baud rate</emphasis>) that both your computer
and the printer can support. Choose 7 or 8 data bits; none, and the printer can support. Choose 7 or 8 data bits; none,
even, or odd parity; and 1 or 2 stop bits. Also choose a flow even, or odd parity; and 1 or 2 stop bits. Also choose a flow
control protocol: either none, or XON/XOFF (also known as control protocol: either none, or XON/XOFF (also known as
@ -1035,7 +1034,7 @@ showpage</programlisting>
<sect4 id="printing-naming"> <sect4 id="printing-naming">
<title>Naming the Printer</title> <title>Naming the Printer</title>
<para>The first (easy) step is to pick a name for your printer <para>The first (easy) step is to pick a name for your printer.
It really does not matter whether you choose functional or It really does not matter whether you choose functional or
whimsical names since you can also provide a number of aliases whimsical names since you can also provide a number of aliases
for the printer.</para> for the printer.</para>
@ -1115,8 +1114,8 @@ bamboo|ps|PS|S|panasonic|Panasonic KX-P4455 PostScript v51.4:\
:sh:</programlisting> :sh:</programlisting>
<para>Note how we used the correct format: the first line starts <para>Note how we used the correct format: the first line starts
in the leftmost column, and subsequent lines are indented with in the leftmost column, and subsequent lines are indented.
a single TAB. Every line in an entry except the last ends in Every line in an entry except the last ends in
a backslash character.</para> a backslash character.</para>
</sect4> </sect4>
@ -1185,7 +1184,7 @@ bamboo|ps|PS|S|panasonic|Panasonic KX-P4455 PostScript v51.4:\
<para>Note that the name of the printer starts in the first <para>Note that the name of the printer starts in the first
column but all other entries describing the printer should be column but all other entries describing the printer should be
indented with a tab and each line escaped with a indented and each line end escaped with a
backslash.</para> backslash.</para>
<para>If you do not specify a spooling directory with <para>If you do not specify a spooling directory with
@ -4632,7 +4631,7 @@ cfA013rose dequeued
<para><application>CUPS</application> uses the Internet Printing <para><application>CUPS</application> uses the Internet Printing
Protocol (<acronym>IPP</acronym>) as the basis for managing Protocol (<acronym>IPP</acronym>) as the basis for managing
print jobs and queues. The Line Printer Daemon print jobs and queues. The Line Printer Daemon
(<acronym>LPD</acronym>) Server Message Block (<acronym>LPD</acronym>), Server Message Block
(<acronym>SMB</acronym>), and AppSocket (a.k.a. JetDirect) (<acronym>SMB</acronym>), and AppSocket (a.k.a. JetDirect)
protocols are also supported with reduced functionality. CUPS protocols are also supported with reduced functionality. CUPS
adds network printer browsing and PostScript Printer Description adds network printer browsing and PostScript Printer Description