Progress
Programming
Handbook


Output to Printers

Figure 7–2 shows the output stream being redirected to a printer using the PRINTER option of the OUTPUT TO statement.

p-iop2.p

Figure 7–2: Redirecting the Unnamed Output Stream

If you run the procedure, you do not see anything displayed on your terminal because all the output from the DISPLAY statement goes to the printer. The STREAM–IO Frame phrase option formats the output especially for character-based destinations. See the section "Stream I/O vs. Screen I/O" for more information.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095