{{tag>category:"OpenInsight 64-bit" author:"Jeff Miller" author:"D Harmacek"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== OIPI Header and Footer Font (OpenInsight 64-bit) ====
=== At 07 MAR 2022 11:38:14AM Jeff Miller wrote: ===
I am in Version 9.4.4. I have searched through the setup to see where the default font for both header and footer are located. I am using OIPI to print reports and the font on the first page of the report is larger than the other pages. Not a good look for the report.
I am also using the --> stat = Set_Printer("FONTHEADFOOT", Headerfont, Footerfont) call to fix the font problem. However I have to go into all the reports and put this command. (There are around 200 to 300 reports.)
My question is: Can I set the default font without the "FONTHEADFOOT" call. Or can you think of a way to make a universal (Promoted routine) call so I don't have to go into all the reports.
Thanks,
Jeff Miller
Miller's Software Services
----
=== At 07 MAR 2022 01:32PM D Harmacek wrote: ===
In my oipi I place the set_printer "FONTHEADFOOT" statement immediately after my set_printer "INIT".
You could write a program to read your source code, after the "INIT" place a new line with the standard "FONTHEADFOOT" statement. Then compile them all.
Dave Harmacek - Harmacek Database Systems - near Boston, MA USA
----
=== At 07 MAR 2022 02:13PM Jeff Miller wrote: ===
I will have to think about that. I don't feel real comfortable with a global insert of this line.
I was hoping for a place to set the default font for the header and footer. Some parameter in OI that the font is stored.
Jeff Miller
Miller's Software Services
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=91054C3F8779D6419EE6BA48AC762009|View this thread on the Works forum...]]