55
Connecting the Printer to a Network
The lpr protocol is a printer spooling system. It is a set of programs that
accepts printing requests from many users on a network, routes them to the
proper print server (in this case, the KX-P8420), and accepts requests to
display a queue’s status or to remove jobs from a queue.
The lpr system is included in the standard installation of Berkeley-based
UNIX systems, SunOS 4, and Solaris.
Use the examples that follow as a guide in helping you set up your network
for printing to the printer.
NOTE:
•
In these examples,
KX-P8420
is used as the printer name (the IP host
name), and
KX-P8420q
is used to indicate the
KX-P8420
Print queue.
Since the printer supports only one TCP/IP (
lpr
) connection at a time, you
can use the same name for the hostname and the queuename. However,
the examples indicate where you should make a distinction if you want to
use different names.
To add the printer as a network printer to all UNIX systems:
1
Log in to your UNIX host as the root user.
2
Edit your /etc/hosts file to include the printer as a
network device.
The following is a sample entry for the printer:
192.9.228.1<TAB>KX-P8420<TAB>#comments
where <
TAB
> indicates that you press the tab key.
The IP address is followed by the official host name, and these are
followed by aliases, if any. Type the entry exactly as shown, without
a space before the IP address.
NOTE:
•
For sites that use DNS (Domain Name System) or that use NIS or
NIS+, consult the documentation or the network administrator for
instructions on publishing the printer entry.
3
Save and exit the hosts file.
4
Confirm the connection using the ping command.
See “Verifying the TCP/IP network connection” on
page 58
.
UNIX server
print queues