Try OpenEdge Now
skip to main content
Programming Interfaces
Input/Output Processes : Alternate I/O Sources : Changing the output destination : Output to printers
 
Output to printers
The following figure shows the output stream being redirected to a printer using the PRINTER option of the OUTPUT TO statement.
Figure 24. 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 Stream I/O vs. screen I/O for more information.