Modifying the output / Change report output options |
CALL fgl_report_selectDevice("Printer")
CALL fgl_report_setPageMargins (topMargin String, bottomMargin String, leftMargin String, rightMargin String) CALL fgl_report_setPageMargins (".05cm",".05cm",i".05cm",".05cm")
CALL fgl_report_setPrinterPrintQuality("high")
Print Double-sided - the function fgl_report_setPrinterSides is used to specify whether the report pages should be one-sided or two-sided. By default this is not set. Setting this option reduces the set of usable printers to those matching it.
One of these values are passed to the function as a parameter. The value is passed as a String:
CALL fgl_report_setPrinterSides("two-sided-long-edge")
One of these values are passed to the function as a parameter: bottom|envelope|large-capacity|main|manual|middle|side|top. The value is passed as a String.
CALL fgl_report_setPrinterMediaTray("top")