_outsel.pub Utility - Output Selection
Syntax
call "_outsel.pub",device_name,channel,width,row,status
Description
The _outsel.pub utility selects the output device. The possible selections are:
Output Device |
Description |
Printer |
The output channel is opened to a print device. |
Terminal |
The output channel is opened to the screen. |
File |
The output channel is opened to the file specified. |
Upon exit, the device is opened, the channel is opened, and the output width, the name of the device, and the status are returned. If no device is selected or there is a problem, the device_name is a null string. If a printer is selected and no printer is defined, the prompt for the correct output device will again be displayed.
Related Files/Programs
_path.pub
_prntsel.pub
_stdinp.pub