wwPDF::PrintReport

This method prints a report to a PDF file. It sets the printer driver to the PDFWriter software, writes out the temporary files that the PDF software generates and renames these files to the one you specify. In other words, it abstracts the entire process of generating the output file.

o.PrintReport(lcReport, lcOutputFile, lcExtraReportClauses)

Return Value

.T. or .F.

Parameters

lcReport
Name of the Report file to execute. You can leave off the .FRX extension if you like.

lcOutputFile
The name of the output file that you want to generate the PDF to.

lcExtraReportClauses
Optional - Any extra REPORT FORM clauses that you want to run on the report. This includes WHEN and FOR clauses etc.

The report runs TO PRINT so if you specify other options like PREVIEW or PROMPT those are going to occur in addition to the print operation.


See also:

Class wwPDF | wwPDF::PrintReportToString

© West Wind Technologies, 2023 • Updated: 02/01/17
Comment or report problem with topic