]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | .\" |
bc44d920 | 2 | .\" "$Id: cups-lpd.man.in 6649 2007-07-11 21:46:42Z mike $" |
ef416fc2 | 3 | .\" |
4 | .\" cups-lpd man page for the Common UNIX Printing System (CUPS). | |
5 | .\" | |
bc44d920 | 6 | .\" Copyright 2007 by Apple Inc. |
bd7854cb | 7 | .\" Copyright 1997-2006 by Easy Software Products. |
ef416fc2 | 8 | .\" |
9 | .\" These coded instructions, statements, and computer programs are the | |
bc44d920 | 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 | .\" |
bc44d920 | 15 | .TH cups-lpd 8 "Common UNIX Printing System" "24 April 2006" "Apple Inc." |
ef416fc2 | 16 | .SH NAME |
17 | cups-lpd \- receive print jobs and report printer status to lpd clients | |
18 | .SH SYNOPSIS | |
19 | .B cups-lpd | |
89d46774 | 20 | [ -n ] [ -o |
ef416fc2 | 21 | .I option=value |
22 | ] | |
23 | .SH DESCRIPTION | |
bd7854cb | 24 | \fIcups-lpd\fR is the CUPS Line Printer Daemon ("LPD") |
25 | mini-server that supports legacy client systems that use the LPD | |
26 | protocol. \fIcups-lpd\fR does not act as a standalone network | |
27 | daemon but instead operates using the Internet "super-server" | |
28 | \fIinetd(8)\fR or \fIxinetd(8)\fR. If you are using \fIinetd\fR, | |
29 | add the following line to the \fIinetd.conf\fR file to enable the | |
30 | \fIcups-lpd\fR mini-server: | |
ef416fc2 | 31 | .br |
32 | .nf | |
33 | ||
bd7854cb | 34 | printer stream tcp nowait lp @CUPS_SERVERBIN@/daemon/cups-lpd cups-lpd \\ |
ef416fc2 | 35 | -o document-format=application/octet-stream |
36 | .fi | |
37 | .LP | |
e1d6a774 | 38 | .LP |
39 | \fBNote:\fR If you are using Solaris 10 or higher, you must run | |
40 | the \fIinetdconv(1m)\fR program to register the changes to the | |
41 | inetd.conf file. | |
42 | .LP | |
bd7854cb | 43 | If you are using the newer \fIxinetd(8)\fR daemon, create a file |
44 | named \fI/etc/xinetd.d/cups\fR containing the following lines: | |
ef416fc2 | 45 | .br |
46 | .nf | |
47 | ||
48 | service printer | |
49 | { | |
50 | socket_type = stream | |
51 | protocol = tcp | |
52 | wait = no | |
53 | user = lp | |
54 | group = sys | |
55 | passenv = | |
bd7854cb | 56 | server = @CUPS_SERVERBIN@/daemon/cups-lpd |
ef416fc2 | 57 | server_args = -o document-format=application/octet-stream |
58 | } | |
59 | .fi | |
ef416fc2 | 60 | .SH OPTIONS |
bd7854cb | 61 | .TP 5 |
89d46774 | 62 | -n |
63 | .br | |
64 | Disables reverse address lookups; normally \fIcups-lpd\fR will | |
65 | try to discover the hostname of the client via a reverse DNS | |
66 | lookup. | |
67 | .TP 5 | |
bd7854cb | 68 | -o name=value |
69 | .br | |
70 | Inserts options for all print queues. Most often this is used to | |
71 | disable the "l" filter so that remote print jobs are filtered as | |
72 | needed for printing; the examples in the previous section set the | |
73 | "document-format" option to "application/octet-stream" which | |
74 | forces autodetection of the print file format. | |
ef416fc2 | 75 | .SH PERFORMANCE |
bd7854cb | 76 | \fIcups-lpd\fR performs well with small numbers of clients and |
ef416fc2 | 77 | printers. However, since a new process is created for each |
78 | connection and since each process must query the printing system | |
79 | before each job submission, it does not scale to larger | |
80 | configurations. We highly recommend that large configurations | |
81 | use the native IPP support provided by CUPS instead. | |
82 | .SH SECURITY | |
bd7854cb | 83 | \fIcups-lpd\fR currently does not perform any access control |
ef416fc2 | 84 | based on the settings in \fIcupsd.conf(5)\fR or in the |
bd7854cb | 85 | \fIhosts.allow(5)\fR or \fIhosts.deny(5)\fR files used by TCP |
86 | wrappers. Therefore, running \fIcups-lpd\fR on your server will | |
ef416fc2 | 87 | allow any computer on your network (and perhaps the entire |
88 | Internet) to print to your server. | |
89 | .LP | |
90 | While \fIxinetd\fR has built-in access control support, you | |
91 | should use the TCP wrappers package with \fIinetd\fR to limit | |
92 | access to only those computers that should be able to print | |
93 | through your server. | |
94 | .LP | |
bd7854cb | 95 | \fIcups-lpd\fR is not enabled by the standard CUPS distribution. |
ef416fc2 | 96 | Please consult with your operating system vendor to determine |
bd7854cb | 97 | whether it is enabled on your system. |
ef416fc2 | 98 | .SH COMPATIBILITY |
bd7854cb | 99 | \fIcups-lpd\fR does not enforce the restricted source port |
ef416fc2 | 100 | number specified in RFC 1179, as using restricted ports does not |
101 | prevent users from submitting print jobs. While this behavior is | |
102 | different than standard Berkeley LPD implementations, it should | |
103 | not affect normal client operations. | |
104 | .LP | |
105 | The output of the status requests follows RFC 2569, Mapping | |
106 | between LPD and IPP Protocols. Since many LPD implementations | |
107 | stray from this definition, remote status reporting to LPD | |
108 | clients may be unreliable. | |
109 | .SH SEE ALSO | |
e1d6a774 | 110 | \fIcups(1)\fR, \fIcupsd(8)\fR, \fIinetconv(1m)\fR, |
111 | \fIinetd(8)\fR, \fIxinetd(8)\fR, | |
bd7854cb | 112 | .br |
113 | http://localhost:631/help | |
ef416fc2 | 114 | .SH COPYRIGHT |
bc44d920 | 115 | Copyright 2007 by Apple Inc. |
ef416fc2 | 116 | .\" |
bc44d920 | 117 | .\" End of "$Id: cups-lpd.man.in 6649 2007-07-11 21:46:42Z mike $". |
ef416fc2 | 118 | .\" |