UNIX 101
# /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 PRINTER_lp to print to host PRINTER
d. Register the remote printer.
# /usr/sbin/lpadmin -p
PRINTER
_lp -v /dev/null
-mrmodel \-ormPRINTER -orplp -ocmrcmodel
-osmrsmodel -ob3
e. Activate the print queue.
# /usr/sbin/accept
PRINTER
_lp
f. Enable the print queue.
# /bin/enable
PRINTER
_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 PRINTER_lp, with model file called PRINTER_model
# /usr/sbin/lpshut
# /usr/sbin/lpadmin –p
PRINTER
_lp –m
PRINTER
_model
# /usr/sbin/lpsched
Summary of Contents for B4300
Page 1: ......
Page 2: ......
Page 10: ...Configuration 8...
Page 11: ...Configuration 9...
Page 12: ...Configuration 10...
Page 16: ...Configuration 14 4 Select the Admin Mgr Quick Setup 5 Select the language 6 Select Quick Setup...
Page 101: ...UNIX 99 usr sbin lpadmin p PRINTER_lp m PRINTER_model usr sbin lpsched...
Page 110: ...UNIX 108 211 FTP directory status Ready 211 End of status ftp...