lprint server [ -o OPTION=VALUE ]
This command starts a label print server. Normally a server is started automatically as needed, however you can run the server manually to listen on a public network address and/or enable different logging options.
The following options are recognized by lprint server:
- -o admin-group=GROUP
Specifies that remote configuration is authenticated against the named group. If not specified or the value "none" is given then any authenticated user may remotely configure lprint.
- -o auth-service=SERVICE
Specifies the PAM service to use to authenticate for remote configuration requests. If not specified or the value "none" is given then printers can only be added, modified, or deleted locally.
- -o log-file=-
Specifies that all messages are written to the standard error.
- -o log-file=syslog
Specifies that all messages are sent to the syslog service.
- -o log-file=FILENAME
Specifies that all messages are written to the named file. If the file already exists, messages are appended to it. The default log file is "$TMPDIR/lprintUID.log".
- -o log-level=error
Specifies that only error messages should be logged. This is the default.
- -o log-level=info
Specifies that error and informational messages should be logged.
- -o log-level=debug
Specifies that all messages should be logged.
- -o server-hostname=HOSTNAME
Listens for IPP connections on the specified hostname/address(es). If not specified, the server only listens for connections on a per-user (local) domain socket.
- -o server-port=PORT
Listens for IPP connections on the specified port. If not specified, a random port between 9000 and 9999 is chosen.
- -o spool-directory=DIRECTORY
Specifies a directory that holds pending print files. If not specified, a subdirectory in the system temporary directory is used.
Copyright © 2019-2020 by Michael R Sweet.
lprint(1), lprint.conf(5), lprint-shutdown(1).