Jump to content

PDF invoice error, position problem


Recommended Posts

Hello,

 

I have a problem with my pdf invoice. If I have a long invoice, 2 pages or more, Adobe reader says it contains an error. The second page is empty and it only displays the footer of the first page in the middle of the page.

I used this guide to modify my invoice: http://www.prestashop.com/forums/topic/213664-guide-modifying-prestashop-15-invoice-template/

With the default invoice pdf I have the same problem.

I followed this topic: http://forge.prestashop.com/browse/PSCFV-11536

They said to remove line 187 of the PDFGenerator.php:

$this->SetAutoPageBreak(true, PDF_MARGIN_BOTTOM);

but it didn’t work.

 

Does anyone know how I can fix this?

 

I’m using prestashop version 1.5.4.1

 

Thanks!

post-640047-0-52734900-1395590861_thumb.jpg

Link to comment
Share on other sites

It is a known bug. I don't know how to fix it directly in PrestaShop (maybe a new version is better than yours) but the M4 PDF Extensions' module templates don't have this problem.

 

thanks for your reaction, but 99 euros is a little bit to much for me.

is there anybody that has another solution for this problem?

 

thanks in advance!

Link to comment
Share on other sites

  • 3 years later...
×
×
  • Create New...