COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: asmfloyd on 12 Nov 2021 04:40:53 PM

Title: Removing extra space (above header) in pdf report
Post by: asmfloyd on 12 Nov 2021 04:40:53 PM
Hi all,
  When I am printing a pdf report as a landscape, the report (having header and footer) is printing at the center of the page. But above header and below footer there is lot of blank space (when I print) How can we remove this so that that space can be utilized for data?
I tried keeping margin for top and bottom of page as 0. But no luck.

Thanks,
Title: Re: Removing extra space (above header) in pdf report
Post by: asmfloyd on 13 Nov 2021 09:17:51 PM
I was able to get it fixed as follows based on the below link

https://www.cognoise.com/index.php?topic=26783.0

"I was able to do this by going into PDF Page Setup, choosing Paper Size - Custom and setting very high values for Width & Height which still respected the desired height to width ratio. I ended up using W: 33cm H: 47,5cm giving a ratio of 1,44. Getting there took a bit of trial and error, but basically the higher your values the more you can fit into a single page."