User guide
Manual Installation Procedure
Chapter 5: Using the Printer with UNIX TCP/IP ❖ 5-31
5
Create the directory for the spooled files.
For example:
mkdir /usr/spool/
xrx
chown daemon /usr/spool/
xrx
chmod 666 /usr/spool/
xrx
where
xrx
is the name of the spooler.
6
Edit /etc/printcap to add an entry for the Xerox printer.
For example, the following entry defines a printer with the
PostScript option, on the XNIO port (port 1, TCP port 2501),
the rprint program residing in the usr/xrx directory, and the
spooler residing in the usr/spool/xrx directory.:
xrx|xrx|XNIO printer:\
:lp=/dev/xrx:\ (dummy device name)
:sd=/usr/spool/xrx:\ (dir for spooled files)
:of=/usr/xrx/rprint:\ (location of rprint program)
:xrx_n=138.239.111.111:\ (server IP address)
:xrx_p=2501:\ (TCP port number)
The following additional entries are recommended for
PostScript printers:
:mx#0:\ (unlimited buffer space)
:sh:\ (suppress burst page headersheet)
:sf:\ (suppress form feeds)
:xrx_text=disable: (required for PostScript)
The last line should not end with the backslash (\). All
preceding lines do.
7
Initialize the new spool device. For example:
lpc start
xrx
(printer name in printcap file)
8
Print a PostScript test file using a command similar to the
following:
lpr -Pxrx
ps_file
Etr-ch05 Page 31 Thursday, October 24, 1996 7:31 PM