Page 1 of 1

PDF Creation In Portrait and Landscape Page Formats

Posted: Tue Nov 17, 2009 1:03 am
by rajsekar2u
Hi,

I'd created a page which creates a PDF with multiple pages.

The problem am facing is I’ve to create first 3 pages in Portrait page format and the 4th page in Landscape format.

Am using HTML2PDF Library to create PDF.

Code: Select all

$pdf = new HTML2FPDF('P', 'mm', 'A4');
Is the code am using to set the page format.

Please help me in this problem. I need to finish it soon.