PDF Creation In Portrait and Landscape Page Formats

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rajsekar2u
Forum Commoner
Posts: 71
Joined: Thu Nov 20, 2008 4:23 am

PDF Creation In Portrait and Landscape Page Formats

Post 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.
Post Reply