]> git.ipfire.org Git - thirdparty/cups.git/blob - doc/help/man-cups-lpd.html
97ad2d34d63c12001a701dd874fc94a2d46171d1
[thirdparty/cups.git] / doc / help / man-cups-lpd.html
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>
11 cups-lpd - receive print jobs and report printer status to lpd clients
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>
24 is the CUPS Line Printer Daemon ("LPD") mini-server that supports legacy client systems that use the LPD protocol.
25 <b>cups-lpd</b>
26 does 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),
29 and
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>
38 will 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)
42 example 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>
46 does not enforce the restricted source port number specified in RFC 1179, as using restricted ports does not prevent users from submitting print jobs.
47 While 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>
50 Errors 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>
58 <h3><a name="PERFORMANCE">Performance</a></h3>
59 <b>cups-lpd</b>
60 performs well with small numbers of clients and printers.
61 However, 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.
62 We highly recommend that large configurations use the native IPP support provided by CUPS instead.
63 <h3><a name="SECURITY">Security</a></h3>
64 <b>cups-lpd</b>
65 currently 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.
66 Therefore, running
67 <b>cups-lpd</b>
68 on your server will allow any computer on your network (and perhaps the entire
69 Internet) to print to your server.
70 <p>While
71 <b>xinetd</b>(8)
72 has built-in access control support, you should use the TCP wrappers package with
73 <b>inetd</b>(8)
74 to limit access to only those computers that should be able to print through your server.
75 <p><b>cups-lpd</b>
76 is not enabled by the standard CUPS distribution.
77 Please consult with your operating system vendor to determine whether it is enabled by default on your system.
78 <h2 class="title"><a name="EXAMPLE">Example</a></h2>
79 If you are using
80 <b>inetd</b>(8),
81 add the following line to the <i>inetd.conf</i> file to enable the
82 <b>cups-lpd</b>
83 mini-server:
84 <pre class="man">
85
86 printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd \
87 -o document-format=application/octet-stream
88
89 </pre>
90 <p><i>Note:</i> If you are using Solaris 10 or higher, you must run the
91 <b>inetdconv</b>(1m)
92 program to register the changes to the <i>inetd.conf</i> file.
93 <p>CUPS includes configuration files for
94 <b>launchd</b>(8),
95 <b>systemd</b>(8),
96 and
97 <b>xinetd</b>(8).
98 Simply enable the
99 <b>cups-lpd</b>
100 service using the corresponding control program.
101 <h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
102 <a href="man-cups.html?TOPIC=Man+Pages"><b>cups</b>(1),</a>
103 <a href="man-cupsd.html?TOPIC=Man+Pages"><b>cupsd</b>(8),</a>
104 <b>inetconv</b>(1m),
105 <b>inetd</b>(8),
106 <b>launchd</b>(8),
107 <b>xinetd</b>(8),
108 CUPS Online Help (<a href="http://localhost:631/help)">http://localhost:631/help)</a>,
109 RFC 2569
110 <h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
111 Copyright &copy; 2007-2018 by Apple Inc.
112
113 </body>
114 </html>