Network Configuration for SGI IRIX 5.3 and 6.x
|
Note: You will need superuser privileges to edit this file.
In this procedure you will modify the /etc/hosts file to identify the printer to the workstation.
- Log onto your system as root.
- Make a backup copy of the /etc/hosts file.
- 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.
IRIX 5.3 and IRIX 6.x with Impressario Client
The following procedure describes how to use the SGI Printer Manager program to configure a workstation running IRIX 5.3 and IRIX 6.x with Impressario Client to support a color PostScript printer.
- From the Toolchest, click System/Printer Manager, or type printers at the command line.
- Click on Printer and select Add from the pull-down menu.
For New Printer Name, type the name of the print queue (this can be called anything).
For Connection Type, select Network.
For Remote Host Name, type in the name you entered in the /etc/hosts file.
For Remote Printer Name, type PS or AUTO in all capital letters.
- Click OK
IRIX 6.x with Impressario Server
The following procedure describes how to use the SGI Printer Manager program to configure a workstation running IRIX 6.x with Impressario Server to support a color PostScript printer.
- From the Toolchest, click System/Printer Manager, or type printers at the command line.
- Click on Printer and select Add from the pull-down menu.
For New Printer Name, type the name of the print queue (this can be called anything).
For Printer Connected To, select Local Host.
Note: The fields Location Code and Location Description may contain information
describing the location of the printer, or they can be left blank.
In the box labeled Printer Type, select one of the Generic Color Postscript entries.
For Printer is Attached to, click on Network.
For Printer's Name (or IP Address), type in the printer name you entered in the /etc/hosts file.
For Printer is Attached to Network With, select Network Card Installed in Printer.
- Click OK
Using LPD Daemon
If you choose to use the lpd daemon rather than lpdsched, or are running an earlier version of IRIX such as IRIX 4.x to 5.2, use the following to create the queue via a printcap entry. You will also need to load and start the lpd daemon.
Note: You need superuser privileges to edit this file.
Edit /etc/printcap and add an entry for Phaser printer. Refer to the examples and the descriptions of printcap parameters to create your entry.
Printcap Parameters
You use these printcap parameters: lp, rm, rp, mx, lf and sd.
lp The name of the device to open. This parameter must be left empty.
rm The remote machine name. This is the name by which the workstation identifies the printer it must match the name in the /etc/hosts file. For example, phaser550.
rp The remote printer queue name. This is the queue name that the printer recognizes.
Valid entries for internal TCP/IP are:
PS - PostScript
PCL - Text
HPGL - HP7475A
AUTO - Auto selection
mx The maximum size of a file. Set mx to 0 for unlimited file size. This allows the print command to handle large PostScript or image files.
lf The name of the log file where print command error messages are collected. Some systems have a log file for each print queue, some have one log file for all queues. Refer to your workstation's documentation for more information.
sd The spool directory on your host. You must make a separate spool directory for each queue.
Example:
# Printer: Tektronix Phaser 550
# Print queue name: colorprinter
# Remote machine name: phaser550
# Remote printer queue name: PS
# Spool directory: /usr/spool/lpd/colorprinter
colorprinter:\
:lp=/dev/null:\
:rm=phaser550:\
:rp=PS:\
:mx#0:\
:lf=/usr/spool/lpd/ERRORLOG:\ :sd=/usr/spool/lpd/colorprinter:
#
Set up spool directories
After you have edited the /etc/hosts and /etc/printcap files, you must create and set permissions for the spool directory you specified in /etc/printcap. For example, these commands create and set permissions for the spool directory specified in the example:
cd /usr/spool/lpd mkdir colorprinter chown daemon colorprinter chgrp daemon colorprinter chmod 770 colorprinter
Refer to your UNIX® documentation for the correct command syntax for your workstation.
|
| |
|