tcl.shp-kill
Kill a shared printer.
Syntax
shp-kill number
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.
Example
shp-kill 0
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
