3 <!-- SECTION: Man Pages -->
5 <link rel=
"stylesheet" type=
"text/css" href=
"../cups-printable.css">
6 <title>cups-lpd(
8)
</title>
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>
15 <b>-h
</b><i>hostname
</i>[
<b>:
</b><i>port
</i>]
22 <h2 class=
"title"><a name=
"DESCRIPTION">Description
</a></h2>
24 is the CUPS Line Printer Daemon (
"LPD") mini-server that supports legacy client systems that use the LPD protocol.
26 does not act as a standalone network daemon but instead operates using any of the Internet
"super-servers" such as
31 <h2 class=
"title"><a name=
"OPTIONS">Options
</a></h2>
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.
36 <dd style=
"margin-left: 5.0em">Disables reverse address lookups; normally
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
42 example below sets the
"document-format" option to
"application/octet-stream" which forces autodetection of the print file format.
44 <h2 class=
"title"><a name=
"CONFORMING_TO">Conforming To
</a></h2>
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>
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>
57 <h2 class=
"title"><a name=
"NOTES">Notes
</a></h2>
58 <h3><a name=
"PERFORMANCE">Performance
</a></h3>
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>
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.
68 on your server will allow any computer on your network (and perhaps the entire
69 Internet) to print to your server.
72 has built-in access control support, you should use the TCP wrappers package with
74 to limit access to only those computers that should be able to print through your server.
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>
81 add the following line to the
<i>inetd.conf
</i> file to enable the
86 printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd \
87 -o document-format=application/octet-stream
90 <p><i>Note:
</i> If you are using Solaris
10 or higher, you must run the
92 program to register the changes to the
<i>inetd.conf
</i> file.
93 <p>CUPS includes configuration files for
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>
108 CUPS Online Help (
<a href=
"http://localhost:631/help)">http://localhost:
631/help)
</a>,
110 <h2 class=
"title"><a name=
"COPYRIGHT">Copyright
</a></h2>
111 Copyright
© 2007-
2018 by Apple Inc.