Daemon bắt đầu lpsched hoặc khởi động lại dịch vụ in LP. Máy in được khởi động lại với một lệnh lpsched từ dòng lệnh, in lại, toàn bộ của họ, các yêu cầu in dừng lại bởi lệnh lpshut. Sau đây là một ví dụ bắt đầu daemon lpsched từ dòng lệnh: # svcadm cho phép ứng dụng / in / máy chủ | Starting and Stopping the LP Print Service Starting and Stopping the LP Print Service The LP print service is started by the Ipsched daemon and is shut down by the Ipshut command. Starting the LP Print Service The Ipsched daemon starts or restarts the LP print service. Printers that are restarted with a Ipsched command from the command line reprint in their entirety the print requests stopped by the Ipshut command. The following is an example of starting the Ipsched daemon from the command line svcadm enable application print server Stopping the LP Print Service When the command to disable the print service is invoked any printers that are currently printing stop printing. The Ip print service can be disabled. This method should be used to stop the print server service. svcadm disable print server svcs -a grep print disabled 19 12 16 svc application print server default online 16 59 49 svc application print cleanup default online 19 01 10 svc application print rfc1179 default offline 19 12 16 svc application print ipp-listener default Configuring and Using Printer Services 12-33 Copyright 2005 Sun Microsystems Inc. All Rights Reserved. Sun Services Revision Specifying a Destination Printer Specifying a Destination Printer In the Solaris OS users submit print requests by using the Ip command or the Ipr command. Note - The Solaris OS LP print service accepts both the SVID usr bin lp command and the BSD usr ucb lpr command to submit print requests. Using the Ip Command The Ip command is located in the usr bin directory. The Ip command submits a print job to the default printer or to another printer by specifying the printer name. Perform one of the following commands usr bin lp filename usr bin lp -d printername filename Using the lpr Command The lpr command is located in the usr ucb directory. The lpr command functions in the same manner as the lp command. It submits a print job to the default printer or to another printer. usr ucb lpr filename usr ucb lpr -P .