Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rlprrc(5) [debian man page]

rlprrc(5)						       UNIX Reference Manual							 rlprrc(5)

NAME
rlprrc - remote printing resource file DESCRIPTION
The rlprrc configuration file is consulted by the remote printing commands (rlpr(1), rlpq(1), and rlprm(1)) to resolve a printqueue or a hostname. It can be used to either lookup a printqueue (printer) for a given host, or a host for a given printqueue. If both the printer and the printhost are known, this file is never consulted. Initially, the remote printing commands look for the file .rlprrc in the user's home directory. If that file cannot be found or does not provide the information necessary to resolve the query, then the system-wide /etc/rlprrc is consulted (if present). If resolution is still unsuccessful, the command fails. There is one entry per line - each line has the format: hostname: printer1 printer2 ... printerN Which indicates that host hostname has printers printer1 printer2 ... printerN available. In the case where the remote printing command knows the host to print to but does not know which printer to use on that host, the first one (printer1 here) will be used. In the case where the remote printing command knows the printqueue (printer) to print to but does not know what host has that queue, the last host which has the specified printqueue is used. If this behavior is not acceptable, you can force a certain host to always be used for a certain printqueue by putting a ! after the printqueue name. For example, an .rlprrc file containing: foo.baz.org: litho laserjet4! foo.bar.org: laserjet4 lineprinter will always resolve the printqueue laserjet4 to foo.baz.org no matter what other hosts have a printqueue named laserjet4. The rlprrc file is only consulted in situations where a printqueue or hostname needs to be resolved. It is provided only for convenience and is not required. SEE ALSO
rlpr(1), rlpq(1), rlprm(1), rlprd(8) AUTHOR
meem <meem@gnu.org> rlpr 2.04 1999/10/28 rlprrc(5)

Check Out this Related 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)
Man Page