How will I select a printer for my report using report build

Posted by Admin on 24-Jan-2008 20:07

All Replies

Posted by rstanciu on 13-Mar-2008 09:18

This is an example, the RB-PRINTER-NAME can be changed at the runtime.

RUN aderb\_prntrb2(

"rb\adhesion.prl", /* RB-REPORT-LIBRARY */

"ListeCollBloq2", /* RB-REPORT-NAME */

connex, /* RB-DB-CONNECTION */

"O", /* RB-INCLUDE-RECORDS */

filtre,

"", /* RB-MEMO-FILE */

"", /* RB-PRINT-DESTINATION */

cnas_impri.nom_complet_impri, /* 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 */

no, /* RB-DISPLAY-ERRORS */

no, /* RB-DISPLAY-STATUS */

yes, /* RB-NO-WAIT */

"", /* RB-OTHER-PARAMETERS */

journal).

This thread is closed