SRSReportRun::renderReportToPrinter Method [AX 2012]

Renders the report and sends it to the printer.

client private static boolean renderReportToPrinter(
    str reportPath, 
    Map reportParameters, 
    SRSPrintDestinationSettings printDestinationSettings, 
    int numberOfCopies)

Run On

Client

Parameters

reportPath
Type: str
The Reporting Services path of the report.
reportParameters
Type: Map Class
A Map object that contains the report parameters.
printDestinationSettings
Type: SRSPrintDestinationSettings Class
The SRSPrintDestinationSettings object that contains information about how to print the report.
numberOfCopies
Type: int
The number of copies of the report to be printed.

Return Value

Type: boolean
true if this method is completed successfully; otherwise, false.
Show: