 |
Index for Section 8 |
|
 |
Alphabetical listing for L |
|
lprsetup(8)
NAME
lprsetup - printer spooler set up program
SYNOPSIS
/usr/sbin/lprsetup
DESCRIPTION
The lprsetup command provides an interactive command-line script for
administrating the line printers on your system. This interface
complements a graphical user interface named printconfig.
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 parameter.
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/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 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 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 system 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 modify...
· 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".
RELATED INFORMATION
printcap(4), latcp(8), MAKEDEV(8), printconfig(8X).
Network Administration
System Administration
Compaq Advanced Printing Software documentation.