Hi
Is there a way to get a better Getprinter() interface ?
In the beginning of a batch reporting function, I need to allow the users to change printers and printer tray etc once only for a whole report run of different reports. When finished I can set SET PRINTER TO DEFAULT to get it back to normal. What I want is the dialog interface that the PROMPT clause produces, but get those settings to apply for multiple subsequent reports. Issuing a SYS(1037) after a SET PRINTER TO NAME GETPRINTER() is not appropriate as many clients just want to change printers, not trays.
Cheers
Andy from New Zealand
Is there a way to get a better Getprinter() interface ?
In the beginning of a batch reporting function, I need to allow the users to change printers and printer tray etc once only for a whole report run of different reports. When finished I can set SET PRINTER TO DEFAULT to get it back to normal. What I want is the dialog interface that the PROMPT clause produces, but get those settings to apply for multiple subsequent reports. Issuing a SYS(1037) after a SET PRINTER TO NAME GETPRINTER() is not appropriate as many clients just want to change printers, not trays.
Cheers
Andy from New Zealand