User guide
Manual Installation Procedure
5-30 ❖ XNIC-ENET/TRING Configuration Guide
Print Queue
Option 2:
Setting up
RPRINT on BSD
Hosts
Follow this procedure to configure your BSD host with rprint, so
that it can initiate a print job.
Note
A C compiler is required to perform this procedure, or you
may use one of the pre-compiled binary sets on the UNIX
Installation Utility diskette (if applicable).
1
Using the compiler, tar the Xerox utility rprint.c from the
UNIX Installation Utility diskette to your host system and
change to the subdirectory where it is loaded (for example,
/usr/xrx).
2
Edit the file environ.h to reflect the appropriate system type.
The following are typical system parameters for Sun
SparcStations:
#define SOCK 1
#define SYSV 0 (0 because a BSD system)
#define LING 1
#define ROBUST 1
3
Compile and link rprint.c by entering the command (your
compiler commands may differ):
cc rprint.c -o rprint
4
Create a dummy device file with the following commands:
touch /dev/
xrx
chown daemon /dev/
xrx
chmod 666 /dev/
xrx
where
xrx
is the name of the printer.
Some systems may also require a chgrp command.
Refer to your system manuals.
Etr-ch05 Page 30 Thursday, October 24, 1996 7:31 PM