Open ranguli opened 5 years ago
Partial problems are found with https://github.com/loftylabs/django-hardcopy , since it does not seem to permit us to mess around with the chrome print settings very easily.
Other CSS issues can be fixed, most of this was due to trying to match the style of the original document, now I can change it to be more print friendly.
Although this is low priority, the second page is now entirely empty save for the footer print information. if this can be hidden with CSS it should compress the report to one page.
I'm noticing that (at least on my end) most PDF reports end up running over onto a second page, but only by a few lines. For lengthy reports this is unavoidable, but most of them can certainly be fit into a single page. The two logos can definitely be made much smaller.
As well, we can save some space by bringing the chart up closer to the header text seen below. If the chart is hard to work with because it's javascript, we should be able to reduce the padding/margin around the header text.
We can also largely reduce the size of the side margins, as increasing the line limit of the text will reduce the amount of vertical spaze those elements occupy.