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

enable(1)                                                          User Commands                                                         enable(1)

NAME
enable, disable - enable/disable LP printers SYNOPSIS
/usr/bin/enable printer... /usr/bin/disable [-c | -W] [ -r [reason]] printer... DESCRIPTION
The enable command activates printers, enabling them to print requests submitted by the lp command. enable must be run on the printer server. The disable command deactivates printers, disabling them from printing requests submitted by the lp command. By default, any requests that are currently printing on printer will be reprinted in their entirety either on printer or another member of the same class of printers. The disable command must be run on the print server. Use lpstat -p to check the status of printers. enable and disable only effect queueing on the print server's spooling system. Executing these commands from a client system will have no effect on the server. OPTIONS
The following options are supported for use with disable: -c Cancels any requests that are currently printing on printer. This option cannot be used with the -W option. If the printer is remote, the -c option will be silently ignored. -W Waits until the request currently being printed is finished before disabling printer. This option cannot be used with the -c option. If the printer is remote, the -W option will be silently ignored. -r [reason] Assigns a reason for the disabling of the printer(s). This reason applies to all printers specified. This reason is reported by lpstat -p. Enclose reason in quotes if it contains blanks. The default reason is "unknown reason" for the existing printer, and "new printer" for a printer added to the system but not yet enabled. OPERANDS
The following operand is supported for both enable and disable: printer The name of the printer to be enabled or disabled. Specify printer using atomic name. See printers.conf(4) for information regarding the naming conventions for atomic names. EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. FILES
/var/spool/lp/* LP print queue. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpcu | +-----------------------------+-----------------------------+ |CSI |enabled | +-----------------------------+-----------------------------+ SEE ALSO
lp(1), lpstat(1), printers.conf(4), attributes(5) SunOS 5.10 9 Sep 1996 enable(1)
Man Page