Progress
Language Tutorial
for Character
Directing Output to a Printer
To direct output to your default printer, use the OUTPUT TO statement with the PRINTER option. Remember to use the STREAM-IO option in your frame phrases. STREAM-IO removes all graphical characteristics of the widgets, leaving just the textual data.
You probably also want to use the PAGED option of the OUTPUT TO statement to create neat page breaks.
Try modifying
lt-10-09.p
to send the report to a printer, if you have one available. Alternately, add the PAGED option to the OUTPUT TO statement, run the report, and opentut-temp.txt
in the Procedure Editor.Notice that Progress redisplays the labels for the current frame after a page break.
To direct output to a printer other than the default printer, use the Printer (-o) startup parameter to designate a specified printer for the Progress session. For more information, see the reference entry for the Printer (-o) startup parameter in the Progress Startup Command and Parameter Reference .
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |