The following figure shows the output stream being redirected to a printer using the PRINTER option of the OUTPUT TO statement.

Figure 1. 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.