Create a PDF report

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

Use fgl_report_selectDevice("PDF") to output the data in PDF format. Configure the output using fgl_report_configurePDFDevice.

The following functions provide more PDF options:

Example

#Set font directory 
IF fgl_report_loadCurrentSettings(reportname) THEN
    CALL fgl_report_configurePDFDevice("C:\Fonts\ForPDF",NULL,NULL,NULL,NULL,NULL) 
    CALL fgl_report_selectDevice("PDF")
    LET HANDLER = fgl_report_commitCurrentSettings()
ELSE
    EXIT PROGRAM
END IF