M a n u a l I n s t a l l a t i o n P r o c e d u r e
5-30
❖
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
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:
# d e f i n e S O C K 1
# d e f i n e S Y S V 0
(0 because a BSD system)
# d e f i n e L I N G 1
# d e f i n e R O B U S T 1
3
Compile and link
rprint.c
by entering the command (your
compiler commands may differ):
c c r p r i n t . c - o r p r i n t
4
Create a dummy device file with the following commands:
t o u c h / d e v /
x r x
c h o w n d a e m o n / d e v /
x r x
c h m o d 6 6 6 / d e v /
x r x
where
x r x
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