1lprint-server(1) Michael R Sweet lprint-server(1)
2
3
4
6 lprint-server - start a label print server.
7
9 lprint server [ -o OPTION=VALUE ]
10
12 This command starts a label print server. Normally a server is started
13 automatically as needed, however you can run the server manually to
14 listen on a public network address and/or enable different logging op‐
15 tions.
16
18 The following options are recognized by lprint server:
19
20 -o admin-group=GROUP
21 Specifies that remote configuration is authenticated against the
22 named group. If not specified or the value "none" is given then
23 any authenticated user may remotely configure lprint.
24
25 -o auth-service=SERVICE
26 Specifies the PAM service to use to authenticate for remote con‐
27 figuration requests. If not specified or the value "none" is
28 given then printers can only be added, modified, or deleted lo‐
29 cally.
30
31 -o listen-hostname=HOSTNAME
32 Listens for IPP connections on the specified hostname/address(es).
33 If not specified, uses the wildcard addresses to allow connections
34 from any address.
35
36 -o log-file=-
37 Specifies that all messages are written to the standard error.
38
39 -o log-file=syslog
40 Specifies that all messages are sent to the syslog service.
41
42 -o log-file=FILENAME
43 Specifies that all messages are written to the named file. If the
44 file already exists, messages are appended to it. The default log
45 file is "$TMPDIR/lprintUID.log".
46
47 -o log-level=error
48 Specifies that only error messages should be logged. This is the
49 default.
50
51 -o log-level=info
52 Specifies that error and informational messages should be logged.
53
54 -o log-level=debug
55 Specifies that all messages should be logged.
56
57 -o server-hostname=HOSTNAME
58 Specifies the hostname to advertise for the server. The default
59 is the system hostname.
60
61 -o server-options=OPTIONS
62 Specifies a comma-delimited list of server options. See "SERVER
63 OPTIONS" below.
64
65 -o server-port=PORT
66 Listens for IPP connections on the specified port. If not speci‐
67 fied, a random port between 9000 and 9999 is chosen.
68
69 -o spool-directory=DIRECTORY
70 Specifies a directory that holds pending print files. If not
71 specified, a subdirectory in the system temporary directory is
72 used.
73
75 By default, lprint server uses the "multi-queue" and "web-interface"
76 options. The -o server-options=OPTIONS option can be used to override
77 the default options, where "OPTIONS" is a comma-delimited list of any
78 of the following:
79
80 dnssd-host
81 When resolving conflicts, add the DNS-SD hostname instead of a se‐
82 rial number or UUID.
83
84 no-multi-queue
85 Do no support multiple print queues.
86
87 raw-socket
88 Provide a raw ("JetDirect") socket for each printer on port 91xx.
89
90 usb-printer
91 Enable a USB printer gadget for the default printer (Linux only
92 for Raspberry Pi and similar embedded SBCs).
93
94 no-web-interface
95 Disables the web interface.
96
97 web-log
98 Enables the log file web page.
99
100 web-network
101 Enables the network settings web page.
102
103 web-remote
104 Enables remote queue management.
105
106 web-security
107 Enables the user/password settings web page.
108
109 web-tls
110 Enables the TLS settings web page.
111
112 no-tls
113 Disables TLS support.
114
116 lprint(1), lprint-shutdown(1).
117
119 Copyright © 2019-2021 by Michael R Sweet.
120
121
122
1232021-12-21 LPrint lprint-server(1)