launch a report on a configured printer

moneimNAVmoneimNAV Posts: 21Member
Hello,
I want to print on a printer set in a specific table (no default printer)
example: if Sales Header.region = A then print report to printer 1
if Sales Header.region = B then print report to printer 2
........
For information : UserequestPage = FALSE

how can i do that with the code ?

Answers

  • moneimNAVmoneimNAV Posts: 21Member
    Using Report.PRINT('',PrinterPath) can resolve my problem
    I never used this function
  • moneimNAVmoneimNAV Posts: 21Member
    Hi,
    I have this code :

    ServiceReportG.IsFromProcess(FromProcess);
    ServiceReportG.SETTABLEVIEW(RServiceHeader);
    ServiceReportG.USEREQUESTPAGE(FALSE);
    ServiceReportG.RUN;

    But my report do not take the printer in table 78 - "Printer Selection"
    and I can't take parameter [, SystemPrinter] = false in ServiceReportG.RUN

    Any idea ?

    thank you in advance
Sign In or Register to comment.