View | Details | Raw Unified | Return to bug 42473 | Differences between
and this patch

Collapse All | Expand All

(-)book.sgml.whitespace (-47 / +49 lines)
Lines 75-81 Link Here
75
	applications, and demand for it rapidly increased across the
75
	applications, and demand for it rapidly increased across the
76
	corporation.  Large, high-capacity laser printers designed for office
76
	corporation.  Large, high-capacity laser printers designed for office
77
	printing appeared on the scene.  Printing went from 150 to 300 to
77
	printing appeared on the scene.  Printing went from 150 to 300 to
78
	600dpi for the common desktop laser printer.</para>
78
	600 dpi for the common desktop laser printer.</para>
79
79
80
      <para>Today organizational network printing is complex, and printers
80
      <para>Today organizational network printing is complex, and printers
81
	themselves are more complicated.  Most organizations find that sharing
81
	themselves are more complicated.  Most organizations find that sharing
Lines 179-187 Link Here
179
	  user.  Although a single company holding control over a standard can
179
	  user.  Although a single company holding control over a standard can
180
	  guarantee compliance, it does significantly raise the cost of the
180
	  guarantee compliance, it does significantly raise the cost of the
181
	  printer.  As a result, PostScript has not met with much success in
181
	  printer.  As a result, PostScript has not met with much success in
182
	  the lower-end laser and inkjet Windows printing market, despite the fact
182
	  the lower-end laser and inkjet Windows printing market, despite the
183
	  that Adobe distributes PostScript software operating system drivers
183
	  fact that Adobe distributes PostScript software operating system
184
	  for free.</para>
184
	  drivers for free.</para>
185
185
186
	<para>One issue that is a concern when networking PostScript printers
186
	<para>One issue that is a concern when networking PostScript printers
187
	  is the selection of banner page, (also known as header page, or
187
	  is the selection of banner page, (also known as header page, or
Lines 605-611 Link Here
605
	    first defined by Intel and Microsoft and later used by IBM and
605
	    first defined by Intel and Microsoft and later used by IBM and
606
	    Microsoft.</para>
606
	    Microsoft.</para>
607
607
608
	  <para>The LPD protocol is defined in RFC1179. This network protocol
608
	  <para>The LPD protocol is defined in RFC1179.  This network protocol
609
	    is the standard print protocol used on all UNIX systems.  LPD
609
	    is the standard print protocol used on all UNIX systems.  LPD
610
	    client implementations exist for all Windows operating systems and
610
	    client implementations exist for all Windows operating systems and
611
	    DOS.  Microsoft has written LPD for the Windows NT versions, the
611
	    DOS.  Microsoft has written LPD for the Windows NT versions, the
Lines 1190-1196 Link Here
1190
	    <para>If the printer is PostScript and cannot print ASCII, make
1190
	    <para>If the printer is PostScript and cannot print ASCII, make
1191
	      sure that the "No banner page control flag" is checked to turn
1191
	      sure that the "No banner page control flag" is checked to turn
1192
	      off banner pages.  Accessible under Port settings, this flag is
1192
	      off banner pages.  Accessible under Port settings, this flag is
1193
	      overridden if the <filename>/etc/printcap</filename>file
1193
	      overridden if the <filename>/etc/printcap</filename> file
1194
	      specifies no banner pages.</para>
1194
	      specifies no banner pages.</para>
1195
	  </step>
1195
	  </step>
1196
1196
Lines 1201-1207 Link Here
1201
	      called with the <option>-c</option> option.  This is equivalent
1201
	      called with the <option>-c</option> option.  This is equivalent
1202
	      to the local invocation of <filename>/usr/bin/lpr -l</filename>.
1202
	      to the local invocation of <filename>/usr/bin/lpr -l</filename>.
1203
	      With the flag checked, the code is F, (formatted) meaning that
1203
	      With the flag checked, the code is F, (formatted) meaning that
1204
	      the <literal>if</literal>filter gets called without the
1204
	      the <literal>if</literal> filter gets called without the
1205
	      <option>-c</option> option.  This is equivalent to the default
1205
	      <option>-c</option> option.  This is equivalent to the default
1206
	      invocation <filename>/usr/bin/lpr</filename>.  (This is also an
1206
	      invocation <filename>/usr/bin/lpr</filename>.  (This is also an
1207
	      issue under Windows NT, which retypes the print job to text if
1207
	      issue under Windows NT, which retypes the print job to text if
Lines 1273-1279 Link Here
1273
1273
1274
	  <step>
1274
	  <step>
1275
	    <para>In the Installed Network Software window, "Microsoft TCP/IP
1275
	    <para>In the Installed Network Software window, "Microsoft TCP/IP
1276
	      Printing" should be listed as well as "TCP/IP Protocol". If it is, stop here; otherwise continue.</para>
1276
	      Printing" should be listed as well as "TCP/IP Protocol". If it
1277
	      is, stop here; otherwise continue.</para>
1277
	  </step>
1278
	  </step>
1278
	  
1279
	  
1279
	  <step>
1280
	  <step>
Lines 1448-1454 Link Here
1448
	    Q150930.  With Windows NT 3.51, and 4.0 up to service pack 1 the
1449
	    Q150930.  With Windows NT 3.51, and 4.0 up to service pack 1 the
1449
	    change is global.  Starting with NT 4.0 Service pack 2 the change
1450
	    change is global.  Starting with NT 4.0 Service pack 2 the change
1450
	    can be applied to specific print queues, (see Knowledge Base
1451
	    can be applied to specific print queues, (see Knowledge Base
1451
	    article ID Q168457). This registry change also works for Windows 2000.</para>
1452
	    article ID Q168457). This registry change also works for
1453
	    Windows 2000.</para>
1452
1454
1453
	  <para>Under Windows NT 4.0, the change is:</para>
1455
	  <para>Under Windows NT 4.0, the change is:</para>
1454
1456
Lines 1607-1613 Link Here
1607
      <para>Normally, under Windows printing, virtually all graphical programs
1609
      <para>Normally, under Windows printing, virtually all graphical programs
1608
	print through the Windows printer driver.  This is true even of basic
1610
	print through the Windows printer driver.  This is true even of basic
1609
	programs such as Notepad.  For example, an administrator may have a
1611
	programs such as Notepad.  For example, an administrator may have a
1610
	DOS batch file named <filename>filename.txt</filename>containing the
1612
	DOS batch file named <filename>filename.txt</filename> containing the
1611
	following line:</para>
1613
	following line:</para>
1612
1614
1613
      <programlisting>echo \033&amp;k2G &gt; lpt1:</programlisting>
1615
      <programlisting>echo \033&amp;k2G &gt; lpt1:</programlisting>
Lines 1758-1764 Link Here
1758
	printers, as well as defined remote printers. Several programs also
1760
	printers, as well as defined remote printers. Several programs also
1759
	are used to manipulate jobs in the print spools that LPD manages, as
1761
	are used to manipulate jobs in the print spools that LPD manages, as
1760
	well as the user programs to submit them from the UNIX command prompt.
1762
	well as the user programs to submit them from the UNIX command prompt.
1761
	All of these programs use the <filename>/etc/printcap</filename>file,
1763
	All of these programs use the <filename>/etc/printcap</filename> file,
1762
	which is the master control file for the printing system.</para>
1764
	which is the master control file for the printing system.</para>
1763
1765
1764
      <para>Back when printing was mostly text, it was common to place
1766
      <para>Back when printing was mostly text, it was common to place
Lines 1781-1799 Link Here
1781
	description lines are often quite long, they are often written to span
1783
	description lines are often quite long, they are often written to span
1782
	multiple lines by escaping intermediate newlines with the backslash
1784
	multiple lines by escaping intermediate newlines with the backslash
1783
	(<literal>\</literal>) character.  The
1785
	(<literal>\</literal>) character.  The
1784
	<filename>/etc/printcap</filename>file, as supplied, defines a single
1786
	<filename>/etc/printcap</filename> file, as supplied, defines a single
1785
	printer queue, <literal>lp</literal>.  The <literal>lp</literal>queue
1787
	printer queue, <literal>lp</literal>.  The <literal>lp</literal> queue
1786
	is the default queue.  Most UNIX-supplied printing utilities send
1788
	is the default queue.  Most UNIX-supplied printing utilities send
1787
	print output to this queue if no printer is specified by the user.  It
1789
	print output to this queue if no printer is specified by the user.  It
1788
	should be set to point to the most popular print queue with
1790
	should be set to point to the most popular print queue with
1789
	<emphasis>local</emphasis> UNIX print users, (i.e., users that have
1791
	<emphasis>local</emphasis> UNIX print users, (i.e., users that have
1790
	shell accounts).</para>
1792
	shell accounts).</para>
1791
1793
1792
      <para>The layout of <filename>/etc/printcap</filename>is covered in the
1794
      <para>The layout of <filename>/etc/printcap</filename> is covered in the
1793
	manual page, which is reached by running the <userinput>man
1795
	manual page, which is reached by running the <userinput>man
1794
	  printcap</userinput> command. The stock
1796
	  printcap</userinput> command. The stock
1795
	<filename>/etc/printcap</filename> file at the line defining the spool
1797
	<filename>/etc/printcap</filename> file at the line defining the spool
1796
	<literal>lp</literal>shows:</para>
1798
	<literal>lp</literal> shows:</para>
1797
1799
1798
      <programlisting>#
1800
      <programlisting>#
1799
lp|local line printer:\
1801
lp|local line printer:\
Lines 1845-1851 Link Here
1845
	  directories <emphasis>must</emphasis> be different from each other,
1847
	  directories <emphasis>must</emphasis> be different from each other,
1846
	  or the spooler gets confused and doesen't print.</para>
1848
	  or the spooler gets confused and doesen't print.</para>
1847
1849
1848
	<para>After the <filename>/etc/printcap</filename>is modified, the
1850
	<para>After the <filename>/etc/printcap</filename> is modified, the
1849
	  root user must create the <filename>/var/spool/output/NEC</filename>
1851
	  root user must create the <filename>/var/spool/output/NEC</filename>
1850
	  directory and assign ownership of it to the <username>bin</username>
1852
	  directory and assign ownership of it to the <username>bin</username>
1851
	  user, assign group ownership to <username>daemon</username>, and set
1853
	  user, assign group ownership to <username>daemon</username>, and set
Lines 1875-1881 Link Here
1875
	  <listitem>
1877
	  <listitem>
1876
	    <para>During FreeBSD installation, if the administrator knows a
1878
	    <para>During FreeBSD installation, if the administrator knows a
1877
	      lot of print jobs are going to go through the spooler,
1879
	      lot of print jobs are going to go through the spooler,
1878
	      <filename>/var</filename>should be set to a large
1880
	      <filename>/var</filename> should be set to a large
1879
		amount of free space.</para>
1881
		amount of free space.</para>
1880
	  </listitem>
1882
	  </listitem>
1881
1883
Lines 1902-1908 Link Here
1902
	
1904
	
1903
	<para>In addition to spools, the following other capabilities are
1905
	<para>In addition to spools, the following other capabilities are
1904
	  usually placed in a production
1906
	  usually placed in a production
1905
	  <filename>/etc/printcap</filename>file.</para>
1907
	  <filename>/etc/printcap</filename> file.</para>
1906
	
1908
	
1907
	<para>The entry <literal>fo</literal> prints a form feed when the
1909
	<para>The entry <literal>fo</literal> prints a form feed when the
1908
	  printer is opened.  It is handy for HPPCL (HP LaserJets) or other
1910
	  printer is opened.  It is handy for HPPCL (HP LaserJets) or other
Lines 1947-1953 Link Here
1947
	<para>Hardware print server boxes, such as the HP JetDirect internal
1949
	<para>Hardware print server boxes, such as the HP JetDirect internal
1948
	  and external cards, need some additional capabilities defined in the
1950
	  and external cards, need some additional capabilities defined in the
1949
	  <filename>/etc/printcap</filename> entry; <literal>rp</literal>, for
1951
	  <filename>/etc/printcap</filename> entry; <literal>rp</literal>, for
1950
	  remote print spool, and <literal>rm</literal>for remote machine
1952
	  remote print spool, and <literal>rm</literal> for remote machine
1951
	  name.</para>
1953
	  name.</para>
1952
1954
1953
	<para>The <literal>rm</literal> capability is simply the DNS or
1955
	<para>The <literal>rm</literal> capability is simply the DNS or
Lines 2018-2024 Link Here
2018
2020
2019
	<para>The last two important printcap capabilities concern print
2021
	<para>The last two important printcap capabilities concern print
2020
	  filters, <literal>if</literal> (input filter) and
2022
	  filters, <literal>if</literal> (input filter) and
2021
	  <literal>of</literal> (output filter). If defined, incoming print
2023
	  <literal>of</literal> (output filter).  If defined, incoming print
2022
	  jobs are run through the filters that these entries point to for
2024
	  jobs are run through the filters that these entries point to for
2023
	  further processing.</para>
2025
	  further processing.</para>
2024
2026
Lines 2084-2090 Link Here
2084
	  <sect4>
2086
	  <sect4>
2085
	    <title>Output Filters</title>
2087
	    <title>Output Filters</title>
2086
2088
2087
	    <para>These are specified by the <literal>of</literal>capability.
2089
	    <para>These are specified by the <literal>of</literal> capability.
2088
	      Output filters are much more complicated than input filters and
2090
	      Output filters are much more complicated than input filters and
2089
	      are hardly ever used in normal circumstances.  They also
2091
	      are hardly ever used in normal circumstances.  They also
2090
	      generally require a compiled program somewhere, either directly
2092
	      generally require a compiled program somewhere, either directly
Lines 2117-2124 Link Here
2117
2119
2118
	  <para>If the printer is a PostScript printer, and doesn't support
2120
	  <para>If the printer is a PostScript printer, and doesn't support
2119
	    standard ASCII, then dumping UNIX text to it doesn't work.  But
2121
	    standard ASCII, then dumping UNIX text to it doesn't work.  But
2120
	    then, neither would dumping MS-DOS text to it. (Raw text printing
2122
	    then, neither would dumping MS-DOS text to it.  (Raw text printing
2121
	    on PostScript printers is discussed later in this chapter.) Note
2123
	    on PostScript printers is discussed later in this chapter.)  Note
2122
	    also that if the printer is connected over the network to an HP
2124
	    also that if the printer is connected over the network to an HP
2123
	    JetDirect hardware print server, internal or external, the TEXT
2125
	    JetDirect hardware print server, internal or external, the TEXT
2124
	    queue on the hardware print automatically adds the extra Carriage
2126
	    queue on the hardware print automatically adds the extra Carriage
Lines 2200-2207 Link Here
2200
	  <para>Although most filters are built by scripts or programs and are
2202
	  <para>Although most filters are built by scripts or programs and are
2201
	    added to the UNIX machine by the administrator, there is one
2203
	    added to the UNIX machine by the administrator, there is one
2202
	    filter that is supplied with the FreeBSD operating system is very
2204
	    filter that is supplied with the FreeBSD operating system is very
2203
	    useful for raw text files: the <literal>pr</literal>filter.  It is
2205
	    useful for raw text files: the <literal>pr</literal> filter.  It is
2204
	    most commonly used when printing from the UNIX command shell. The
2206
	    most commonly used when printing from the UNIX command shell.  The
2205
	    <literal>pr</literal> filter paginates and applies headers and
2207
	    <literal>pr</literal> filter paginates and applies headers and
2206
	    footers to ASCII text files.  It is automatically invoked with the
2208
	    footers to ASCII text files.  It is automatically invoked with the
2207
	    <option>-p</option> option used with the <command>lpr</command>
2209
	    <option>-p</option> option used with the <command>lpr</command>
Lines 2222-2229 Link Here
2222
	  <para>Unfortunately, the canned banner page supplied in the LPD
2224
	  <para>Unfortunately, the canned banner page supplied in the LPD
2223
	    program prints only on a text-compatible printer.  If the attached
2225
	    program prints only on a text-compatible printer.  If the attached
2224
	    printer understands only PostScript and the administrator wants to
2226
	    printer understands only PostScript and the administrator wants to
2225
	    print banner pages, it is possible to install a filterinto the
2227
	    print banner pages, it is possible to install a filter into the
2226
	    <filename>/etc/printcap</filename>file to do this.</para>
2228
	    <filename>/etc/printcap</filename> file to do this.</para>
2227
2229
2228
	  <para>The following filter is taken from the FreeBSD Handbook.  I've
2230
	  <para>The following filter is taken from the FreeBSD Handbook.  I've
2229
	    slightly changed it's invocation for a couple of reasons.  First,
2231
	    slightly changed it's invocation for a couple of reasons.  First,
Lines 2273-2279 Link Here
2273
2275
2274
cat &amp;&amp; exit 0</programlisting>
2276
cat &amp;&amp; exit 0</programlisting>
2275
2277
2276
	  <para>Here is the <filename>make-ps-header</filename>listing.</para>
2278
	  <para>Here is the <filename>make-ps-header</filename> listing.</para>
2277
2279
2278
	  <programlisting>#!/bin/sh
2280
	  <programlisting>#!/bin/sh
2279
# Filename /usr/local/libexec/make-ps-header
2281
# Filename /usr/local/libexec/make-ps-header
Lines 2407-2413 Link Here
2407
	  <para>The username of the submitter can be easily forged, if the job
2409
	  <para>The username of the submitter can be easily forged, if the job
2408
	    is remotely submitted over the network from a client (practically
2410
	    is remotely submitted over the network from a client (practically
2409
	    all jobs in a Windows client printing environment are remotely
2411
	    all jobs in a Windows client printing environment are remotely
2410
	    submitted). Although some LPR clients can be set to authenticate,
2412
	    submitted).  Although some LPR clients can be set to authenticate,
2411
	    and the <literal>rs</literal> capability can be set to enforce
2413
	    and the <literal>rs</literal> capability can be set to enforce
2412
	    authentication, not all can, especially Windows LPR
2414
	    authentication, not all can, especially Windows LPR
2413
	    clients.</para>
2415
	    clients.</para>
Lines 2486-2492 Link Here
2486
	model name of the printer, the "Auto printer driver install" feature
2488
	model name of the printer, the "Auto printer driver install" feature
2487
	of Windows NT and Win95/98 is activated.  This automatically loads the
2489
	of Windows NT and Win95/98 is activated.  This automatically loads the
2488
	correct printer driver if the user clicks on the print queue in
2490
	correct printer driver if the user clicks on the print queue in
2489
	Network Neighborhood under Windows 95 or NT 4.0. The restriction, of
2491
	Network Neighborhood under Windows 95 or NT 4.0.  The restriction, of
2490
	course, is that the printer model must be in the Windows client driver
2492
	course, is that the printer model must be in the Windows client driver
2491
	database.</para>
2493
	database.</para>
2492
2494
Lines 2688-2694 Link Here
2688
	  generic local line printer.  Since this print queue generally has a
2690
	  generic local line printer.  Since this print queue generally has a
2689
	  filter placed on it to format jobs from the UNIX print queue
2691
	  filter placed on it to format jobs from the UNIX print queue
2690
	  properly, it should not be visible on the SMB network (i.e., visible
2692
	  properly, it should not be visible on the SMB network (i.e., visible
2691
	  in Network Neighborhood). The second queue,
2693
	  in Network Neighborhood).  The second queue,
2692
	  <literal>nec-crlf</literal>, has a filter that converts UNIX text to
2694
	  <literal>nec-crlf</literal>, has a filter that converts UNIX text to
2693
	  text that prints without stairstepping, so it also should be hidden
2695
	  text that prints without stairstepping, so it also should be hidden
2694
	  from the SMB network.  The third, <literal>nec-raw</literal>, should
2696
	  from the SMB network.  The third, <literal>nec-raw</literal>, should
Lines 2702-2713 Link Here
2702
	  as a set of defaults for printers that are going to be shared out.
2704
	  as a set of defaults for printers that are going to be shared out.
2703
	  Next, the <filename>/etc/printcap</filename> file is read to get a
2705
	  Next, the <filename>/etc/printcap</filename> file is read to get a
2704
	  list of all printers on the server.  Last, each printer is checked
2706
	  list of all printers on the server.  Last, each printer is checked
2705
	  for a service name in the <filename>smb.conf</filename>file that
2707
	  for a service name in the <filename>smb.conf</filename> file that
2706
	  contains settings that override the set of defaults.</para>
2708
	  contains settings that override the set of defaults.</para>
2707
2709
2708
	<para>In the listing of what resources are visible on the network,
2710
	<para>In the listing of what resources are visible on the network,
2709
	  both <literal>nec-crlf</literal> and <literal>nec-raw</literal>
2711
	  both <literal>nec-crlf</literal> and <literal>nec-raw</literal>
2710
	  print queues are visible, and <literal>lp</literal>and
2712
	  print queues are visible, and <literal>lp</literal> and
2711
	  <literal>nec-ps-banner</literal> is not. <literal>lp</literal> is
2713
	  <literal>nec-ps-banner</literal> is not. <literal>lp</literal> is
2712
	  not visible because there is a specific entry,
2714
	  not visible because there is a specific entry,
2713
	  <literal>[lp]</literal> in the <filename>smb.conf</filename> file
2715
	  <literal>[lp]</literal> in the <filename>smb.conf</filename> file
Lines 2734-2740 Link Here
2734
	and Windows NT printing interoperability with NT as a print client
2736
	and Windows NT printing interoperability with NT as a print client
2735
	passing jobs to the FreeBSD system.  What happens if the situation is
2737
	passing jobs to the FreeBSD system.  What happens if the situation is
2736
	reversed and the FreeBSD system is itself a printing client of another
2738
	reversed and the FreeBSD system is itself a printing client of another
2737
	LPD server? This situation can arise in a mixed UNIX/NetWare or
2739
	LPD server?  This situation can arise in a mixed UNIX/NetWare or
2738
	UNIX/NT environment.  The administrator may elect to forgo the use of
2740
	UNIX/NT environment.  The administrator may elect to forgo the use of
2739
	Samba, and use an NT server to provide print services.  Alternatively,
2741
	Samba, and use an NT server to provide print services.  Alternatively,
2740
	the administrator may have existing DOS Novell IPX clients that they
2742
	the administrator may have existing DOS Novell IPX clients that they
Lines 2755-2762 Link Here
2755
	remotely from an NT server that has LPR installed as a port for it's
2757
	remotely from an NT server that has LPR installed as a port for it's
2756
	printers.</para>
2758
	printers.</para>
2757
2759
2758
      <para>Following is a sample <filename>/etc/printcap</filename>file entry
2760
      <para>Following is a sample <filename>/etc/printcap</filename> file entry
2759
	that defines a print queue named <literal>tank</literal>on the FreeBSD
2761
	that defines a print queue named <literal>tank</literal> on the FreeBSD
2760
	system pointed to an NT LPD server queue named
2762
	system pointed to an NT LPD server queue named
2761
	<literal>sherman</literal> on a NT Server named
2763
	<literal>sherman</literal> on a NT Server named
2762
	<hostid role="fqdn">big.army.mil</hostid> in the DNS.  This uses the
2764
	<hostid role="fqdn">big.army.mil</hostid> in the DNS.  This uses the
Lines 2813-2819 Link Here
2813
	  through a filter that allows raw UNIX text sent to it to print
2815
	  through a filter that allows raw UNIX text sent to it to print
2814
	  properly.  For example, if an HP LaserJet printer that doesn't have
2816
	  properly.  For example, if an HP LaserJet printer that doesn't have
2815
	  PostScript is connected to the server, the
2817
	  PostScript is connected to the server, the
2816
	  <literal>lp</literal>queue specifies in the
2818
	  <literal>lp</literal> queue specifies in the
2817
	  <filename>/etc/printcap</filename> file the CRLF filter listed
2819
	  <filename>/etc/printcap</filename> file the CRLF filter listed
2818
	  earlier.  On the other hand, if an Apple Laserwriter that doesn't
2820
	  earlier.  On the other hand, if an Apple Laserwriter that doesn't
2819
	  support ASCII is connected to the server, the
2821
	  support ASCII is connected to the server, the
Lines 2856-2862 Link Here
2856
	    queues are on and view them there.</para>
2858
	    queues are on and view them there.</para>
2857
2859
2858
	  <para>The UNIX shell command used to view the queue is the
2860
	  <para>The UNIX shell command used to view the queue is the
2859
	    <command>lpq</command> command. It is frequently run as
2861
	    <command>lpq</command> command.  It is frequently run as
2860
	    <userinput>lpq -a</userinput> which shows jobs in all queues.  The
2862
	    <userinput>lpq -a</userinput> which shows jobs in all queues.  The
2861
	    following is a sample output of the command:</para>
2863
	    following is a sample output of the command:</para>
2862
2864
Lines 2981-2989 Link Here
2981
	  <para>Just as the root user can manipulate remotely submitted jobs
2983
	  <para>Just as the root user can manipulate remotely submitted jobs
2982
	    in the print queue, print jobs can be remotely managed by regular
2984
	    in the print queue, print jobs can be remotely managed by regular
2983
	    users with the LPR clients that created them. Unfortunately, some
2985
	    users with the LPR clients that created them. Unfortunately, some
2984
	    LPR clients, such as the ACITS LPR client for Win95, don't have enough programming to be
2986
	    LPR clients, such as the ACITS LPR client for Win95, don't have
2985
	    able to do this.  Others, like the Win31 client, can manipulate
2987
	    enough programming to be able to do this.  Others, like the Win31
2986
	    the print jobs remotely.</para>
2988
	    client, can manipulate the print jobs remotely.</para>
2987
2989
2988
	  <para>FreeBSD offers some level of protection against inadvertent
2990
	  <para>FreeBSD offers some level of protection against inadvertent
2989
	    deletion of print jobs from remote hosts by restricting
2991
	    deletion of print jobs from remote hosts by restricting
Lines 3022-3029 Link Here
3022
	<para>The Ghostscript home page is located at
3024
	<para>The Ghostscript home page is located at
3023
	  <ulink url="http://www.cs.wisc.edu/~ghost/">http://www.cs.wisc.edu/~ghost/</ulink>
3025
	  <ulink url="http://www.cs.wisc.edu/~ghost/">http://www.cs.wisc.edu/~ghost/</ulink>
3024
	  and contains the most current version of the program.  A prebuilt
3026
	  and contains the most current version of the program.  A prebuilt
3025
	  FreeBSD binary of Ghostscript is located in the Packages section of the
3027
	  FreeBSD binary of Ghostscript is located in the Packages section of
3026
	  FreeBSD CDROM.  This can be installed on the FreeBSD system by
3028
	  the FreeBSD CDROM.  This can be installed on the FreeBSD system by
3027
	  selecting the package from the prepackaged software list that is
3029
	  selecting the package from the prepackaged software list that is
3028
	  accessed through the <command>/stand/sysinstall</command>
3030
	  accessed through the <command>/stand/sysinstall</command>
3029
	  installation program.  Many packaged programs on the CD depend on
3031
	  installation program.  Many packaged programs on the CD depend on
Lines 3054-3060 Link Here
3054
	  </step>
3056
	  </step>
3055
3057
3056
	  <step>
3058
	  <step>
3057
	    <para>In the <filename>gs5.03</filename>directory, copy the
3059
	    <para>In the <filename>gs5.03</filename> directory, copy the
3058
	      <filename>lprsetup.sh</filename>,
3060
	      <filename>lprsetup.sh</filename>,
3059
	      <filename>unix-lpr.txt</filename>, and
3061
	      <filename>unix-lpr.txt</filename>, and
3060
	      <filename>unix-lpr.sh</filename> files to
3062
	      <filename>unix-lpr.sh</filename> files to
Lines 3091-3097 Link Here
3091
	  <step>
3093
	  <step>
3092
	    <para>If the printer that you defined in the
3094
	    <para>If the printer that you defined in the
3093
	      <filename>lprsetup.sh</filename> file is a monochrome printer,
3095
	      <filename>lprsetup.sh</filename> file is a monochrome printer,
3094
	      remove the <literal>"-dBitsPerPixel=${bpp}"</literal>and
3096
	      remove the <literal>"-dBitsPerPixel=${bpp}"</literal> and
3095
	      <literal>"$colorspec"</literal> entries on the
3097
	      <literal>"$colorspec"</literal> entries on the
3096
	      <literal>gs</literal> invocation line and save the file.
3098
	      <literal>gs</literal> invocation line and save the file.
3097
	      Otherwise, if it is a color definition leave them in.  For
3099
	      Otherwise, if it is a color definition leave them in.  For
Lines 3152-3159 Link Here
3152
      <sect2>
3154
      <sect2>
3153
	<title>a2ps filter</title>
3155
	<title>a2ps filter</title>
3154
3156
3155
	<para>Another handy utility is the <command>a2ps</command> filter, short for
3157
	<para>Another handy utility is the <command>a2ps</command> filter, short
3156
	  ASCII-to-PostScript.  This program takes an incoming ASCII
3158
	  for ASCII-to-PostScript.  This program takes an incoming ASCII
3157
	  datastream and converts it into PostScript.  It can also print
3159
	  datastream and converts it into PostScript.  It can also print
3158
	  multiple pages on a single sheet of paper by shrinking them down. It
3160
	  multiple pages on a single sheet of paper by shrinking them down. It
3159
	  is a useful tool for a printer that cannot interpret ASCII, such as
3161
	  is a useful tool for a printer that cannot interpret ASCII, such as

Return to bug 42473