Kbase P18206: How to use SYSTEM-DIALOG PRINTER-SETUP
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/14/2008 |
|
Status: Verified
GOAL:
How to use SYSTEM-DIALOG PRINTER-SETUP
GOAL:
How to invoke the printer dialog window to redirect output
FACT(s) (Environment):
Progress 8.x
Progress 9.x
OpenEdge 10.x
Windows
FIX:
Following sample will allow the user to select the printer using the printer dialog box, and print the names of all the customers in the customer table.
SYSTEM-DIALOG PRINTER-SETUP.
OUTPUT TO PRINTER.
FOR EACH customer:
DISPLAY NAME FORMAT "X(30)".
END.
OUTPUT CLOSE.