tcl.shp-kill

Verb: Access/TCL, Releases: AP/Unix

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

Command Name Type Description
tcl.shp-status Verb: Access Display shared printer status.
tcl.startshp Verb: Access Starts shared printer under Unix.
unix.lppick Verb: TCL2 Shared printer filter.
tcl.sp-kill Verb: Access Stops Spooler entry output.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.