In the following steps, substitute the name that your printer will be known by for HOSTNAME, and the name by which you want your printer to be known for Rprinter.
1.Add the IP address and host name to the /etc/hosts file.
For example:
22.33.44.55 HOSTNAME
2.Execute rlpconf to register the printer.
For example: rlpconf
3.Enter the name of the printer.
For example:
Please enter the printer name (q to quit):RPrinter
4.Specify the remote printer as the printer type.
For example:
Is Rprinter a remote printer or a local printer (r/l)? r
5.Enter the name of the remote printer’s host.
For example:
Please enter the name of the remote host that Rprinter
is attached to:
HOSTNAME
Printer RPrinter is connected to host HOSTNAME
6.Confirm that the entries are correct.
For example:
Is this correct?(y/n)y
7
7
7
7
7
7
7
7
7
7
7
7
Settings for UNIX 169