Manual Page Result
0
Command: lprsetup | Section: 8 | Source: Digital UNIX | File: lprsetup.8.gz
lprsetup(8) System Manager's Manual lprsetup(8)
NAME
lprsetup - printer spooler set up program
SYNOPSIS
/usr/sbin/lprsetup
DESCRIPTION
The lprsetup command provides an interactive easy-to-use facility for
administrating the line printers on your system. The lprsetup program
contains on-line help and default answers to questions about adding,
deleting, or changing the characteristics of any of the line printers
on your system. Whenever a question is asked, the default selection is
given in brackets ] . You can press Return in response to the question
to accept the default, or enter an alternate value for the given para-
meter.
You can obtain help information at any prompt by entering a question
mark (?). After the help information is displayed, you are reprompted.
The program knows about all of the possible symbols in the /etc/print-
cap file. See printcap(4) for a current list. After you have entered a
printer specification, and have verified that it is correct, lprsetup
then creates the spooling directory, links the output filter, and cre-
ates an /etc/printcap entry for the new printer.
If the printer is connected to your system, you must specify the
printer device name which is in the lp printcap entry.
If lp is set to /dev/ttynn, choose the default setting dev when you see
the following prompt: printer connection type 'ct' If you choose dev,
you are prompted for the baud rate, br. The default is the recommended
baud rate for the selected printer. If you choose dev, you are
prompted for the baud rate, br. The default is the recommended baud
rate for the printer.
If lp is set to another device, for example /dev/lp0 the lprsetup pro-
gram assumes that you are setting up a printer with a parallel port,
for example, lg02. It does not prompt you for device type information,
and serial port specific entries are not put into the /etc/printcap en-
try.
If the printer is remote, that is, if it is connected to a remote ma-
chine, you must set the line printer device to NULL (lp=:) and provide
the following information items: Printer synonyms Name of the remote
machine Name of the remote printer Spooling directory on the local ma-
chine
If the printer is connected to a LAT, you must specify LAT when
prompted for the printer connection type. It is important to enter LAT
in all uppercase letters. (The connection will not be made if you en-
ter lat for the printer connection type.) After you specify LAT, the
system prompts you for the baud rate (br). The default is the recom-
mended baud rate for the selected printer.
RELATED INFORMATION
printcap(4), latcp(8), MAKEDEV(8)
Network Administration
System Administration delim off
lprsetup(8)