Man Pages (1MTSOL): Maintenance and Administration Commands
只搜尋這本書
以 PDF 格式下載這本書

NAME

lpsched, lpshut, lpmove - start/stop the LP print service and move requests

SYNOPSIS

/usr/lib/lp/lpsched
lpshut
lpmove requests dest
lpmove dest
           1
            dest

2

AVAILABILITY

SUNWlpu

DESCRIPTION

lpsched starts the LP print service.
If the -X option is specified, lpsched does not perform discretionary access control checks on print-queue-listing requests from lpstat and lpq. lpsched must inherit these privileges: file_chown, file_dac_read, file_dac_write, file_dac_search, file_mac_read,
file_mac_search, file_mac_write, file_owner, file_setdac, file_setid, net_downgrade_sl,
net_upgrade_il, net_setpriv, net_setid, proc_setclr, proc_setsl, proc_setid,
proc_audit_tcb, proc_nofloat, proc_owner, proc_mac_write, sys_trans_label.

lpshut shuts down the print service. All printers that are printing at the time lpshut is invoked will stop printing. When lpsched is started again, requests that were printing at the time a printer was shut down will be reprinted from the beginning.
lpshut requires the administer printing authorization.
lpmove moves requests that were queued by lp(1) between LP destinations. lpmove can only be used among local printers. lpmove requires the administer printing authorization.
The first form of the lpmove command moves the named requests to the LP destination dest. requests are request-ID sas returned by lp. If a request was originally queued for a class, or the special destination any, the destination of the request will be changed to dest. The request will be printable only on dest and not on other members of the class or other acceptable printers.
The second form of the lpmove command attempts to move all requests for destination dest1 to destination dest2; lp will then reject any new requests for dest1.
Note that when moving requests, lpmove never checks the acceptance status of the new destination (see accept(1MTSOL)). Also, the request-ID sof the moved request are not changed, so that users can still find their requests. The lpmove command will not move requests that have options (content type, form required, and so on) that cannot be handled by the new destination.

FILES

/var/spool/lp/*

SUMMARY OF TRUSTED

lpsched must be started from the Trusted Path. It must be started as lp or root and must inherit appropriate privileges. The -X option turns off discretionary access controls on print queue displays. lpshut and lpmove require the administer printing authorization.

SOLARIS CHANGES

SEE ALSO

enable(1TSOL), lp(1TSOL), lpstat(1TSOL), accept(1MTSOL), lpadmin(1MTSOL)
System Administration Guide, Volume II
Trusted Solaris Administrator's Procedures