0

I'm getting a blank page when saving the PDF in Chrome, but it works perfectly during the preview. PDF also works perfectly when saving and previewing in Firefox. How would I solve this issue? I've been researching this one, I saw that it's because of GZIP compression, but i'm not sure how to turn that off. Can someone guide me how to combat this battle!

Your help would be greatly appreciated and rewarded!

Thanks! :)

PinoyStackOverflower
  • 5,214
  • 18
  • 63
  • 126

2 Answers2

2

$pdf->Output('filename.pdf', 'D');

Fixed the problem for me, THANKS a lot.

Anders
  • 91
  • 1
  • 5
0

I had the same irritating problem. A work around is to output the pdf directly to a file using

$pdf->Output('filename.pdf', 'D');

You won't get the preview in the browser, but the saved file will have all the data.

The problem is that when the PDF is saved from the browser preview, the POST data is not sent again.

gene
  • 1