lprsetup(8)
Name
lprsetup − printer spooler set up program
Syntax
/etc/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 [ ] . 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() 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 you are prompted to choose between lat or dev. If your printer is connected to a port on your system, 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 you want to set up your printer to a LAT line, choose the lat option. At this point, lprsetup proceeds only if you have chosen a valid LAT device for lp. It assumes that the LAT device has been configured for host initiated connections using lcp. If it has not, you must do this before the queue works. For information about how to set up a LAT line, see Chapter 3 of the Guide to Ethernet Communications Servers.
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.
See Also
printcap(5), lpc(8), MAKEDEV(8)
Guide to Ethernet Communications Servers
Guide to System Environment Setup