shp-kill

shp-kill


shl Index Level shp-status
Syntax shp-kill number
Category TCL
Type Verb
Description terminates a Pick printer shared with Unix and all the associated processes.

"number" is the Pick printer number, as specified in the TCL 'startshp' command.

This command executes the TCL command 'sp-kill D  number  '.

This command relies on the existence of the log files created in "/tmp/lppick" by the 'startshp' command. It will:

- Do a regular 'sp-kill' of the Pick printer process,

- Send SIGTERM to the underlying Pick process, waiting up to 5 seconds before sending a SIGKILL.

- Make sure the associated 'lppick' filter process is terminated. If it is not the case, a SIGTERM followed by a SIGKILL will be sent to this process.
Options
See Also shp-status startshp lppick sp-kill
Example shp-kill 0
Warnings This command can be used only with shared printers started by the 'startshp' command.
Compatibility D3/Unix
shl Index Level shp-status