I use FPDF for PDF generation in my project. I want to generate A4 size page and I use following line.
$fpdf = new PDF('P','mm',array(595.28,841.89));
$fpdf->AddPage('P', 'A4');
I generate the PDF using this code and I got print out. Then I realize that the page size is not fit for the A4.
Can somebody help me on this regard?