【发布时间】:2013-03-24 16:14:33
【问题描述】:
我在 php 中使用 TCPDF 创建 pdf,我需要将我的数据包含在没有底部边距的 pdf 中,数据将包含在页面末尾。
$pdf->SetLeftMargin(14);
$pdf->SetTopMargin(6);
$pdf->SetFont($fontname, '', '9');
$pdf->setPrintHeader(false);
$pdf->SetFooterMargin(0);
$pdf->setPrintFooter(false);
$pdf->AddPage();
$pdf->writeHTML($html, true, 0, true, 0);
我正在使用上面的代码。有人知道如何使用 tcpdf 从 pdf 中删除边距空间吗?
【问题讨论】:
-
可能附加您收到的输出