Академический Документы
Профессиональный Документы
Культура Документы
The following example shows how to display the status of the printer luna.
$ lpstat -p luna
printer luna is idle. enabled since Jul 12 11:17 2001. available.
The following example shows how to display the description of the printers asteroid and luna.
The following example shows how to display the characteristics of the printer luna.
$ lpstat -p luna -l
printer luna is idle. enabled since Thu Jul 12 15:02:32 PM PDT
Form mounted:
Content types: postscript
Printer types: PS
Description:
Connection: direct
Interface: /usr/lib/lp/model/standard
PPD: none
(none)
# svcs application/print/server
You can also use the lpstat -r command to determine if the print scheduler is running.
If the print scheduler is not running, the message scheduler is not running is
displayed.
3. If the print scheduler is running, stop it.
You can also use the lpshut command to stop the print scheduler.
# svcs application/print/server
You can also use the lpstat -r command to determine if the print scheduler is running.
If the print scheduler is not running, the message scheduler is not running is
displayed.
3. If the print scheduler is not running, start it.
You can also use the /usr/lib/lpsched command to start the print scheduler. For more
information about the difference between starting the print scheduler by using the
/usr/lib/lpsched command or by using the svcadm enable
application/print server command, see Starting the Print Scheduler With Options.
# enable printer-name
# lpstat -p printer-name
The following example shows how to stop the current job on the printer luna, save the job to print
later, and provide a reason why the printer has stopped printing print requests.
The following example shows how to start printing print requests on the printer luna.
# enable luna
printer "luna" enabled