HP Distributed Print Service Administration Guide
294 Chapter9
Managing Spoolers, Queues, and Logical Printers
Shutting Down and Restarting the Spooler
Also, the now option for the -w flag works the same as after-current.
The following command also has the same results:
pdshutdown -w now Spool1
The system shutdown process will do the equivalent of a pdshutdown
-w now for any HPDPS server or client daemon on the system. No special
set-up or processing is necessary for HPDPS servers to shut down
properly during system shutdown.
The after-current and now options work differently for HPDPS
supervisors. See “Shutting Down the Supervisor Immediately” in
Chapter 10 for further information.
Shutting Down the Spooler after All Jobs Have
Printed
Use -w after-all with the pdshutdown command to shut down the
spooler after all of the jobs in the queues contained in the spooler have
been scheduled to physical printers and printed. Using the after-all
option provides you with more control of the jobs when you shut down
the spooler.
Use the following command to shut down the spooler Spool1 after all
jobs have printed. The command also includes a message describing the
reason for shutting down the spooler.
pdshutdown -m "Shutting down spooler Spool1 for \
host maintenance." -w after-all Spool1
The value of the non-settable server-state spooler attribute changes to
terminating and all of the pending jobs in the queues contained in the
spooler are scheduled and sent to physical printers. The logical printers
contained in the spooler no longer accept jobs, but the spooler continues
to accept commands.
NOTE If there are any held or paused jobs in any of the queues, the spooler will
not shut down until you take the appropriate actions to print these jobs.
See “Deleting a Queue that Contains Held or Paused Jobs” previously.