]> git.ipfire.org Git - thirdparty/cups.git/blame_incremental - doc/help/man-cups-lpd.html
Update ipp documentation to reflect the behavior of configuring WiFi on IPP USB printers.
[thirdparty/cups.git] / doc / help / man-cups-lpd.html
... / ...
CommitLineData
1<!DOCTYPE HTML>
2<html>
3<!-- SECTION: Man Pages -->
4<head>
5 <link rel="stylesheet" type="text/css" href="../cups-printable.css">
6 <title>cups-lpd(8)</title>
7</head>
8<body>
9<h1 class="title">cups-lpd(8)</h1>
10<h2 class="title"><a name="NAME">Name</a></h2>
11cups-lpd - receive print jobs and report printer status to lpd clients (deprecated)
12<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
13<b>cups-lpd</b>
14[
15<b>-h </b><i>hostname</i>[<b>:</b><i>port</i>]
16] [
17<b>-n</b>
18] [
19<b>-o</b>
20<i>option=value</i>
21]
22<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
23<b>cups-lpd</b>
24is the CUPS Line Printer Daemon ("LPD") mini-server that supports legacy client systems that use the LPD protocol.
25<b>cups-lpd</b>
26does not act as a standalone network daemon but instead operates using any of the Internet "super-servers" such as
27<b>inetd</b>(8),
28<b>launchd</b>(8),
29and
30<b>systemd</b>(8).
31<h2 class="title"><a name="OPTIONS">Options</a></h2>
32<dl class="man">
33<dt><b>-h </b><i>hostname</i>[<b>:</b><i>port</i>]
34<dd style="margin-left: 5.0em">Sets the CUPS server (and port) to use.
35<dt><b>-n</b>
36<dd style="margin-left: 5.0em">Disables reverse address lookups; normally
37<b>cups-lpd</b>
38will try to discover the hostname of the client via a reverse DNS lookup.
39<dt><b>-o </b><i>name=value</i>
40<dd style="margin-left: 5.0em">Inserts options for all print queues. Most often this is used to disable the "l" filter so that remote print jobs are filtered as needed for printing; the
41<b>inetd</b>(8)
42example below sets the "document-format" option to "application/octet-stream" which forces autodetection of the print file format.
43</dl>
44<h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2>
45<b>cups-lpd</b>
46does not enforce the restricted source port number specified in RFC 1179, as using restricted ports does not prevent users from submitting print jobs.
47While this behavior is different than standard Berkeley LPD implementations, it should not affect normal client operations.
48<p>The output of the status requests follows RFC 2569, Mapping between LPD and IPP Protocols. Since many LPD implementations stray from this definition, remote status reporting to LPD clients may be unreliable.
49<h2 class="title"><a name="ERRORS">Errors</a></h2>
50Errors are sent to the system log.
51<h2 class="title"><a name="FILES">Files</a></h2>
52<pre class="man">
53<i>/etc/inetd.conf</i>
54<i>/etc/xinetd.d/cups-lpd</i>
55<i>/System/Library/LaunchDaemons/org.cups.cups-lpd.plist</i>
56</pre>
57<h2 class="title"><a name="NOTES">Notes</a></h2>
58The
59<b>cups-lpd</b>
60program is deprecated and will no longer be supported in a future feature release of CUPS.
61<h3><a name="PERFORMANCE">Performance</a></h3>
62<b>cups-lpd</b>
63performs well with small numbers of clients and printers.
64However, since a new process is created for each connection and since each process must query the printing system before each job submission, it does not scale to larger configurations.
65We highly recommend that large configurations use the native IPP support provided by CUPS instead.
66<h3><a name="SECURITY">Security</a></h3>
67<b>cups-lpd</b>
68currently does not perform any access control based on the settings in <i>cupsd.conf(5)</i> or in the <i>hosts.allow(5)</i> or <i>hosts.deny(5)</i> files used by TCP wrappers.
69Therefore, running
70<b>cups-lpd</b>
71on your server will allow any computer on your network (and perhaps the entire
72Internet) to print to your server.
73<p>While
74<b>xinetd</b>(8)
75has built-in access control support, you should use the TCP wrappers package with
76<b>inetd</b>(8)
77to limit access to only those computers that should be able to print through your server.
78<p><b>cups-lpd</b>
79is not enabled by the standard CUPS distribution.
80Please consult with your operating system vendor to determine whether it is enabled by default on your system.
81<h2 class="title"><a name="EXAMPLE">Example</a></h2>
82If you are using
83<b>inetd</b>(8),
84add the following line to the <i>inetd.conf</i> file to enable the
85<b>cups-lpd</b>
86mini-server:
87<pre class="man">
88
89 printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd \
90 -o document-format=application/octet-stream
91
92</pre>
93<p><i>Note:</i> If you are using Solaris 10 or higher, you must run the
94<b>inetdconv</b>(1m)
95program to register the changes to the <i>inetd.conf</i> file.
96<p>CUPS includes configuration files for
97<b>launchd</b>(8),
98<b>systemd</b>(8),
99and
100<b>xinetd</b>(8).
101Simply enable the
102<b>cups-lpd</b>
103service using the corresponding control program.
104<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
105<b>cups</b>(1),
106<b>cupsd</b>(8),
107<b>inetconv</b>(1m),
108<b>inetd</b>(8),
109<b>launchd</b>(8),
110<b>xinetd</b>(8),
111CUPS Online Help (<a href="http://localhost:631/help)">http://localhost:631/help)</a>,
112RFC 2569
113<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
114Copyright &copy; 2007-2019 by Apple Inc.
115
116</body>
117</html>