It’s the same with the standard or my custom print format. With the custom, the header is ok but the rest, everything that is built with the print format builder is wrong.
When I try to print directly (not generating a pdf), my custom header is only 50% ok (the horizontal line (made with <div style="background-color: #aaaaaa; height: 5px;"></div>) is not printed.
I partly fixed the problem by setting the Print Style to Modern (works with the others too). Now I have a normal print and pdf when I choose the standard print format but I still don’t get the horizontal line printed on the PDF with my custom print format.
Maybe there is something wrong in my code but the preview is ok…
Another issue: I cannot get the custom print format to be the one by default. I selected “yes” in the Standard properties of my custom format but it is still not the one by default.