# sp-close command

The sp-close command closes all current
spooler entries previously opened by the current line with an sp-open command or an o option in conjunction
with an sp-assign command.

Warning: Entries are automatically closed if
a logto, to, off, or sp-assign (without an r option)
is issued.

## Syntax

```
sp-close
```
When an sp-open is in effect, it is
necessary to do an sp-close to complete output
of the job. This is especially noticeable when spooling directly to
UNIX or to tape.

## Example(s)

```
sp-close

[1140] your open files were closed.
```

## See also

- [listpeqs command](https://d3codex.com/tcl/listpeqs-command/)
- [Options (Spooler)](https://d3codex.com/tcl/options-spooler/)
- [sp-assign command](https://d3codex.com/tcl/sp-assign-command/)
- [sp-open command](https://d3codex.com/tcl/sp-open-command/)

---
Source: https://d3codex.com/tcl/sp-close-command/ - part of the D3Codex reference.
