]> git.ipfire.org Git - thirdparty/cups.git/blame_incremental - man/cups-lpd.8
Greatly simplify the man page handling.
[thirdparty/cups.git] / man / cups-lpd.8
... / ...
CommitLineData
1.\"
2.\" cups-lpd man page for CUPS.
3.\"
4.\" Copyright © 2007-2019 by Apple Inc.
5.\" Copyright © 1997-2006 by Easy Software Products.
6.\"
7.\" Licensed under Apache License v2.0. See the file "LICENSE" for more
8.\" information.
9.\"
10.TH cups-lpd 8 "CUPS" "26 April 2019" "Apple Inc."
11.SH NAME
12cups-lpd \- receive print jobs and report printer status to lpd clients (deprecated)
13.SH SYNOPSIS
14.B cups-lpd
15[
16\fB\-h \fIhostname\fR[\fB:\fIport\fR]
17] [
18.B -n
19] [
20.B -o
21.I option=value
22]
23.SH DESCRIPTION
24.B cups-lpd
25is the CUPS Line Printer Daemon ("LPD") mini-server that supports legacy client systems that use the LPD protocol.
26.B cups-lpd
27does not act as a standalone network daemon but instead operates using any of the Internet "super-servers" such as
28.BR inetd (8),
29.BR launchd (8),
30and
31.BR systemd (8).
32.SH OPTIONS
33.TP 5
34\fB-h \fIhostname\fR[\fB:\fIport\fR]
35Sets the CUPS server (and port) to use.
36.TP 5
37.B -n
38Disables reverse address lookups; normally
39.B cups-lpd
40will try to discover the hostname of the client via a reverse DNS lookup.
41.TP 5
42\fB-o \fIname=value\fR
43Inserts 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
44.BR inetd (8)
45example below sets the "document-format" option to "application/octet-stream" which forces autodetection of the print file format.
46.SH CONFORMING TO
47.B cups-lpd
48does not enforce the restricted source port number specified in RFC 1179, as using restricted ports does not prevent users from submitting print jobs.
49While this behavior is different than standard Berkeley LPD implementations, it should not affect normal client operations.
50.LP
51The 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.
52.SH ERRORS
53Errors are sent to the system log.
54.SH FILES
55.nf
56.I /etc/inetd.conf
57.I /etc/xinetd.d/cups-lpd
58.I /System/Library/LaunchDaemons/org.cups.cups-lpd.plist
59.fi
60.SH NOTES
61The
62.B cups-lpd
63program is deprecated and will no longer be supported in a future feature release of CUPS.
64.SS PERFORMANCE
65.B cups-lpd
66performs well with small numbers of clients and printers.
67However, 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.
68We highly recommend that large configurations use the native IPP support provided by CUPS instead.
69.SS SECURITY
70.B cups-lpd
71currently does not perform any access control based on the settings in \fIcupsd.conf(5)\fR or in the \fIhosts.allow(5)\fR or \fIhosts.deny(5)\fR files used by TCP wrappers.
72Therefore, running
73.B cups-lpd
74on your server will allow any computer on your network (and perhaps the entire
75Internet) to print to your server.
76.LP
77While
78.BR xinetd (8)
79has built-in access control support, you should use the TCP wrappers package with
80.BR inetd (8)
81to limit access to only those computers that should be able to print through your server.
82.LP
83.B cups-lpd
84is not enabled by the standard CUPS distribution.
85Please consult with your operating system vendor to determine whether it is enabled by default on your system.
86.SH EXAMPLE
87If you are using
88.BR inetd (8),
89add the following line to the \fIinetd.conf\fR file to enable the
90.B cups-lpd
91mini-server:
92.nf
93
94 printer stream tcp nowait lp /usr/lib/cups/daemon/cups\-lpd cups\-lpd \\
95 \-o document\-format=application/octet\-stream
96
97.fi
98.LP
99\fINote:\fR If you are using Solaris 10 or higher, you must run the
100.BR inetdconv (1m)
101program to register the changes to the \fIinetd.conf\fR file.
102.LP
103CUPS includes configuration files for
104.BR launchd (8),
105.BR systemd (8),
106and
107.BR xinetd (8).
108Simply enable the
109.B cups-lpd
110service using the corresponding control program.
111.SH SEE ALSO
112.BR cups (1),
113.BR cupsd (8),
114.BR inetconv (1m),
115.BR inetd (8),
116.BR launchd (8),
117.BR xinetd (8),
118CUPS Online Help (http://localhost:631/help),
119RFC 2569
120.SH COPYRIGHT
121Copyright \[co] 2007-2019 by Apple Inc.