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