Configure a System V Host
1) Copy the Emulex utility RPRINT.C to a host system.
This file is found on the UNIX utilities diskette.
2) Go to the subdirectory where RPRINT is loaded.
For example,
3) Edit the file ENVIRON.H to reflect the appropriate system type.
For example, typical system parameters for a generic System V system:
4) Compile and link RPRINT.C:
If sockets are available, enter:
>
#cc rprint.c -o rprint -lsocket
If sockets are not available, enter:
>
#cc rprint.c -o rprint -lnsl_s
NOTE: Compile commands will vary on different UNIX
Typical libraries to use are:
5) Edit the /usr/emlx/printcap file to include an entry for the printer server
printer(s).
>
#/usr/emlx
>
#define SOCK 1 (0 = no sockets supported)
>
#define SYSV 1
>
#define LING 1
>
#define ROBUST 1
>
#define PRINTCAP "/usr/emlx/printcap"
systems. Some will not require libraries on the
command string. Others will require one or more
libraries on the compile command.
>
#1socket
>
#1nsl_s
>
#1nsl
>
#1inet
(System V Rel 3.X)
(System V Rel 4.X)
UNIX TCP/IP 4-13