# /etc/inetd –c

4.Register the remote printer

Example: setting up a queue called PRINTER_lp to print to host PRINTER

a. Register the remote printer.

#/usr/sbin/lpadmin -pPRINTER_lp -v /dev/null -mrmodel \-ormPRINTER -orplp -ocmrcmodel -osmrsmodel -ob3

b.Activate the print queue.

# /usr/sbin/accept PRINTER_lp

c.Enable the print queue.

# /bin/enable PRINTER_lp

d.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 PRINTER_lp, with model file called PRINTER_model

#/usr/sbin/lpshut

#/usr/sbin/lpadmin –pPRINTER_lp – mPRINTER_model

#/usr/sbin/lpsched

OkiLAN 8300e Network User’s Guide

UNIX - 110