FrDeamon / EnseparHtml2pdfBundle

Html2pdf for Symfony 2 as a service.
MIT License
22 stars 22 forks source link

Blank page at the end #14

Closed adyballa closed 10 years ago

adyballa commented 10 years ago

Hello,

All generated PDFs have a blank page at the end. I assume the height-calculation isnt right. I've set the page-attributes back<left|right|...>. Even if I just print "test", I need a second blank page to print. I use landscape and width 505pt and height 200pt.

adios adyballa

OwlyCode commented 10 years ago

Hello,

I'm afraid it might be a bug in html2pdf 4.03. I'm not aware of any newer version that solves this. There might be a workaround out there. This thread might help : http://www.yaronet.com/en/posts.php?s=137449

adyballa commented 10 years ago

okay I see, I will investigate since I reduced the page to a single word. Thanks adyballa

OwlyCode commented 10 years ago

Let me know if you find where it comes from ;-)

adyballa commented 10 years ago

I will - til now we have this extra page. I personally dont like the fix from http://www.yaronet.com/en/posts.php?s=137449 not very much