1*5e7646d2SAndroid Build Coastguard Worker<!DOCTYPE HTML> 2*5e7646d2SAndroid Build Coastguard Worker<html> 3*5e7646d2SAndroid Build Coastguard Worker<!-- SECTION: Man Pages --> 4*5e7646d2SAndroid Build Coastguard Worker<head> 5*5e7646d2SAndroid Build Coastguard Worker <link rel="stylesheet" type="text/css" href="../cups-printable.css"> 6*5e7646d2SAndroid Build Coastguard Worker <title>cups-lpd(8)</title> 7*5e7646d2SAndroid Build Coastguard Worker</head> 8*5e7646d2SAndroid Build Coastguard Worker<body> 9*5e7646d2SAndroid Build Coastguard Worker<h1 class="title">cups-lpd(8)</h1> 10*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="NAME">Name</a></h2> 11*5e7646d2SAndroid Build Coastguard Workercups-lpd - receive print jobs and report printer status to lpd clients (deprecated) 12*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2> 13*5e7646d2SAndroid Build Coastguard Worker<b>cups-lpd</b> 14*5e7646d2SAndroid Build Coastguard Worker[ 15*5e7646d2SAndroid Build Coastguard Worker<b>-h </b><i>hostname</i>[<b>:</b><i>port</i>] 16*5e7646d2SAndroid Build Coastguard Worker] [ 17*5e7646d2SAndroid Build Coastguard Worker<b>-n</b> 18*5e7646d2SAndroid Build Coastguard Worker] [ 19*5e7646d2SAndroid Build Coastguard Worker<b>-o</b> 20*5e7646d2SAndroid Build Coastguard Worker<i>option=value</i> 21*5e7646d2SAndroid Build Coastguard Worker] 22*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="DESCRIPTION">Description</a></h2> 23*5e7646d2SAndroid Build Coastguard Worker<b>cups-lpd</b> 24*5e7646d2SAndroid Build Coastguard Workeris the CUPS Line Printer Daemon ("LPD") mini-server that supports legacy client systems that use the LPD protocol. 25*5e7646d2SAndroid Build Coastguard Worker<b>cups-lpd</b> 26*5e7646d2SAndroid Build Coastguard Workerdoes not act as a standalone network daemon but instead operates using any of the Internet "super-servers" such as 27*5e7646d2SAndroid Build Coastguard Worker<b>inetd</b>(8), 28*5e7646d2SAndroid Build Coastguard Worker<b>launchd</b>(8), 29*5e7646d2SAndroid Build Coastguard Workerand 30*5e7646d2SAndroid Build Coastguard Worker<b>systemd</b>(8). 31*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="OPTIONS">Options</a></h2> 32*5e7646d2SAndroid Build Coastguard Worker<dl class="man"> 33*5e7646d2SAndroid Build Coastguard Worker<dt><b>-h </b><i>hostname</i>[<b>:</b><i>port</i>] 34*5e7646d2SAndroid Build Coastguard Worker<dd style="margin-left: 5.0em">Sets the CUPS server (and port) to use. 35*5e7646d2SAndroid Build Coastguard Worker<dt><b>-n</b> 36*5e7646d2SAndroid Build Coastguard Worker<dd style="margin-left: 5.0em">Disables reverse address lookups; normally 37*5e7646d2SAndroid Build Coastguard Worker<b>cups-lpd</b> 38*5e7646d2SAndroid Build Coastguard Workerwill try to discover the hostname of the client via a reverse DNS lookup. 39*5e7646d2SAndroid Build Coastguard Worker<dt><b>-o </b><i>name=value</i> 40*5e7646d2SAndroid Build Coastguard Worker<dd style="margin-left: 5.0em">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 41*5e7646d2SAndroid Build Coastguard Worker<b>inetd</b>(8) 42*5e7646d2SAndroid Build Coastguard Workerexample below sets the "document-format" option to "application/octet-stream" which forces autodetection of the print file format. 43*5e7646d2SAndroid Build Coastguard Worker</dl> 44*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2> 45*5e7646d2SAndroid Build Coastguard Worker<b>cups-lpd</b> 46*5e7646d2SAndroid Build Coastguard Workerdoes not enforce the restricted source port number specified in RFC 1179, as using restricted ports does not prevent users from submitting print jobs. 47*5e7646d2SAndroid Build Coastguard WorkerWhile this behavior is different than standard Berkeley LPD implementations, it should not affect normal client operations. 48*5e7646d2SAndroid Build Coastguard Worker<p>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. 49*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="ERRORS">Errors</a></h2> 50*5e7646d2SAndroid Build Coastguard WorkerErrors are sent to the system log. 51*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="FILES">Files</a></h2> 52*5e7646d2SAndroid Build Coastguard Worker<pre class="man"> 53*5e7646d2SAndroid Build Coastguard Worker<i>/etc/inetd.conf</i> 54*5e7646d2SAndroid Build Coastguard Worker<i>/etc/xinetd.d/cups-lpd</i> 55*5e7646d2SAndroid Build Coastguard Worker<i>/System/Library/LaunchDaemons/org.cups.cups-lpd.plist</i> 56*5e7646d2SAndroid Build Coastguard Worker</pre> 57*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="NOTES">Notes</a></h2> 58*5e7646d2SAndroid Build Coastguard WorkerThe 59*5e7646d2SAndroid Build Coastguard Worker<b>cups-lpd</b> 60*5e7646d2SAndroid Build Coastguard Workerprogram is deprecated and will no longer be supported in a future feature release of CUPS. 61*5e7646d2SAndroid Build Coastguard Worker<h3><a name="PERFORMANCE">Performance</a></h3> 62*5e7646d2SAndroid Build Coastguard Worker<b>cups-lpd</b> 63*5e7646d2SAndroid Build Coastguard Workerperforms well with small numbers of clients and printers. 64*5e7646d2SAndroid Build Coastguard WorkerHowever, 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. 65*5e7646d2SAndroid Build Coastguard WorkerWe highly recommend that large configurations use the native IPP support provided by CUPS instead. 66*5e7646d2SAndroid Build Coastguard Worker<h3><a name="SECURITY">Security</a></h3> 67*5e7646d2SAndroid Build Coastguard Worker<b>cups-lpd</b> 68*5e7646d2SAndroid Build Coastguard Workercurrently does not perform any access control based on the settings in <i>cupsd.conf(5)</i> or in the <i>hosts.allow(5)</i> or <i>hosts.deny(5)</i> files used by TCP wrappers. 69*5e7646d2SAndroid Build Coastguard WorkerTherefore, running 70*5e7646d2SAndroid Build Coastguard Worker<b>cups-lpd</b> 71*5e7646d2SAndroid Build Coastguard Workeron your server will allow any computer on your network (and perhaps the entire 72*5e7646d2SAndroid Build Coastguard WorkerInternet) to print to your server. 73*5e7646d2SAndroid Build Coastguard Worker<p>While 74*5e7646d2SAndroid Build Coastguard Worker<b>xinetd</b>(8) 75*5e7646d2SAndroid Build Coastguard Workerhas built-in access control support, you should use the TCP wrappers package with 76*5e7646d2SAndroid Build Coastguard Worker<b>inetd</b>(8) 77*5e7646d2SAndroid Build Coastguard Workerto limit access to only those computers that should be able to print through your server. 78*5e7646d2SAndroid Build Coastguard Worker<p><b>cups-lpd</b> 79*5e7646d2SAndroid Build Coastguard Workeris not enabled by the standard CUPS distribution. 80*5e7646d2SAndroid Build Coastguard WorkerPlease consult with your operating system vendor to determine whether it is enabled by default on your system. 81*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="EXAMPLE">Example</a></h2> 82*5e7646d2SAndroid Build Coastguard WorkerIf you are using 83*5e7646d2SAndroid Build Coastguard Worker<b>inetd</b>(8), 84*5e7646d2SAndroid Build Coastguard Workeradd the following line to the <i>inetd.conf</i> file to enable the 85*5e7646d2SAndroid Build Coastguard Worker<b>cups-lpd</b> 86*5e7646d2SAndroid Build Coastguard Workermini-server: 87*5e7646d2SAndroid Build Coastguard Worker<pre class="man"> 88*5e7646d2SAndroid Build Coastguard Worker 89*5e7646d2SAndroid Build Coastguard Worker printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd \ 90*5e7646d2SAndroid Build Coastguard Worker -o document-format=application/octet-stream 91*5e7646d2SAndroid Build Coastguard Worker 92*5e7646d2SAndroid Build Coastguard Worker</pre> 93*5e7646d2SAndroid Build Coastguard Worker<p><i>Note:</i> If you are using Solaris 10 or higher, you must run the 94*5e7646d2SAndroid Build Coastguard Worker<b>inetdconv</b>(1m) 95*5e7646d2SAndroid Build Coastguard Workerprogram to register the changes to the <i>inetd.conf</i> file. 96*5e7646d2SAndroid Build Coastguard Worker<p>CUPS includes configuration files for 97*5e7646d2SAndroid Build Coastguard Worker<b>launchd</b>(8), 98*5e7646d2SAndroid Build Coastguard Worker<b>systemd</b>(8), 99*5e7646d2SAndroid Build Coastguard Workerand 100*5e7646d2SAndroid Build Coastguard Worker<b>xinetd</b>(8). 101*5e7646d2SAndroid Build Coastguard WorkerSimply enable the 102*5e7646d2SAndroid Build Coastguard Worker<b>cups-lpd</b> 103*5e7646d2SAndroid Build Coastguard Workerservice using the corresponding control program. 104*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="SEE_ALSO">See Also</a></h2> 105*5e7646d2SAndroid Build Coastguard Worker<b>cups</b>(1), 106*5e7646d2SAndroid Build Coastguard Worker<b>cupsd</b>(8), 107*5e7646d2SAndroid Build Coastguard Worker<b>inetconv</b>(1m), 108*5e7646d2SAndroid Build Coastguard Worker<b>inetd</b>(8), 109*5e7646d2SAndroid Build Coastguard Worker<b>launchd</b>(8), 110*5e7646d2SAndroid Build Coastguard Worker<b>xinetd</b>(8), 111*5e7646d2SAndroid Build Coastguard WorkerCUPS Online Help (<a href="http://localhost:631/help)">http://localhost:631/help)</a>, 112*5e7646d2SAndroid Build Coastguard WorkerRFC 2569 113*5e7646d2SAndroid Build Coastguard Worker<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2> 114*5e7646d2SAndroid Build Coastguard WorkerCopyright © 2007-2019 by Apple Inc. 115*5e7646d2SAndroid Build Coastguard Worker 116*5e7646d2SAndroid Build Coastguard Worker</body> 117*5e7646d2SAndroid Build Coastguard Worker</html> 118