beautypg.com

Example installation for a typical bsd unix system – Tektronix Phasershare Printer User Manual

Page 39

background image

TCP/IP Configuration (UNIX)

5

Setup Guide

33

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). For 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.

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 34 to cr
eate your entry.

N

O

T

E

You need superuser privileges to edit this file.