fgl_report_configureSVGPreview

Select SVG preview mode or other print options.

Syntax

fgl_report_configureSVGPreview(
   preview STRING)
  1. 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. When PrintOnNamedPrinter is used, you can provide the printer name and set other parameters using these functions: fgl_report_setSVGCopies, fgl_report_setSVGPageRange, fgl_report_setSVGPaperSource, fgl_report_setSVGPrinterName, and 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.

See Usage.