OUT* int-exp {on} {off}
OUTL# int-exp {on} {off}

The OUT# command will redirect all output, that normally goes to the screen, to the specified device. There are three variations to the command.

OUT# int-exp
This device is selected as the only output device.

OUT# int-exp ON
This device is selected as an output device, but all other output devices remain unaffected.

OUT# int-exp OFF
The device specified by int-exp is deselected. The status of all other output devices remains unaffected.

The OUTL# command sends all LPRINT,LLIST streams to the selected device. The on,off variations on the OUT# command also apply to the OUTL# command.

Output Device Numbers.

0 Screen output device (default)
1 Parallel Port (Commonly a printer)
2 300 Baud Cassette output.
3 1200 Baud Cassette output.
4 300 Baud RS232 Serial Output
5 1200 Baud RS232 Serial Output

A WARM BOOT will reset the output device to the screen. The only command (other than an OUTL# command) that can change the OUTL# selection is a COLD BOOT, where the OUTL device is set as being RS232 at 1200 Baud (i.e., device 5) - device 1 for a PC85.

See also IN#, IN, OUT.