Approved by: jkh

typos, and an innaccuracy about bi-directional parallel communication
under FreeBSD
This commit is contained in:
Murray Stokely 2000-06-12 20:46:51 +00:00
parent ba4fc8d6c4
commit 3cb6c1faad
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=7346
2 changed files with 40 additions and 46 deletions

View file

@ -1,7 +1,7 @@
<!-- <!--
The FreeBSD Documentation Project The FreeBSD Documentation Project
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/printing/chapter.sgml,v 1.26 2000/05/17 19:55:22 jim Exp $ $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/printing/chapter.sgml,v 1.27 2000/06/08 01:56:16 jim Exp $
--> -->
<chapter id="printing"> <chapter id="printing">
@ -62,7 +62,7 @@
</listitem> </listitem>
<listitem> <listitem>
<para>It can send jobs over the network to another LPD spooler on <para>It can send jobs over the network to a LPD spooler on
another host.</para> another host.</para>
</listitem> </listitem>
@ -216,12 +216,11 @@
</itemizedlist> </itemizedlist>
<para>In general, serial interfaces are slower than parallel <para>In general, serial interfaces are slower than parallel
interfaces. Parallel interfaces usually offer just one-way interfaces. Parallel interfaces usually offer just
communication (computer to printer) while serial gives you one-way communication (computer to printer) while serial
two-way. Many newer parallel ports can also receive data from gives you two-way. Many newer parallel ports and printers
the printer, but only few printers need to send data back to can communicate in both directions under FreeBSD when a
the computer. And FreeBSD does not support two-way parallel IEEE1284 compliant cable is used.</para>
communication yet.</para>
<para>Usually, the only time you need two-way communication with <para>Usually, the only time you need two-way communication with
the printer is if the printer speaks PostScript. PostScript the printer is if the printer speaks PostScript. PostScript
@ -831,7 +830,7 @@ printer:dv=/dev/ttyd2:br#19200:pa=none</programlisting>
<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 aliases whimsical names since you can also provide a number of aliases
for the printer.</para> for the printer.</para>
<para>At least one of the printers specified in the <para>At least one of the printers specified in the
@ -1695,7 +1694,7 @@ fi</programlisting>
special text filter for your printer, you can make your special text filter for your printer, you can make your
non-PostScript printer act like a real PostScript printer.</para> non-PostScript printer act like a real PostScript printer.</para>
<para>Ghostscript should be in the FreeBSD ports collection, if you <para>Ghostscript is in the FreeBSD ports collection, if you
would like to install it from there. You can fetch, build, and would like to install it from there. You can fetch, build, and
install it quite easily yourself, as well.</para> install it quite easily yourself, as well.</para>
@ -3205,8 +3204,8 @@ madrigal.fishbaum.de</programlisting>
<para>This means <hostid>rose</hostid> will accept requests from <para>This means <hostid>rose</hostid> will accept requests from
the hosts <hostid>orchid</hostid>, <hostid>violet</hostid>, the hosts <hostid>orchid</hostid>, <hostid>violet</hostid>,
and <hostid role="fqdn">madrigal.fishbaum.de</hostid>. If any and <hostid role="fqdn">madrigal.fishbaum.de</hostid>. If any
other host tries to access <hostid>rose</hostid>'s LPD, LPD other host tries to access <hostid>rose</hostid>'s
will refuse them.</para> LPD, the job will be refused.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -3519,7 +3518,7 @@ total 337.00 154 $ 6.74</screen>
to be able to determine how much paper a job uses. This is the to be able to determine how much paper a job uses. This is the
essential problem of printer accounting.</para> essential problem of printer accounting.</para>
<para>For plain text jobs, the problem's not that hard to solve: you <para>For plain text jobs, the problem is not that hard to solve: you
count how many lines are in a job and compare it to how many lines count how many lines are in a job and compare it to how many lines
per page your printer supports. Do not forget to take into account per page your printer supports. Do not forget to take into account
backspaces in the file which overprint lines, or long logical lines backspaces in the file which overprint lines, or long logical lines
@ -3940,16 +3939,14 @@ cfA013rose dequeued
<screen>&prompt.user; <userinput>zcat /usr/share/man/man1/ls.1.gz | troff -t -man | lpr -t</userinput></screen> <screen>&prompt.user; <userinput>zcat /usr/share/man/man1/ls.1.gz | troff -t -man | lpr -t</userinput></screen>
<para>The &man.zcat.1; command uncompresses the source of the</para> <para>The &man.zcat.1; command uncompresses the source of the
&man.ls.1; manual page and passes it to the &man.troff.1;
<para>&man.ls.1; manual page and passes it to the &man.troff.1; command, which formats that source and makes GNU troff
command, which formats that source and makes GNU troff output and output and passes it to &man.lpr.1;, which submits the job
passes it to &man.lpr.1;, which submits the job to the LPD spooler. to the LPD spooler. Because we used the <option>-t</option>
Because we used the <option>-t</option> option to</para> option to &man.lpr.1;, the spooler will convert the GNU
troff output into a format the default printer can
<para>&man.lpr.1;, the spooler will convert the GNU troff output into understand when it prints the job.</para>
a format the default printer can understand when it prints the
job.</para>
</sect3> </sect3>
<sect3 id="printing-lpr-options-job-handling"> <sect3 id="printing-lpr-options-job-handling">

View file

@ -1,7 +1,7 @@
<!-- <!--
The FreeBSD Documentation Project The FreeBSD Documentation Project
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/printing/chapter.sgml,v 1.26 2000/05/17 19:55:22 jim Exp $ $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/printing/chapter.sgml,v 1.27 2000/06/08 01:56:16 jim Exp $
--> -->
<chapter id="printing"> <chapter id="printing">
@ -62,7 +62,7 @@
</listitem> </listitem>
<listitem> <listitem>
<para>It can send jobs over the network to another LPD spooler on <para>It can send jobs over the network to a LPD spooler on
another host.</para> another host.</para>
</listitem> </listitem>
@ -216,12 +216,11 @@
</itemizedlist> </itemizedlist>
<para>In general, serial interfaces are slower than parallel <para>In general, serial interfaces are slower than parallel
interfaces. Parallel interfaces usually offer just one-way interfaces. Parallel interfaces usually offer just
communication (computer to printer) while serial gives you one-way communication (computer to printer) while serial
two-way. Many newer parallel ports can also receive data from gives you two-way. Many newer parallel ports and printers
the printer, but only few printers need to send data back to can communicate in both directions under FreeBSD when a
the computer. And FreeBSD does not support two-way parallel IEEE1284 compliant cable is used.</para>
communication yet.</para>
<para>Usually, the only time you need two-way communication with <para>Usually, the only time you need two-way communication with
the printer is if the printer speaks PostScript. PostScript the printer is if the printer speaks PostScript. PostScript
@ -831,7 +830,7 @@ printer:dv=/dev/ttyd2:br#19200:pa=none</programlisting>
<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 aliases whimsical names since you can also provide a number of aliases
for the printer.</para> for the printer.</para>
<para>At least one of the printers specified in the <para>At least one of the printers specified in the
@ -1695,7 +1694,7 @@ fi</programlisting>
special text filter for your printer, you can make your special text filter for your printer, you can make your
non-PostScript printer act like a real PostScript printer.</para> non-PostScript printer act like a real PostScript printer.</para>
<para>Ghostscript should be in the FreeBSD ports collection, if you <para>Ghostscript is in the FreeBSD ports collection, if you
would like to install it from there. You can fetch, build, and would like to install it from there. You can fetch, build, and
install it quite easily yourself, as well.</para> install it quite easily yourself, as well.</para>
@ -3205,8 +3204,8 @@ madrigal.fishbaum.de</programlisting>
<para>This means <hostid>rose</hostid> will accept requests from <para>This means <hostid>rose</hostid> will accept requests from
the hosts <hostid>orchid</hostid>, <hostid>violet</hostid>, the hosts <hostid>orchid</hostid>, <hostid>violet</hostid>,
and <hostid role="fqdn">madrigal.fishbaum.de</hostid>. If any and <hostid role="fqdn">madrigal.fishbaum.de</hostid>. If any
other host tries to access <hostid>rose</hostid>'s LPD, LPD other host tries to access <hostid>rose</hostid>'s
will refuse them.</para> LPD, the job will be refused.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -3519,7 +3518,7 @@ total 337.00 154 $ 6.74</screen>
to be able to determine how much paper a job uses. This is the to be able to determine how much paper a job uses. This is the
essential problem of printer accounting.</para> essential problem of printer accounting.</para>
<para>For plain text jobs, the problem's not that hard to solve: you <para>For plain text jobs, the problem is not that hard to solve: you
count how many lines are in a job and compare it to how many lines count how many lines are in a job and compare it to how many lines
per page your printer supports. Do not forget to take into account per page your printer supports. Do not forget to take into account
backspaces in the file which overprint lines, or long logical lines backspaces in the file which overprint lines, or long logical lines
@ -3940,16 +3939,14 @@ cfA013rose dequeued
<screen>&prompt.user; <userinput>zcat /usr/share/man/man1/ls.1.gz | troff -t -man | lpr -t</userinput></screen> <screen>&prompt.user; <userinput>zcat /usr/share/man/man1/ls.1.gz | troff -t -man | lpr -t</userinput></screen>
<para>The &man.zcat.1; command uncompresses the source of the</para> <para>The &man.zcat.1; command uncompresses the source of the
&man.ls.1; manual page and passes it to the &man.troff.1;
<para>&man.ls.1; manual page and passes it to the &man.troff.1; command, which formats that source and makes GNU troff
command, which formats that source and makes GNU troff output and output and passes it to &man.lpr.1;, which submits the job
passes it to &man.lpr.1;, which submits the job to the LPD spooler. to the LPD spooler. Because we used the <option>-t</option>
Because we used the <option>-t</option> option to</para> option to &man.lpr.1;, the spooler will convert the GNU
troff output into a format the default printer can
<para>&man.lpr.1;, the spooler will convert the GNU troff output into understand when it prints the job.</para>
a format the default printer can understand when it prints the
job.</para>
</sect3> </sect3>
<sect3 id="printing-lpr-options-job-handling"> <sect3 id="printing-lpr-options-job-handling">