# spoolq statement

The spoolq statement enables or disables
the spooler entry number message.

## Syntax

```
spoolq [off|on|exp]
```

## Parameter(s)

| on | Enable the spooler entry number message. |
| --- | --- |
| off | Disables the spooler entry number message. |
| exp | In the exp form, the entry number printing is disabled when the expression evaluates to false and enabled when the expression evaluates to true. In an expression, 0 = spoolq off and nonzero = spoolq on. |

## Description

Note: The spoolq statement must exist before the first print to a print job for it
to take effect.

## See also

- [sp-assign command](https://d3codex.com/tcl/sp-assign-command/)
- [Statements and functions](https://d3codex.com/pickbasic-flashbasic/statements-and-functions/)

---
Source: https://d3codex.com/pickbasic-flashbasic/spoolq-statement/ - part of the D3Codex reference.
