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 facility for administrating the line printers on your system. This utility is also the com-
mand-line version of printconfig, a graphical user interface available in X-windows or the Common Desktop Environment (CDE). See the
printconfig(8) reference page for information on invoking the graphical user interface. Note that when you invoke printconfig from the
command line, you have options to run the interface in different formats. Printer configuration can also be performed from the SysMan Menu
and SMS interfaces.
The lprsetup program contains online 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 parameter.
You can obtain help information at any prompt by entering a question mark (?). After the help information is displayed, you are
reprompted.
The lprsetup program uses the /etc/lprsetup.dat file to determine the list of supported printers. See lprsetup.dat(4) for a current list of
supported printers.
The program knows about all of the possible symbols in the /etc/printcap 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
creates 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 lp is set to another device, for example /dev/lp0 the lprsetup program 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
entry.
If the printer is remote, that is, if it is connected to a remote machine, 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
machine
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 enter lat for the printer connection type.) After you specify LAT, the sys-
tem prompts you for the baud rate (br). The default is the recommended baud rate for the selected printer.
Configuring Compaq Advanced Printing Software
When lprsetup is used under Compaq Advanced Printing Software, you must configure an inbound gateway defining the rm and rp print symbols
in the /etc/printcap file.
To use this option: After configuring the general print characteristics, you will be prompted to Enter the printcap symbol you wish to mod-
ify... Enter rm and then enter a new vaue of @dpa. Confirm the new value. Enter rp and provide a print queue name, such as "printer1".
Configuring Printing on Clusters
When lprsetup is invoked on a cluster, additional options are available which enable you to setup and administer cluster-wide printing.
The on print symbol is used in the /etc/printcap file to specify: localhost, for networked (TCP/IP) printers Cluster member (host) names on
which the print queue will be shared
Refer to the printcap(4) reference page and Cluster Administration guide for more information.
SEE ALSO
Commands: latcp(8), MAKEDEV(8), printconfig(8), sysman(8), sysman_intro(8), sysman_station(8)
Files: printcap(4), lprsetup.dat(4)
Network Administration
System Administration
Cluster Administration
Compaq Advanced Printing Software documentation
lprsetup(8)