Kbase P30276: How to use the system printer chooser dialog-box with Report
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  25/11/2003 |
|
Status: Unverified
GOAL:
How to use the system printer chooser dialog-box with Report Builder engine.
FACT(s) (Environment):
Windows
FACT(s) (Environment):
Progress 9.x
FIX:
Sample Syntax;
/*This spawns the microsoft Print Dialog Box which sets SESSION:PRINTER-NAME */
SYSTEM-DIALOG PRINTER-SETUP.
/*This runs the Report Builder Engine and sets the printer name*/
RUN aderb\_printrb(
"c:\progress91d\src\aderb\rbsample.prl", /* RB-REPORT-LIBRARY */
"Customer List", /* RB-REPORT-NAME */
"", /* RB-DB-CONNECTION */
"", /* RB-INCLUDE-RECORDS */
"", /* RB-FILTER */
"", /* RB-MEMO-FILE */
"?", /* RB-PRINT-DESTINATION */
SESSION:PRINTER-NAME, /* RB-PRINTER-NAME */
"", /* RB-PRINTER-PORT */
"", /* RB-OUTPUT-FILE */
0, /* RB-NUMBER-COPIES - zero */ 0, /* RB-BEGIN-PAGE - zero */
0, /* RB-END-PAGE - zero */
no, /* RB-TEST-PATTERN */
"", /* RB-WINDOW-TITLE */
yes, /* RB-DISPLAY-ERRORS */
yes, /* RB-DISPLAY-STATUS */
no, /* RB-NO-WAIT */
"").