Home >Backend Development >PHP Tutorial >纠结,tcpdf专题系列有关问题,相信做完这个项目,想不掌握都难

纠结,tcpdf专题系列有关问题,相信做完这个项目,想不掌握都难

WBOY
WBOYOriginal
2016-06-13 10:11:30877browse

纠结,tcpdf专题系列问题,相信做完这个项目,想不掌握都难



顶部一条线怎么去掉???

$pdf = new TCPDF(PDF_PAGE_ORIENTATION, $unit='pt', PDF_PAGE_FORMAT, true, 'UTF-8', false);
$pdf->AddPage();
$pdf->Image('./images/invoice/oxford-summer-school-logo.gif', 40, 38,'' , '', 'GIF');
$pdf->SetXY(40,160);
$pdf->writeHTML("".$invoice_type_value."");
$pdf->Output('example_039.pdf', 'I');

------解决方案--------------------
加一句 
$pdf->setPrintHeader(false);


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn