
TCP/IP Configuration Chapter 6
6.2UNIX Printing
11.Your configuration is displayed. You are asked whether these values are final. Type Y or N and press Enter . An example is shown below.
Printer #7 Symbol | Type | Representative Value |
|
|
|
lp (line printer) | STR |
|
|
|
|
rm (remote host) | STR | <NIC IP address> |
|
|
|
rp (remote printer) | STR | PORT1 |
|
|
|
sd (spooler directory) | STR | /usr/spool/lpd7 |
|
|
|
12.Add comments to the printcap file. For example, you can type:
Dick’s printer down the hall Enter
13.Select exit to save your configuration and press Enter .
You are now prepared to print.
6.2.2.7Setting Up a SCO UNIX Remote Printers to Use lpd
Set up a remote printer on the host that sends jobs to a NIC using lpd. Use the following procedures to do this:
1.At the prompt, type:
#mkdev rlp
Note
•You cannot run mkdev rlp twice. If you have additional printers to be configured, use the rlpconf command.
2.You will now be asked a series of questions. Respond as fol- lows. “Do you want to install or remove a remote printer?” Type: I
3.“Do you want to change printer description file /etc/printcap?” Type: Y
4.Type in a printer name. For example, type: printer1
5.“Is printer1 a remote printer or a local printer?” Type: R
6.Enter remote host name: type host name entered in printcap for
NIC. For example, type: printfast