I have a custom report that was based on the “modern” report. But I’ve also looked at the base out of the box modern report, and also tested with the new “agency” reports as well.
The problem is, all the PDFs don’t come out as 8.5x11 or even fitting within that. They come out at exactly 8.2678x11.6929 inches. So that fits the width, but it’s not even close on the height.
This means if I try to print the PDF, it won’t fit the printer margins and we have to zoom it to fit. In this icase, we zoom out to 91.2% to make it fit the page. This allows the height to work, but now the width is much less than it can be on the printer. Since it was 8.2678 to start with, zooming out just makes it even skinnier.
I can’t find a reason for the wrong sizing just by looking at the template, CSS etc. I can see that margins and paddings are being set in pixels, if that matters?
I can’t be sure if this is an issue in Pro Reports itself in the PDF generator settings, or if it’s a problem in CSS and HTML/PHP in the templates. Since it’s the exact same across all the default templates and my custom one, I’m thinking it has to be in the plugin itself.
Can this be adjusted so the document comes out as proper 8.5x11 with appropriate margins? Or is there some reason the PDF is sized wrong on purpose?