PHP TCPDF How to remove Top and bottom black line

How to remove Top and bottom black line ?

For remove the unwanted top and bottom black line on your generated pdf when using the TCPDF library, use this instructions :

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

This article may contains affiliates link.

Leave a Comment