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.

N O T E

You need superuser privileges to edit this 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.)

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 86 to create your entry.

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:

#

PhaserShare Networking Manual

85

Page 93
Image 93
Tektronix Phasershare Printer manual Example installation for a typical BSD Unix system