Print Commands
Print commands are used to start, stop, and configure the LP Print Service and submit files to be printed.
Stopping and Starting the LP Print Service
The lpsched(1M) command is used to start the LP Print Service, whereas the lpshut(1M) command is used to stop the service. Both of these commands are symbolically linked to the /usr/lib directory. An alternative method is to use the /etc/init.d/lp run control (rc) script, which calls the lpsched and lpshut commands. The following listing shows using both methods for stopping and starting the LP Print Service:
# /usr/lib/lpshut Print services stopped. # /etc/init.d/lp start Print services started. # /etc/init.d/lp stop Print services stopped. # /usr/lib/lpsched Print services started. ...
Get Solaris™ 9 System Administrator Exam Cram™ 2 (Exams 310-014 and 310-015) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.