U N I X T C P / I P P r o b l e m s
11-18
❖
X N I C - E N E T / T R I N G C o n f i g u r a t i o n G u i d e
UNIX files won't print.
Missing entries in /etc/hosts and
/etc/printcap files.
Check the /etc/hosts and /etc/printcap files,
and rectify if needed. The following
examples are from a SUN workstation
connected to an XNIC-ENET.
/etc/hosts
/etc/hosts connects the IP address
with the server name. The server
name is case sensitive. The name
must match exactly wherever it is
used on the UNIX host.
For example:
13.1.217.156 XNE00024E
/etc/printcap
/etc/printcap is the printer
capability file. This entry in
/etc/printcap goes with the above
/etc/hosts entry:
xrx_pcl|Xerox PCL Printer:\
:lp:\
:rm= XNE00024E:\
:rp=TEXT:\
:mx#0:\
:sd=/usr/spool/lpd/xrx_pcl:
A spool directory, /usr/spool/lpd/xrx_pcl,
must be made with the mkdir UNIX
command.
To print a file named test using lpr:
lpr -Pxrx_pcl test
UNIX text files print off
the right edge of the
page.
Incorrect value for the rp
parameter in /etc/printcap.
For ASCII text, to add a carriage return for
each linefeed, enter
:rp=TEXT:
Problems with printing
PostScript files under
UNIX.
Incorrect value for the rp
parameter in /etc/printcap.
For a PostScript passthrough (binary) mode,
enter
:rp=PASSTHRU:
Table 11.3 UNIX TCP/IP problems
(continued)
Problem
Possible Causes
Corrective Actions
ETR-CH11 Page 18 Thursday, October 24, 1996 7:14 AM