Syntax:
set output {"<filename>"} show output
The filename must be enclosed in quotes. If the filename is omitted, any output file opened by a previous invocation of set output will be closed and new output will be sent to the standard output. MSDOS users should note that the \ character has special significance in double-quoted strings, so single-quotes should be used for filenames in different directories.
On machines with popen functions (Unix), output can be piped through a shell command if the first character of the filename is '|'. For instance,
set output "|lpr -Plaser filename" set output "|lp -dlaser filename"
On MSDOS machines, set output ``PRN'' will direct the output to the default printer. On VMS, output can be sent directly to any spooled device. It is also possible to send the output to DECnet transparent tasks, which allows some flexibility.