5
5-6
UNIX server print queues
N
OTE
:
In these examples, we’ll use
colorwriter
as the printer name (the IP host
name), and
colorwriterq
as the name of the Colorwriter Print queue.
Since the Colorwriter supports only one queue 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.
N
OTE
:
For SGI workstations running IRIX 5, first load the
lpd
package from the
IRIX installation CD. The default installation includes only the
lp
printing
subsystem, which does not have networking capabilities. You need to load the
following items:
eoe2.sw.bsdlpr
and
eoe2.man.bsdlpr
T
O
ADD
THE
C
OLORWRITER
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 Colorwriter as a network device.
The following is a sample entry for the Colorwriter:
192.9.228.1<TAB>colorwriter<TAB>#comments
The internet address is followed by the official host name, followed by aliases, if
any.
N
OTE
:
If a site is using NIS, after adding the Colorwriter entry, the superuser
releases the updated information by typing:
cd /var/yp
make
N
OTE
:
For sites that use DNS (Domain Name Services) or that use NIS+, consult
the documentation or the network administrator for instructions on publishing
the Colorwriter entry.
3.
Confirm the connection with the ping command:
ping v <IP address>
For more information, see “Verifying the TCP/IP connection” on page 5-14.
4.
If your UNIX system uses SunOS 4 or another BSD-based variant, go to the next
section. If your system uses Solaris 2, follow the steps on page 5-8.