REPORT TO PRINTER
settings (DBPRINT=FGLSERVER
)
Printer and font settings can be overridden with two new 'standard' frontcalls.
When using DBPRINT=FGLSERVER
and REPORT
TO PRINTER
, text reports are printed via GDC. Printer and
fonts can be configured using the Option panel.
GDC 2.30 allows you to override these options for the current application.
Two new "standard" frontcalls are available:
CALL ui.interface.frontCall("standard","setreportfont",
["Helvetica, Bold, Italic, 13"],[status])
CALL ui.interface.frontCall("standard","setreportprinter",
["moliere, Portrait, A4, 96 dpi, 1 copy, Ascendent, Color,
Auto"],[status])
Note:
- The values for Font and Printer are the same as the ones used
in the Option panel. Simple values work (ex: "Helvetica, 18" / "Moliere"),
however if you want to customize the font or the printer completely,
the easiest way is to configure it with the GDC option panel and copy/paste
the result. You can alternatively use
"<ASK_ONCE>"
,"<ASK_ALWAYS>"
,"<USER_DEFINED>"
or"<USE_DEFAULT>"
as "printer" of "font" string to enforce the corresponding action. DBPRINT=FGLSERVER
is limited and no further improvements are planned. We recommend using Genero Report Writer for your reporting needs.