When using Sensor List Report Template, It is likely that there are page breaks in some of the sensor cells when exporting PDF. Is it possible to limit the <@loop> iteration to, for example, 6 sensor entries and then get a page break when printing to PDF? or any html elements we could use to the PDF engine PRTG using so that we could get a page break?
Article Comments
Dear Support,
Thanks for your answer, but this variable would break the PDF, not a page break. We would like to have 1 PDF file, but limit the sensor number on each page to show, like 5 sensors from the sensorlist template on each page.
It would be quite tedious for our staff to download all parts of a template and then use third party software to combine the PDF files. Therefore we are looking into any customization in the template.
Apr, 2015 - Permalink
I used the below command and its working for me:
<table style="page-break-before: always; page-break-after: always;"> <tr style="page-break-inside: avoid;"> .. </tr> </table>
Jan, 2016 - Permalink
Hi Eric,
You can customize the reports. Navigate to the PRTG installation directory which is
by default. Open the report of interest with an editor of your choice and change the number in the second line
This is the maximal number of sensors which will force a page break. You might also want to create a custom report to avoid an overwrite due to an update. Please have a look here for a detailed guide.
Best regards
Apr, 2015 - Permalink