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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -