I can't seem to find any FPDF forums, or internet posts addressing my problem. I am hoping one of the php gurus can help.
I'm scratching the surface of FPDF and encountered a perplexing problem. If I set the PDF's page up for an 8-1/2 by 11 sheet:
$pdf = new FPDF('P', 'in', 'letter');
and I draw, for example, a rectangle that is 8 wide by 10.5 inches tall I end up with a PDF that prints a rectangle that .25 from the left margin and 7-1/4 inches wide by 9-1/2 tall.
Any ideas?
$pdf = new FPDF('P', 'in', 'letter');
$pdf->AddPage();
$pdf->SetFont('Arial','',10);
$pdf->Rect(.25,.25,8,10.5); // Draw encompassing rectangle
$pdf->Output();