Yes, but not via PDF output but via SVG output. Using the API function fgl_report_configureSVGPreview() you can pop up the print dialog, print directly on the default printer or print silently to a printer selected by name.
From the documentation:
fgl_report_configureSVGPreview
Select SVG preview mode or other print options.
Syntax
fgl_report_configureSVGPreview(
preview STRING)
preview - One of the following:
The Preview option shows the report in a folder tab of the main preview window.
The ShowPrintDialog option pops up the system print dialog allowing the user to select and configure a printer. If confirmed, the document is printed in the background and the previewer main window is not shown.
The PrintOnDefaultPrinter option prints the report silently on the default printer. The previewer main window is not shown.
The PrintOnNamedPrinter option prints the report silently on the named printer. The previewer main window is not shown. In order to provide the name and other parameters, these functions have been added: fgl_report_setSVGCopies, fgl_report_setSVGPageRange, fgl_report_setSVGPaperSource, fgl_report_setSVGPrinterName, fgl_report_setSVGSheetCollate.
Usage
Function to select SVG preview mode or other print options
This function is applicable only for the device SVG when previewing is selected.
Regards,
Alex