# Mnemonics

'*C' | Automatic Output on CLOSE

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 or Device Drivers.