launch a report on a configured printer

moneimNAVmoneimNAV Member Posts: 29
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 Member Posts: 29
    Using Report.PRINT('',PrinterPath) can resolve my problem
    I never used this function
  • moneimNAVmoneimNAV Member Posts: 29
    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.