PhaserShare Networking Manual
85
TCP/IP Host Configuration (UNIX)
8
Example installation for a typical BSD UNIX system
The following procedure is an example spooler configuration that will work for
many BSD systems, including SunOS 4.x and 5.x (Solaris 1.x and 2.x) and Digital
UNIX.
Modify the
/etc/hosts
file to identify the printer to the workstation and modify the
/etc/printcap
file to describe the printer to the workstation:
1.
Log on to your system as
root
.
2.
Make a backup copy of the
/etc/hosts
file.
3.
Edit
/etc/hosts
and add a line that defines the printer's IP address and its
name. The IP address you enter here for the printer must be the same
address you specified as the printer's IP address when it was configured.
The name is the name by which your workstation identifies the printer.
(You will enter this same remote name in your
/etc/printcap
file in the next
step.)
4.
Make a backup copy of the
/etc/printcap
file.
5.
Edit
/etc/printcap
and add an entry for your printer. Refer to the following
example and the table “Descriptions of printcap parameters” on page 86 to
create your entry.
N
O
T
E
You need superuser privileges to edit this file.
Example:
134.62.33.138 Phaser740
In this example,
134.62.33.138
is the printer’s IP address and
Phaser740
is the printer’s remote name.
Sample printcap file
# Printer: Tektronix Phaser740
# Print queue name: colorprinter
# Remote machine name: Phaser740
# Remote printer queue name: PS
# Spool directory: /usr/spool/lpd/colorprinter
colorprinter:\
:lp=:\
:rm=Phaser740:\
:rp=PS:\
:mx#0:\
:lf=/usr/spool/lpd/ERRORLOG:\
:sd=/usr/spool/lpd/colorprinter:
#
Summary of Contents for Phasershare Printer
Page 1: ...P H A S E R S H A R E N E T W O R K I N G M a n u a l www tek com Color_Printers ...
Page 2: ......
Page 3: ...PhaserShare Networking Manual V3 April 1999 071 0180 01 ...
Page 32: ...24 PhaserShare Networking Manual 2 PhaserShare Series B Network Interfaces ...
Page 62: ...54 PhaserShare Networking Manual 6 TCP IP Configuration Overview ...
Page 160: ...152 PhaserShare Networking Manual 13 Printer Management ...
Page 183: ......
Page 184: ...Printed on recycled paper 0 7 1 0 1 8 0 0 1 ...