Output as PDF (PHP)

Set up and configure output to PDF from your reporting application. This option is useful if you want to archive or mail a document.

To output your report as a PDF file, use the selectDevice() function:

$greRunnerObj->selectDevice("PDF");
$greRunnerObj->selectPreview(FALSE);

For the full list of properties and methods, refer to the Genero Report Writer PHP API documentation.