Emulex NQ0U-NT+ Printer User Manual


 
UNIX TCP/IP 4-13
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,
> #/usr/emlx
3) Edit the file ENVIRON.H to reflect the appropriate system type.
For example, typical system parameters for a generic System V system:
>
#define SOCK 1 (0 = no sockets supported)
> #define SYSV 1
> #define LING 1
> #define ROBUST 1
> #define PRINTCAP “/usr/emlx/printcap”
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
systems. Some will not require libraries on the
command string. Others will require one or more
libraries on the compile command.
Typical libraries to use are:
> #1socket
> #1nsl_s (System V Rel 3.X)
> #1nsl (System V Rel 4.X)
> #1inet
5) Edit the /usr/emlx/printcap file to include an entry for the printer server
printer(s).