Oki 8100e Network Card User Manual


 
UNIX 88
a. Stop the printer spooler.
# /usr/sbin/lpshut
b. Add the following line to the /etc/inetd.conf file and register
the remote spooler.
printer stream tcp nowait root /usr/sbin/
rlpdameon –I
c. Restart inetd
# /etc/inetd –c
6. Register the remote printer
Example: setting up a queue called C5300_lp to print to host C5300
d. Register the remote printer.
# /usr/sbin/lpadmin -pC5300_lp -v /dev/null
-mrmodel \-ormC5300 -orplp -ocmrcmodel
-osmrsmodel -ob3
e. Activate the print queue.
# /usr/sbin/accept C5300_lp
f. Enable the print queue.
# /bin/enable C5300_lp
g. Enable the printer spooler.
# /usr/sbin/lpsched
To customise output, for example, to add additional commands at the
start of each print job, you can edit a copy of the /usr/spool/lp/model/
rmodel model file then add it using the lpadmin command.
Example: for printer C5300_lp, with model file called C5300_model
# /usr/sbin/lpshut
# /usr/sbin/lpadmin –pC5300_lp –mC5300_model
# /usr/sbin/lpsched