Reports printed using GDC Shortcut in different GDC

Started by Wee Ting C., April 24, 2018, 11:44:59 AM

Previous topic - Next topic

Wee Ting C.

Hi,

I have an inquiry pertaining report generated from "START REPORT r_prtdet TO PRINTER". The font is different when we use GDC version 2 compare with GDC version 3.

Any setting can be done so that the font is same?

Thank you.

Regards,
Cheong

Reuben B.

These two pages might help

This shows where the individual may configure via the GDC config ...
http://4js.com/online_documentation/fjs-gdc-manual-html/#gdc-topics/c_gdc_Starting_report_config_panel.html

This is how you can override that setting programmatically ...
http://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_frontcall_standard_setreportfont.html

I suspect you want to end up calling the front-call as part of your program initialisation if you want to override the system default

Reuben
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero

Wee Ting C.

Hi Reuben,

I manage to add the ui.Interface.frontcall("standard","setReportFont",["Arial,12"],[result]) in my 4GL.

May I know how to add "<ASK_ONCE>" , "<ASK_ALWAYS>" , "<USER_DEFINED>" or "<USE_DEFAULT>"?

Thank you.

Regards,
Cheong

Reuben B.

Quote from: Wee Ting C. on April 28, 2018, 08:50:12 AM
Hi Reuben,

I manage to add the ui.Interface.frontcall("standard","setReportFont",["Arial,12"],[result]) in my 4GL.

May I know how to add "<ASK_ONCE>" , "<ASK_ALWAYS>" , "<USER_DEFINED>" or "<USE_DEFAULT>"?

Thank you.

Regards,
Cheong


Did you figure this out?

ui.Interface.frontcall("standard","setReportFont",["<ASK_ONCE>"],[result]) etc

is my interpretation of the documentation.  I am not sure what other interpretation there could be.  If that did not work then I would expect you to raise this through your reseller who would in turn contact local support office.

Reuben
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero