1cups-lpd(8)                       Apple Inc.                       cups-lpd(8)
2
3
4

NAME

6       cups-lpd - receive print jobs and report printer status to lpd clients
7

SYNOPSIS

9       cups-lpd [ -h hostname[:port] ] [ -n ] [ -o option=value ]
10

DESCRIPTION

12       cups-lpd  is the CUPS Line Printer Daemon ("LPD") mini-server that sup‐
13       ports legacy client systems that use the LPD protocol.   cups-lpd  does
14       not  act  as a standalone network daemon but instead operates using any
15       of the Internet "super-servers" such as inetd(8), launchd(8), and  sys‐
16       temd(8).
17

OPTIONS

19       -h hostname[:port]
20            Sets the CUPS server (and port) to use.
21
22       -n   Disables  reverse  address  lookups; normally cups-lpd will try to
23            discover the hostname of the client via a reverse DNS lookup.
24
25       -o name=value
26            Inserts options for all print queues. Most often this is  used  to
27            disable  the  "l" filter so that remote print jobs are filtered as
28            needed for printing; the inetd(8) example below  sets  the  "docu‐
29            ment-format"  option  to  "application/octet-stream"  which forces
30            autodetection of the print file format.
31

CONFORMING TO

33       cups-lpd does not enforce the restricted source port  number  specified
34       in RFC 1179, as using restricted ports does not prevent users from sub‐
35       mitting print jobs.  While this behavior  is  different  than  standard
36       Berkeley LPD implementations, it should not affect normal client opera‐
37       tions.
38
39       The output of the status requests follows RFC 2569, Mapping between LPD
40       and IPP Protocols. Since many LPD implementations stray from this defi‐
41       nition, remote status reporting to LPD clients may be unreliable.
42

ERRORS

44       Errors are sent to the system log.
45

FILES

47       /etc/inetd.conf
48       /etc/xinetd.d/cups-lpd
49       /System/Library/LaunchDaemons/org.cups.cups-lpd.plist
50

NOTES

52   PERFORMANCE
53       cups-lpd performs well with small  numbers  of  clients  and  printers.
54       However,  since  a new process is created for each connection and since
55       each process must query the printing system before each job submission,
56       it  does  not scale to larger configurations.  We highly recommend that
57       large configurations use  the  native  IPP  support  provided  by  CUPS
58       instead.
59
60   SECURITY
61       cups-lpd  currently  does  not  perform any access control based on the
62       settings in cupsd.conf(5) or in  the  hosts.allow(5)  or  hosts.deny(5)
63       files used by TCP wrappers.  Therefore, running cups-lpd on your server
64       will allow any computer on your network (and perhaps the entire  Inter‐
65       net) to print to your server.
66
67       While xinetd(8) has built-in access control support, you should use the
68       TCP wrappers package with inetd(8) to limit access to only  those  com‐
69       puters that should be able to print through your server.
70
71       cups-lpd is not enabled by the standard CUPS distribution.  Please con‐
72       sult with your operating system  vendor  to  determine  whether  it  is
73       enabled by default on your system.
74

EXAMPLE

76       If  you  are  using  inetd(8), add the following line to the inetd.conf
77       file to enable the cups-lpd mini-server:
78
79           printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd \
80               -o document-format=application/octet-stream
81
82
83       Note: If you are using Solaris 10 or higher, you must  run  the  inetd‐
84       conv(1m) program to register the changes to the inetd.conf file.
85
86       CUPS  includes  configuration  files  for  launchd(8),  systemd(8), and
87       xinetd(8).  Simply enable the cups-lpd service using the  corresponding
88       control program.
89

SEE ALSO

91       cups(1),  cupsd(8), inetconv(1m), inetd(8), launchd(8), xinetd(8), CUPS
92       Online Help (http://localhost:631/help), RFC 2569
93
95       Copyright © 2007-2017 by Apple Inc.
96
97
98
993 June 2014                          CUPS                          cups-lpd(8)
Impressum