Replies: 1   Views: 2357
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


I'm using Version 7 and an advanced licence.

I find myself having the same issue as here :

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

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


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


Best regards

Posted by admin  · 23-08-2018 - 17:49


If you are getting a horizontal line when merging PDF documents the best solution is adding the line you have already added. That line prevents inserting that line;  we move the question to the dev team to consider adding the same method to the stable branch.