Installation guide
lprsetup program updates the information in the /etc/printcap file
using the information you supply.
If your system is part of a network, you may need to consult your local
network administrator about the correct procedure for adding a printer.
The following is a list of the information you need:
• Name of the printer (print queue)
• Printer type
• Printer device name
• Printer synonyms (alternative names)
• Printer accounting
• Spooler directory
• Error log file
• Connection type (LAT device)
• Baud rate (hard-wired ports only)
If you are adding a remote printer, you need the name of the machine the
printer is connected to (host name) and the remote printer queue name.
The following sections describe how you obtain the required information.
10.5.1.1 Printer Name
The printer name is the name by which you want to identify the printer
through the lpr command. For example:
# lpr -Pprintername
The lprsetup program uses an internal numbering scheme from 0 to 99.
The next available number is the default name. You can choose the default
by pressing the Return key or by entering any other alphanumeric name
that is appropriate. The lprsetup program always assigns at least two
printer synonyms: the default number and lp
default number, plus any
others you specify. If the default number were 1, the two names would be 1
and lp1. This printer could then be identified as follows:
# lpr -P1
# lpr -Plp1
If you have only one printer or are entering the first of many printer
names, the first name will have a printer number of 0. This is recognized
as your system’s default printer and will have an additional name of ’lp’.
This means if you use the lpr command without specifying a specific
printer this is the one it will use.
10–4 Administering the Print Services