php - TCPDF landscape custom page size issue -
when try generate landscape page custom size tcpdf, page not fit asked @ all.
try :
require('tcpdf.php'); $pdf = new tcpdf('l', 'mm', array(210,97), true, 'utf-8', false); $pdf->setprintheader(false); $pdf->setprintfooter(false); $pdf->setfont('helvetica', '', 10); $pdf->addpage('l', array(210,97)); $pdf->text(0, 72, 'test'); $pdf->text(0, 73, 'test'); $pdf->output('test.pdf', 'i');
tcpdf add new page, shouldn't. it's same images. page doesn't seem 210mm large.
is me or tcpdf bug ? how solve ?
thank ! nils
Comments
Post a Comment