Blame man/cups-lpd.man.in

Packit 2fc92b
.\"
Packit 2fc92b
.\" cups-lpd man page for CUPS.
Packit 2fc92b
.\"
Packit 2fc92b
.\" Copyright 2007-2014 by Apple Inc.
Packit 2fc92b
.\" Copyright 1997-2006 by Easy Software Products.
Packit 2fc92b
.\"
Packit 2fc92b
.\" These coded instructions, statements, and computer programs are the
Packit 2fc92b
.\" property of Apple Inc. and are protected by Federal copyright
Packit 2fc92b
.\" law.  Distribution and use rights are outlined in the file "LICENSE.txt"
Packit 2fc92b
.\" which should have been included with this file.  If this file is
Packit 2fc92b
.\" file is missing or damaged, see the license at "http://www.cups.org/".
Packit 2fc92b
.\"
Packit 2fc92b
.TH cups-lpd 8 "CUPS" "3 June 2014" "Apple Inc."
Packit 2fc92b
.SH NAME
Packit 2fc92b
cups-lpd \- receive print jobs and report printer status to lpd clients
Packit 2fc92b
.SH SYNOPSIS
Packit 2fc92b
.B cups-lpd
Packit 2fc92b
[
Packit 2fc92b
\fB\-h \fIhostname\fR[\fB:\fIport\fR]
Packit 2fc92b
] [
Packit 2fc92b
.B -n
Packit 2fc92b
] [
Packit 2fc92b
.B -o
Packit 2fc92b
.I option=value
Packit 2fc92b
]
Packit 2fc92b
.SH DESCRIPTION
Packit 2fc92b
.B cups-lpd
Packit 2fc92b
is the CUPS Line Printer Daemon ("LPD") mini-server that supports legacy client systems that use the LPD protocol.
Packit 2fc92b
.B cups-lpd
Packit 2fc92b
does not act as a standalone network daemon but instead operates using any of the Internet "super-servers" such as
Packit 2fc92b
.BR inetd (8),
Packit 2fc92b
.BR launchd (8),
Packit 2fc92b
and
Packit 2fc92b
.BR systemd (8).
Packit 2fc92b
.SH OPTIONS
Packit 2fc92b
.TP 5
Packit 2fc92b
\fB-h \fIhostname\fR[\fB:\fIport\fR]
Packit 2fc92b
Sets the CUPS server (and port) to use.
Packit 2fc92b
.TP 5
Packit 2fc92b
.B -n
Packit 2fc92b
Disables reverse address lookups; normally
Packit 2fc92b
.B cups-lpd
Packit 2fc92b
will try to discover the hostname of the client via a reverse DNS lookup.
Packit 2fc92b
.TP 5
Packit 2fc92b
\fB-o \fIname=value\fR
Packit 2fc92b
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
Packit 2fc92b
.BR inetd (8)
Packit 2fc92b
example below sets the "document-format" option to "application/octet-stream" which forces autodetection of the print file format.
Packit 2fc92b
.SH CONFORMING TO
Packit 2fc92b
.B cups-lpd
Packit 2fc92b
does not enforce the restricted source port number specified in RFC 1179, as using restricted ports does not prevent users from submitting print jobs.
Packit 2fc92b
While this behavior is different than standard Berkeley LPD implementations, it should not affect normal client operations.
Packit 2fc92b
.LP
Packit 2fc92b
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.
Packit 2fc92b
.SH ERRORS
Packit 2fc92b
Errors are sent to the system log.
Packit 2fc92b
.SH FILES
Packit 2fc92b
.nf
Packit 2fc92b
.I /etc/inetd.conf
Packit 2fc92b
.I /etc/xinetd.d/cups-lpd
Packit 2fc92b
.I /System/Library/LaunchDaemons/org.cups.cups-lpd.plist
Packit 2fc92b
.fi
Packit 2fc92b
.SH NOTES
Packit 2fc92b
.SS PERFORMANCE
Packit 2fc92b
.B cups-lpd
Packit 2fc92b
performs well with small numbers of clients and printers.
Packit 2fc92b
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.
Packit 2fc92b
We highly recommend that large configurations use the native IPP support provided by CUPS instead.
Packit 2fc92b
.SS SECURITY
Packit 2fc92b
.B cups-lpd
Packit 2fc92b
currently 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.
Packit 2fc92b
Therefore, running
Packit 2fc92b
.B cups-lpd
Packit 2fc92b
on your server will allow any computer on your network (and perhaps the entire
Packit 2fc92b
Internet) to print to your server.
Packit 2fc92b
.LP
Packit 2fc92b
While
Packit 2fc92b
.BR xinetd (8)
Packit 2fc92b
has built-in access control support, you should use the TCP wrappers package with
Packit 2fc92b
.BR inetd (8)
Packit 2fc92b
to limit access to only those computers that should be able to print through your server.
Packit 2fc92b
.LP
Packit 2fc92b
.B cups-lpd
Packit 2fc92b
is not enabled by the standard CUPS distribution.
Packit 2fc92b
Please consult with your operating system vendor to determine whether it is enabled by default on your system.
Packit 2fc92b
.SH EXAMPLE
Packit 2fc92b
If you are using
Packit 2fc92b
.BR inetd (8),
Packit 2fc92b
add the following line to the \fIinetd.conf\fR file to enable the
Packit 2fc92b
.B cups-lpd
Packit 2fc92b
mini-server:
Packit 2fc92b
.nf
Packit 2fc92b
Packit 2fc92b
    printer stream tcp nowait lp /usr/lib/cups/daemon/cups\-lpd cups\-lpd \\
Packit 2fc92b
        \-o document\-format=application/octet\-stream
Packit 2fc92b
Packit 2fc92b
.fi
Packit 2fc92b
.LP
Packit 2fc92b
\fINote:\fR If you are using Solaris 10 or higher, you must run the
Packit 2fc92b
.BR inetdconv (1m)
Packit 2fc92b
program to register the changes to the \fIinetd.conf\fR file.
Packit 2fc92b
.LP
Packit 2fc92b
CUPS includes configuration files for
Packit 2fc92b
.BR launchd (8),
Packit 2fc92b
.BR systemd (8),
Packit 2fc92b
and
Packit 2fc92b
.BR xinetd (8).
Packit 2fc92b
Simply enable the
Packit 2fc92b
.B cups-lpd
Packit 2fc92b
service using the corresponding control program.
Packit 2fc92b
.SH SEE ALSO
Packit 2fc92b
.BR cups (1),
Packit 2fc92b
.BR cupsd (8),
Packit 2fc92b
.BR inetconv (1m),
Packit 2fc92b
.BR inetd (8),
Packit 2fc92b
.BR launchd (8),
Packit 2fc92b
.BR xinetd (8),
Packit 2fc92b
CUPS Online Help (http://localhost:631/help),
Packit 2fc92b
RFC 2569
Packit 2fc92b
.SH COPYRIGHT
Packit 2fc92b
Copyright \[co] 2007-2017 by Apple Inc.