# '\*C' Automatic Output on CLOSE

> Source: https://manual.pvxplus.com/mnemonics/tilde-c

**Definition**

## Format

MNEMONIC (*chan*)'\*C'=*data$*

## Description

**'\*C'** (*asterisk C*) contains a string expression that will be automatically sent to the file/device when a **CLOSE** is executed.

Note:  
For \*WINPRT\* devices, because the Windows spooler automatically resets the printer when closed, the '\*C' mnemonic is ignored.

For additional information regarding the use of special mnemonics (i.e. **'@@'**, **'\*C'**, **'\*I'**, **'\*O'**, **'\*R'**, **'\*X'**, **'AT'**, **'GD'**, **'WX'**) when creating a device driver, see **[Dynamic Information in Mnemonics](https://manual.pvxplus.com/mnemonics/dynamic-information-in-mnemonics)** or **[Device Drivers](https://manual.pvxplus.com/pxplus-user-guide/appendix-of-miscellaneous-topics/device-drivers/overview)**.
