Printing from UNIX: Configuring the Operating System • 187
5. Register the network card as a remote printer server.
Example
For host name PRINTER
a. Stop the print scheduler.
# usr/sbin/lpshut
b. Create the printer queue.
# /usr/sbin/lpadmin -p PRINTER_lp -v /dev/null \
m
netstandard -o dest=PRINTER:lp
-o protocol=bsd
c. Set the queue to accept PostScript print jobs.
# /usr/sbin/lpadmin -p PRINTER_lp -I postscript
d. Start the print scheduler.
# /usr/sbin/lpsched
e. Activate the print queue.
# /usr/sbin/accept PRINTER_lp
f. Enable the print queue
# /bin/enable PRINTER_lp
NOTE
To customize output, e.g. to add additional commands at the
start of each print job, you can edit a copy of the netstandard
model file then add it using the lpadmin command.
Example
For printer PRINTER_lp, with model file called
PRINTER0_model
# /usr/sbin/lpshut
# /usr/sbin/lpadmin –p
PRINTER_lp –m
PRINTER_model
# /usr/sbin/lpsched