67 lines
2.3 KiB
Diff
67 lines
2.3 KiB
Diff
diff -up cups-1.7rc1/man/cups-lpd.man.in.lpd-manpage cups-1.7rc1/man/cups-lpd.man.in
|
|
--- cups-1.7rc1/man/cups-lpd.man.in.lpd-manpage 2013-07-08 23:15:13.000000000 +0200
|
|
+++ cups-1.7rc1/man/cups-lpd.man.in 2013-07-12 11:20:15.806737389 +0200
|
|
@@ -26,39 +26,8 @@ cups-lpd \- receive print jobs and repor
|
|
\fIcups-lpd\fR is the CUPS Line Printer Daemon ("LPD")
|
|
mini-server that supports legacy client systems that use the LPD
|
|
protocol. \fIcups-lpd\fR does not act as a standalone network
|
|
-daemon but instead operates using the Internet "super-server"
|
|
-\fIinetd(8)\fR or \fIxinetd(8)\fR. If you are using \fIinetd\fR,
|
|
-add the following line to the \fIinetd.conf\fR file to enable the
|
|
-\fIcups-lpd\fR mini-server:
|
|
-.br
|
|
-.nf
|
|
-
|
|
- printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd \\
|
|
- -o document-format=application/octet-stream
|
|
-.fi
|
|
-.LP
|
|
-.LP
|
|
-\fBNote:\fR If you are using Solaris 10 or higher, you must run
|
|
-the \fIinetdconv(1m)\fR program to register the changes to the
|
|
-inetd.conf file.
|
|
-.LP
|
|
-If you are using the newer \fIxinetd(8)\fR daemon, create a file
|
|
-named \fI/etc/xinetd.d/cups\fR containing the following lines:
|
|
-.br
|
|
-.nf
|
|
-
|
|
- service printer
|
|
- {
|
|
- socket_type = stream
|
|
- protocol = tcp
|
|
- wait = no
|
|
- user = lp
|
|
- group = sys
|
|
- passenv =
|
|
- server = /usr/lib/cups/daemon/cups-lpd
|
|
- server_args = -o document-format=application/octet-stream
|
|
- }
|
|
-.fi
|
|
+daemon but instead operates as a socket-activatable \fIsystemd(1)\fR
|
|
+service.
|
|
.SH OPTIONS
|
|
.TP 5
|
|
-h hostname[:port]
|
|
@@ -93,8 +62,7 @@ wrappers. Therefore, running \fIcups-lpd
|
|
allow any computer on your network (and perhaps the entire
|
|
Internet) to print to your server.
|
|
.LP
|
|
-While \fIxinetd\fR has built-in access control support, you
|
|
-should use the TCP wrappers package with \fIinetd\fR to limit
|
|
+You should use configure the firewall to limit TCP port 515
|
|
access to only those computers that should be able to print
|
|
through your server.
|
|
.LP
|
|
@@ -113,9 +81,7 @@ between LPD and IPP Protocols. Since man
|
|
stray from this definition, remote status reporting to LPD
|
|
clients may be unreliable.
|
|
.SH SEE ALSO
|
|
-\fIcups(1)\fR, \fIcupsd(8)\fR, \fIinetconv(1m)\fR,
|
|
-\fIinetd(8)\fR, \fIxinetd(8)\fR,
|
|
-.br
|
|
+\fIcups(1)\fR, \fIcupsd(8)\fR, \fIsystemd(1)\fR,
|
|
http://localhost:631/help
|
|
.SH COPYRIGHT
|
|
Copyright 2007-2013 by Apple Inc.
|