After finishing the developments, I set the isPreview flag to false. However that caused the layout to break. As previously it worked well, now that I get an actual pdf output, I get white-space at the bottom of the PDF. however this is not present when IsPreview is set to true.
Regardless of which browser revision or type is used the outputted pdf will not match the preview.Below I have attached the working version I get presented in the browser, and also the actual output of the pdf.