_prntsel.utl Utility - Select Printer
Syntax
call "_prntsel.utl",printer_device${,device_name$}
Description
The _prntsel.utl utility provides a standardized routine for selecting and opening a printer and is called from _outdev.utl when the user selects Printer.
Parameter |
Description |
printer_device$ |
Returned as the PRO/5 device or STRING file that was selected. |
device_name$ |
Returned as the description in config.bbx. |
Example
The following allows the user to select one of the printers listed in the config.bbx file. If only one printer is listed in config.bbx, it is automatically returned in printer_device$ without prompting the user.
CALL BBEXT$+"_prntsel.utl",DEVICE$