Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rlprd(8) [debian man page]

rlprd(8)						       UNIX Reference Manual							  rlprd(8)

NAME
rlprd - remote printing proxy daemon SYNOPSIS
rlprd [-nqV] [-pport] [-ttimeout] [--debug] DESCRIPTION
rlprd is a proxy which runs between the remote printing commands (rlpr(1), rlpq(1), and rlprm(1)) and standard lpd print servers in situa- tions where the remote printing commands cannot be installed setuid root. For a discussion on how to configure the remote printing com- mands, please see rlpr(1). rlprd needs to be installed setuid root - if it cannot be run this way, it is useless. rlprd works by mapping non-privileged port requests from rlpr(1) clients to privileged ports so that lpd's will listen to them. Eliminat- ing the "security" gained by having privileged ports is a non-issue, since the Internet is no longer just Unix, and Unix is the only OS that has the privileged port concept. rlprd is not a replacement for lpd(8). It merely passes data to a lpd(8) on a target machine (which is specified by an invocation of a remote printing command). However, when a client is using the rlpr suite of tools to do remote printing, the client does not need to run an lpd(8) locally. Note that once an rlprd is set up on a network (including the Internet), any host may connect to it and use its proxy services if it knows the name of the machine running it. OPTIONS
--debug Print gobs of debugging information. -n, --no-daemon Don't run rlprd as a daemon. Usually not needed. -p, --port=number Select an alternate port (instead of 7290) to listen on. Usually not needed. -q, --quiet, --silent Quiet mode - stay quiet (except for fatal errors). -t --timeout=seconds Set the inactivity timer. If the connection hangs for more than seconds seconds, then rlprd will time out the connection. Use the special value `-1' to wait forever. Default timeout is 3 seconds. -V, --version Print version and exit. SEE ALSO
rlpr(1), rlpq(1), rlprm(1), rlprrc(5) AUTHOR
meem <meem@gnu.org> BUGS
/LIMITATIONS It is not currently possible to run rlprd from inetd(8). rlpr 2.04 1999/10/28 rlprd(8)

Check Out this Related Man Page

rlpq(1) 						       UNIX Reference Manual							   rlpq(1)

NAME
rlpq - remote line printer queue examination program SYNOPSIS
rlpq [-lmqNV] [-Hprinthost] [-Pprinter] [-Xproxyhost] [--debug] [--timeout=seconds] [--port=port] [ job # ... ] [ username ... ] DESCRIPTION
rlpq uses TCP/IP to examine print queues for printers anywhere on a network. Unlike lpq, it does not require that the remote printers be explicitly known to the local system (traditionally through /etc/printcap), and thus is considerably more flexible and requires less admin- istration. rlpq can be used anywhere a traditional lpq might be used, and is backwards compatible with traditional BSD lpq. If rlpq is invoked as lpq, it preserves all known lpq semantics. rlpq can be set up, installed, and used in the same two ways as rlpr(1) (that is, either with or without the rlprd(8) proxy daemon). Please see rlpr(1) for details, and to see whether you will need to use the rlprd(8) proxy daemon or not. OPTIONS
Environment/Setup --debug Print gobs of debugging information. -N, --no-bind Don't try to bind to privileged port before connecting to lpd. Please see the CONFIGURING A PROXY section in rlpr(1) for informa- tion on use of this option. --port=number Select an alternate port (instead of 7290) to connect to, if using rlprd. Usually not needed. -H, --printhost=host Select the host to print to (used with -P). Instead of using -H, one can specify the hostname directly including it with the printer name with the printer@hostname syntax. -P, --printer=printername, --queue=printername Select the printer to print to (used with -H). -X, --proxy=proxyhost, --proxyhost=proxyhost Select the proxy host to use, if necessary. --timeout=seconds Set the inactivity timer. If the connection hangs for more than seconds seconds, then rlpq will give up. Use the special value `-1' to wait forever. Default timeout is 3 seconds. -V, --version Print version and exit. Behavior -l, --long Produce a more detailed report. -m, --mine List only the jobs belonging to you. -q, --quiet, --silent Quiet mode - stay quiet (except for fatal errors). When this flag is set, rlpq's return value indicates whether there are any items in the specified queue that meet the specified criteria (a return value of zero indicates success). ENVIRONMENT VARIABLES
The following environment variables are used by rlpq: RLPR_PRINTHOST Specifies the default host's queue to examine. PRINTER or LPDEST Specifies the default printer to check on the host. First PRINTER is consulted, then LPDEST. Note that one can also specify the host to examine by setting printer to be printer@hostname. This may be more convenient than set- ting RLPR_PRINTHOST, but will confuse the traditional BSD print commands. RLPR_PROXYHOST Specifies a proxy host to use, if necessary. FILES
~/.rlprrc Personal printer/host database /etc/hosts.lpd Host-based security on printhost /etc/hosts.equiv Host-based security on printhost /etc/passwd Personal identification /etc/rlprrc System-wide printer/host database SEE ALSO
rlpr(1), rlprm(1), rlprd(8), rlprrc(5) AUTHOR
meem <meem@gnu.org> BUGS
/ LIMITATIONS Due to the dynamic nature of print queues, it is possible that the actual state of the queue may have changed between the time the snapshot was generated and the output was produced. rlpr 2.04 1999/10/28 rlpq(1)
Man Page