# cp command

The cp BASIC program copies the specified
items to the printer via the spooler.

## Syntax

```
cp file.reference itemlist*{(options}
```

## Parameter(s)

| options | n | Integer number that specifies the number of items to copy. This is typically used for copying data for test files. |
| --- | --- | --- |
| a | Activates assembly mlist format. | |
| f | Outputs a form feed between each item. | |
| s | Suppresses display of line numbers. | |
| x | Outputs in hexadecimal. | |

## Example(s)

```
cp dm,bp, term-type
```

## See also

- [copy command](https://d3codex.com/tcl/copy-command/)

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