# listabs command

The listabs command displays the current
spooler assignment parameters for each process on the system.

## Syntax

```
listabs {port.number{-port.number}} {options}
```

## Parameter(s)

| options | n | Affects output to the terminal only, preventing output from pausing at the end of each (terminal) page of output. |
| --- | --- | --- |
| p | Directs output to the system printer, via the spooler. | |
If the port number, or the range of port numbers is specified,
the report is limited to the given ports.

## Example(s)

listabs directs
the output to the spooler:

```
listabs (p
Directs output to the spooler.
listabs 5
5 p 1 11 hp-lzrii
listabs 3-12
Line# Status Copies Form# Device
3 p 1 3 hp-lzrii
4 p 1 0 dp.lzr
5 p 1 11 hp-lzrii
6 hs 1 11 hp-lzrii
7 p 1 11 hp-lzrii
8 p 1 0 dp.lzr
9 p 1 7 hp-lzrii
```
where

| line# | Port number of each process. |
| --- | --- |
| status | Current output options. |
| copies | Current number of copies. |
| form# | Current form queue. |
| device | Printer device name attached to the form queue. |

## See also

- [devices file](https://d3codex.com/systemfiles/devices-file/)
- [Options (TCL)](https://d3codex.com/tcl/options-tcl/)
- [Port number](https://d3codex.com/definitions/port-number/)
- [wheres command](https://d3codex.com/tcl/wheres-command/)
- [who command](https://d3codex.com/tcl/who-command/)

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