Forum


Replies: 1   Views: 2531
Horizontal line at bottom of merged pdf
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by AurelienC  · 23-08-2018 - 13:32

Hello,

I'm using Version 7 and an advanced licence.

I find myself having the same issue as here : https://www.phpdocx.com/en/forum/default/topic/927

An horizontal line appear at the bottom of the page if it's a merged PDF. Not in a merged DOCX however.
In MultiMerge.inc, I already had $pdf->setPrintHeader(false); as explained in the post above but still the issue is here.

So in /phpdocx/Classes/Phpdocx/Utilities/MultiMerge.inc I added the following :

$pdf->setPrintHeader(false);
$pdf->setPrintFooter(false);

It seems to work but do you have a better solution ?

Thanks

Best regards