User guide
Manual Installation Procedure
Chapter 5: Using the Printer with UNIX TCP/IP ❖ 5-33
4
Edit the /usr/xrx/printcap file to include an entry for the
Xerox printer(s).
If you are using the rprint precompiled binary, the
printcap file must be in the /etc directory.
For example, the following entry defines a printer on the
XNIO port (port 1, TCP port 2501):
xrx_pcl|xrx_1|XNIO printer:\
:lp=xrx_pcl:\ (dummy device name)
:xrx_n=138.239.111.111:\ (IP address)
:xrx_p=2501: (TCP port number)
If this printer will be used for PostScript or graphic image files,
include the following line in the printcap entry:
:xrx_text=disable:\
5
Edit the printer interface script file. First copy the sample
Xerox printer interface file, lp_dumb, to another file that
corresponds to the printer name you selected.
For example:
cp lp_dumb lp_xrx_pcl
6
Edit the lp_xrx_pcl file to specify the correct path to the
rprint program. Assuming that the rprint program is kept in
/usr/xrx, enter the second to the last line of the lp_xrx_pcl file
as follows:
(shell commands)
| /usr/xrx/rprint `basename $0` $1 $5
exit $?
If you are familiar with UNIX bourne shell script
programming, you can edit the lp_xrx_pcl file and modify the
banner page that precedes the printed output to suit your
needs.
Etr-ch05 Page 33 Thursday, October 24, 1996 7:31 PM