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

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

WBOY
Release: 2016-06-13 10:11:30
Original
882 people have browsed it

纠结,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);


Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template