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

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

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/91054c3f8779d6419ee6ba48ac762009.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1