lprsetup(8) — Maintenance
Digital
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 parameter.
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/tty nn, choose the default setting dev. 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.